My service is running fine If I use it via my client application. I am using same wsdl to load in SOAPUI. It has successfully created sample tests for each method. I want to send a request and it should generate response accordingly. I can see the correct Endpoint address in request properites. It automatically has generated a SOAP XML. If I try to run it to get response. It is giving me following 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>a:DestinationUnreachable</s:Value>
</s:Subcode>
</s:Code>
<s:Reason>
<s:Text xml:lang="en-GB">The message with To '' cannot be processed at the receiver, due to an AddressFilter mismatch at the EndpointDispatcher. Check that the sender and receiver's EndpointAddresses agree.</s:Text>
</s:Reason>
</s:Fault>
I dont know where else to check whats going wrong here. Please can some one help me in this regard. I am using the SOAPUI4.0.1.
Issue is because the Request message is missing a To header. On the Message Editor, just below the request message window click on button WS-A
. Then select the checkbox Add default wsa:To
Now run your request and the service will run just fine.
Hope that helps.
Please mark it as the answer if it did resolve your issue.