' oicbasics: Testing of Calculator Integration | SOAP Connection
March 3, 2019

Testing of Calculator Integration | SOAP Connection

In the previous blog we have seen how to develop Integration having SOAP connection. Now in this blog we will see how to test it.
(Integration Name: Calculator Integration)


Complexity : None

Prerequisite : SoapUI Tool


Step 1 : Activate the developed integration , then click Activate when prompted



Step 2 : Once the Integration get activated, copy the WSDL URL that popup at top of screen.

[UPDATE ] : Due to recent update , you may not see the Popup. So to get the URL, just hover over the 🟢 ACTIVE --> then click RUN --> click METADA LINK and then Copy the END POINT URL



Step 3 : Now open SoapUI tool and then click on SOAP icon and then paste the above copied WSDL URL and then click Ok



Step 4 : Add timestamp & basic authentication (Username Token) in Header of request payload and then run the request.

Note : In basic authentication you have to pass your OIC Instance user id & password



Congratulation! you have successfully configured and tested an Integration having SOAP Connection.

10 comments:

  1. Hi Amit, I am not getting the header section with the username token details in the request xml in SOAPUI. Can you help to fix it.

    ReplyDelete
    Replies
    1. Hi San,
      Please put cursor inside HEADER opening and closing tag
      and then Right Click and then click Add UserNameToken , similarly Add Timestamp.

      Delete
  2. When I am right clicking and adding UserNameToken, it is showing request is missing username and password. Can you help me to fix it.

    ReplyDelete
    Replies
    1. Pass your OIC Instance Username and Password after adding UserNameToken . Please check last step and it’s image 👍

      Delete
    2. and if it didn’t get resolve , please connect me through email 👉kabiryadavinbox@gmail.com

      Delete
  3. Hi kabir,once the Integration get activated...not able to find the wsdl url in the popup..can u please help me out

    ReplyDelete
    Replies
    1. please check above step -2 [UPDATE] part. This will resolve your problem

      Delete
  4. Hi kabir,

    I got this error while run in soap ui after adding username token and time stamp. can u hepl me out.

    """
    HTTP/1.1 200 OK
    Date: Mon, 11 Jul 2022 10:37:09 GMT
    Content-Type: text/xml; charset=UTF-8
    Transfer-Encoding: chunked
    Connection: keep-alive
    X-ORACLE-DMS-ECID: 409078d1-0917-4abb-aee8-3e8ea45c4d05-000e1406
    X-ORACLE-DMS-RID: 0
    Strict-Transport-Security: max-age=63072000; includeSubDomains; preload

    2022-07-11T10:37:09Z2022-07-11T10:42:09Z5
    """

    ReplyDelete
    Replies
    1. This is not an error , 200 OK -- it is a successful message 😋. To see the output click on XML (check STEP 4 Image)

      Delete
  5. Hi Kabir,
    I am receiving 401 unauthorized error while trying to call through SOAP UI. I'm using the same user/password I use to access OIC. I must setup something in OCI or OIC in order to successfully make this invoke?

    ReplyDelete

If you have any doubts, Please let me know.

Top