Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

http://www.w3.org/2005/08/addressing/soap/fault

 
Nisha Trivedi
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to create a client code to consume a web service but getting this SOAP fault error irrespective of any wsse security i am giving in the header.
This fault string is returned even if I give no header in the SOAP message.
I am new to web services, please guide me with this error....

<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:a="http://www.w3.org/2005/08/addressing">
<s:Header>
<a:Action s:mustUnderstand="1">http://www.w3.org/2005/08/addressing/soap/fault</a:Action>
</s:Header>
<s:Body>
<s:Fault>
<s:Code>
<s:Value>s:Sender</s:Value>
<s:Subcode><s:Value xmlns:a="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">a:FailedAuthentication</s:Value></s:Subcode>
</s:Code>
<s:Reason><s:Text xml:lang="tr-TR">Access is denied.</s:Text></s:Reason>
</s:Fault>
</s:Body>
</s:Envelope>
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic