I am trying to consume a web service provided by client in my java application. I used axis2-1.4.1 to generate the stub classes from the given WSDL. But when I am trying to call any of the methods from the stub class, I get below error. I am new to web service and stuck in this issue from last 2 days :-( Any help would be really appreciated.
</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/fault</a:Action></s:Header><s:Body><s:Fault><s:Code><s:Value>s:Sender</s:Value><s:Subcode><s:Value>a:ActionMismatch</s:Value></s:Subcode></s:Code><s:Reason><s:Text xml:lang="en-US">**The SOAP action specified on the message, '', does not match the HTTP SOAP Action**, 'https://consumerconnectws.tui.transunion.com/ICC2/GetServiceProduct'. </s:Text></s:Reason><s:Detail><a:ProblemHeaderQName>a:Action</a:ProblemHeaderQName></s:Detail></s:Fault></s:Body></s:Envelope>"
Must Understand check failed for header http://www.w3.org/2005/08/addressing : Action
org.apache.axis2.AxisFault: Must Understand check failed for header http://www.w3.org/2005/08/addressing : Action
at org.apache.axis2.engine.AxisEngine.checkMustUnderstand(AxisEngine.java:102)
When I checked the request headers in logs, I noticed the SOAP action is passed content type header like below. I tried same thing with version axis2-1.5.6 but no luck.
"Content-Type: application/soap+xml; charset=UTF-8; action="https://consumerconnectws.tui.transunion.com/ICC2/GetServiceProduct"[\r][\n]"