File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes http://www.w3.org/2005/08/addressing/soap/fault Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "http://www.w3.org/2005/08/addressing/soap/fault" Watch "http://www.w3.org/2005/08/addressing/soap/fault" New topic
Author

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

Nisha Trivedi
Greenhorn

Joined: Sep 07, 2012
Posts: 2
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>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: http://www.w3.org/2005/08/addressing/soap/fault