This discussion is archived
2 Replies Latest reply: Oct 30, 2013 12:55 PM by Francis RSS

Error in Header part while invoking https service

Francis Newbie
Currently Being Moderated


Hi All,

I am trying to invoke my cleints Hpps service using http binding adapter, Code compilition and depolying is success, but while passing Input and testing I am facing below error. Even I also passed Header part  as a hardcoded while invoking a webservice , I tried with  both (application /soap+xml) and

(text/html), But still i am facing same error

 

<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">

   <env:Header/>

   <env:Body>

      <env:Fault>

         <faultcode>env:Server</faultcode>

         <faultstring>oracle.fabric.common.FabricInvocationException: Unable to invoke endpoint URI "https://sso.xxxxxxxxxx/xxxxxx/xxxxxxxxx/xxxxxxxx/13/usernamemixed" successfully due to: javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Bad response: 415 Cannot process the message because the content type 'text/xml; charset=UTF-8' was not the expected type 'application/soap+xml; charset=utf-8'. from url https://sso.xxxxxxxxxx/xxxxxx/xxxxxxxxx/xxxxxxxx/13/usernamemixedhttps://sso.xxxxxxxxxx/xxxxxx/xxxxxxxxx/xxxxxxxx/13/usernamemixedhttps://sso.integ.identity.vertafore.com/adfs/services/trust/13/usernamemixed</faultstring>

         <faultactor/>

         <detail>

            <exception>Unable to invoke endpoint URI "https://sso.xxxxxxxxxx/xxxxxx/xxxxxxxxx/xxxxxxxx/13/usernamemixedhttps://sso.xxxxxxxxxx/xxxxxx/xxxxxxxxx/xxxxxxxx/13/usernamemixedhttps://sso.integ.identity.vertafore.com/adfs/services/trust/13/usernamemixed" successfully due to: javax.xml.soap.SOAPException: javax.xml.soap.SOAPException: Bad response: 415 Cannot process the message because the content type 'text/xml; charset=UTF-8' was not the expected type 'application/soap+xml; charset=utf-8'. from url https://sso.xxxxxxxxxx/xxxxxx/xxxxxxxxx/xxxxxxxx/13/usernamemixedhttps://sso.xxxxxxxxxx/xxxxxx/xxxxxxxxx/xxxxxxxx/13/usernamemixedhttps://sso.xxxxxxxxxx/xxxxxx/xxxxxxxxx/xxxxxxxx/13/usernamemixedhttps://sso.integ.identity.vertafore.com/adfs/services/trust/13/usernamemixed</exception>

         </detail>

      </env:Fault>

   </env:Body>

</env:Envelope>

Please help me in resolving this....

Regards

Francis

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points