Skip Navigation
Performing a simple Connect Web Services for SOAP request
Answer ID 9830   |   Last Review Date 03/12/2019

What are the steps for performing a simple Connect Web Services for SOAP request to verify the API is up and running?


Oracle B2C Service (OSvC), All Supported versions


First you would need to make sure the CWS for SOAP API is enabled on your site and on the profile associated to your staff account:

Answer ID 8270: Enabling Connect for Web Services API
Answer ID 4832: Connect Web Services for SOAP access

If everything is set-up correctly, you should be able to access the CWS for SOAP API.

The next step would be to download and install SoapUI, which is an advanced API testing tool that is also used by Oracle B2C Service technical support to troubleshoot potential API issues reported by customers.

Before proceeding with the request you should make sure SoapUI is using a supported TLS version. Oracle B2C Service sites, including all the included public APIs cannot be accessed using TLS 1.0. By default, SoapUI is using TLS 1.0 so you would have to configure it to use TLS 1.2. Please review the following answer for step by step instructions on doing so:

Answer ID 8387: Enforce TLS v1.2 in SoapUI

Now we can finally proceed with the SOAP request.

Open SoapUI and Import the WSDL (Web Service Description Language) into SoapUI by going to File -> New Soap Project. The following URL should be entered in the "Initial WSDL" field, based on your Oracle B2C Service product version:

May 2017 and below: https://<your_site>/cgi-bin/<your_interface>.cfg/services/soap?wsdl
August 2017 and above: https://<your_site>/services/soap/connect/soap?wsdl


You have now created a SOAP project. Expand the "Get" operation on the Navigator (left side) and open "Request 1". Now replace the existing XML of the request with the sample XML available in the documentation:

<soapenv:Envelope xmlns:soapenv="">
        <ns7:ClientInfoHeader xmlns:ns7="" soapenv:mustUnderstand="0">

            <ns7:AppID>Basic Get</ns7:AppID>


        <wsse:Security xmlns:wsse="" mustUnderstand="1">



                <wsse:Password Type=""> connecttest**</wsse:Password>





        <ns7:Get xmlns:ns7="">

            <ns7:RNObjects xmlns:ns4="" xmlns:xsi="" xsi:type="ns4:Contact">

                <ID xmlns="" id="1" />

                <ns4:Notes />


            <ns7:RNObjects xmlns:ns4="" xmlns:xsi="" xsi:type="ns4:Incident">

                <ID xmlns="" id="1" />

                <ns4:Severity />







** Make sure to replace the username (comland) and password (connecttest) with the credentials of your Oracle B2C Service staff account.

Finally, click the green arrow next to the URL to run the request (shortcut key Alt+Enter). You should see the response on the right.

For more information, please see the Connect Web Services for SOAP API documentation:
Answer ID 5169: Technical Documentation and Sample Code

Notify Me
The page will refresh upon submission. Any pending input will be lost.