Soap UI Pro sends a URL with Junk values
Hi All,
I have a request XML defined but when I try to execute it, the tool adds "{}" and "/" to url in action tag (highlighted in bold below). Due to this I am getting error in response. I have also attached the settings of the project.
Version: 5.1.2, cant update it due to restrictions org wise.
Req XML:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:vh="http://XXXX/soap/header/v-header-v1-8.xsd" xmlns:evt="http://XXXX/soap/header/ev-test-header-v1-1.xsd">
<soapenv:Header>
<wsse:Security>
<wsse:UsernameToken>
<wsse:Username>ABC</wsse:Username>
<wsse:Password>XYZ</wsse:Password>
</wsse:UsernameToken>
</wsse:Security>
<wsa:To>URL</wsa:To>
<wsa:MessageID>urn:123456</wsa:MessageID>
<vh:MemberCode>ABCD</vh:MemberCode>
<vh:BranchCode>1234</vh:BranchCode>
<wsa:Action>http://HOST/Verify</wsa:Action></soapenv:Header>
On execution the request changes to:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsa="http://www.w3.org/2005/08/addressing" xmlns:vh="http://XXXX/soap/header/v-header-v1-8.xsd" xmlns:evt="http://XXXX/soap/header/ev-test-header-v1-1.xsd">
<soapenv:Header>
<wsse:Security>
<wsse:UsernameToken>
<wsse:Username>ABC</wsse:Username>
<wsse:Password>XYZ</wsse:Password>
</wsse:UsernameToken>
</wsse:Security>
<wsa:To>URL</wsa:To>
<wsa:MessageID>urn:123456</wsa:MessageID>
<vh:MemberCode>ABCD</vh:MemberCode>
<vh:BranchCode>1234</vh:BranchCode>
<wsa:Action>{http://schemas.xmlsoap.org/wsdl/http/}//HOST/Verify
This has been resolved by setting the "WS-Addressing" property to False.