Monday, July 6, 2020

Authentication Exception While Invoking Soap Integrations In OIC

Problem:

While invoking the SOAP Integration in OIC, receiving below error

Error message is - javax.xml.ws.WebServiceException: Error while dispatching SOAP message to the endpoint https://*******/ic/ws/integration/v1/flows/soap/SAMPLETEST/1.0/:javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Message send failed: Missing WWW-Authenticate header.
===== reqeust ========
Content-Type:text/xml; charset=UTF-8
Content-Length:4130
SOAPAction:"process"
X-Oracle-OIC-Flow:1

<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Header>
<instra:ReferenceParameters env:mustUnderstand="0" xmlns:instra="http://xmlns.oracle.com/sca/tracking/1.0">
<instra:tracking.integrationSuite.parent.ctx>1.5057432e-51c7-41f3-968b-1a35f0df2a17-00019995;vPs2CEo0CCp7DE</instra:tracking.integrationSuite.parent.ctx>
</instra:ReferenceParameters>
</env:Header>
<env:Body>
<client:process xmlns:ns0="http://www.oracle.com/XSL/Transform/java/oracle.tip.dvm.LookupValue" xmlns:plnk="http://schemas.xmlsoap.org/ws/2003/05/partner-link/" xmlns:ns3="http://www.oracle.com/XSL/Transform/java/com.bea.wli.sb.resources.icsxpathfun:Application Error

Solution:

By default SOAP connection would have Username Password Token Authentication, Change it to Basic Authentication.


1 comment:

  1. Hi Prabhakaran,

    Our SOAP service doesn't have any authentication. But we are getting the similar error. What should be the possible solution?

    javax.xml.ws.WebServiceException: Error while dispatching SOAP message to the endpoint

    ReplyDelete