aspose 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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Web Services
Reply 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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: http://www.w3.org/2005/08/addressing/soap/fault
 
Similar Threads
Throwing Fault
Did not understand "MustUnderstand" header(s)
How to set security mode in a Java client code
Getting error while calling the .net web service from java code.