Resolve Exceptions While Invoking Oracle Integration From External Clients
If you receive an exception error while invoking Oracle Integration from an external client (for example, SoapUI), Oracle Integration requires a WSS username token. The WSS username token must be passed from an external client such as SoapUI.
A sample header with a WSS username token looks as follows:
<wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-
open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-
open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<wsu:Timestamp wsu:Id="TS-135B2A61F1A7AB1C3914919876769232">
<wsu:Created>2017-04-12T09:01:16.922Z</wsu:Created>
<wsu:Expires>2017-04-12T09:02:16.922Z</wsu:Expires>
</wsu:Timestamp>
<wsse:UsernameToken wsu:Id="UsernameToken-135B2A61F1A7AB1C3914919876702101">
<wsse:Username>weblogic</wsse:Username>
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-
token-profile-1.0#PasswordText">password</wsse:Password>
<wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-
message-security-1.0#Base64Binary">Jkyg2D3NCGPBs5q6j/jhQg==</wsse:Nonce>
<wsu:Created>2017-04-12T09:01:10.208Z</wsu:Created> </wsse:UsernameToken>
</wsse:Security>
To set the WSS username token:
-
Start SoapUI.
-
Click the AUTH tab.
-
Select Basic from the Add Authorization dialog, and click OK.
-
Complete the authorization credentials.
-
Right-click the payload and select the Add WSS Username Token and Add WSS–Timestamp options.
-
Specify the time in the Specify Time-to-Live value dialog, and click OK.