OSB MustUnderstand SOAP fault
810488Nov 19 2010 — edited Jan 12 2011Hi,
I was trying to apply the oracle Predefined auth.xml WS-policy to the osb proxy service and that will query a web service that is running on separate weblogic server, but I'm getting MustUnderstand SOAP fault does anyone seen this fault in OSB. Do I have to do any configuration changes on WLS?
Proxy configured with:
General tab -> WSDL based proxy service, this wsdl doesn't have ws-policy definitions inside.
Transport tab -> Get all headers = no
HTTP Transport tab -> HTTPS Required = No / Authentication = Basic
Operation tab -> Enforce WS-I Compliance = not checked / Selection Algorithm = SOAP Body Type
Message Content tab -> default settings
Policy -> Added Auth.xml(predefined) policy to request policies.
Security tab -> Process WS-Security header = No / Custom Authentication settings = none
I'm using the following SOAP Message .
when I change the mustunderstand="false" then it goes through.
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:data="http://eadf.ites.unsw.edu.au/data">
<soap:Header>
<wsse:Security soap:mustUnderstand="true" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"><wsse:UsernameToken wsu:Id="UsernameToken-3" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
<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">weblogic</wsse:Password>
<wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">rIlOSF+/OECwu9H/qWujzA==</wsse:Nonce><wsu:Created>2010-11-16T06:12:17.273Z</wsu:Created></wsse:UsernameToken></wsse:Security>
</soap:Header>
<soap:Body>
<data:getPersonCourseRequest>
<data:Request>
<data:Common>
<data:TransactionID>?</data:TransactionID>
<data:UserID>?</data:UserID>
<data:PersonID>2113446</data:PersonID>
</data:Common>
<!--Optional:-->
<data:Filter>
<data:InstitutionCode>UNSWA</data:InstitutionCode>
</data:Filter>
</data:Request>
</data:getPersonCourseRequest>
</soap:Body>
</soap:Envelope>
I'm getting the following error
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope">
<env:Header>
<env:NotUnderstood qname="wsse:Security" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"/>
</env:Header>
<env:Body>
<env:Fault>
<env:Code>
<env:Value>env:MustUnderstand</env:Value>
</env:Code>
<env:Reason>
<env:Text xml:lang="en">One or more mandatory SOAP header blocks not understood</env:Text>
</env:Reason>
</env:Fault>
</env:Body>
</env:Envelope>}
Thanks
Vick