Hi friends,
I created a Webservice Consumer with the assistant, indicating the URL of my WSDL.
Then I created the logical port in SOAMANAGER, using the same URL.
When I test the Webservice Consumer I get the following error:
SoapFaultCode:3 MustUnderstand headers:
[Action,
To] are not understood.
The XML petition to the Webservice is:
<soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/"> <soap-env:Header> <sap:Trace xmlns:sap="http://www.sap.com/webas/630/soap/features/runtime/tracing/"> <sap:TraceLevel>Error</sap:TraceLevel> <sap:TraceContext> <TRC_PATTERN>WSTEST</TRC_PATTERN> <TRC_KEY>4D635EAAEFA70022E10000009353966F</TRC_KEY> <TRC_SSID>EDU_02</TRC_SSID> <TRC_USER>DES005</TRC_USER> <TRC_TS>20110223153559</TRC_TS> <TRC_COUNTER>99</TRC_COUNTER><TRC_EXTERN></TRC_EXTERN><TRC_REQBASED></TRC_REQBASED><TRC_PPVERS>2</TRC_PPVERS> </sap:TraceContext> </sap:Trace> <wsa:To soap-env:mustUnderstand="1" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"> http://soades.upc.edu:8193/EconomiaFinances/InformacioPersona </wsa:To> <wsa:From xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"> <wsa:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:Address> </wsa:From> <wsa:ReplyTo xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"> <wsa:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:Address> </wsa:ReplyTo> <wsa:FaultTo xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"> <wsa:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:Address> </wsa:FaultTo> <wsa:Action soap-env:mustUnderstand="1" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing">http://comprovacio.ws.upcnet.com/InformacioPersonaImpl/consultaCNRequest</wsa:Action> <wsa:MessageID xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing">uuid:4d635ec2-efa7-0022-e100-00009353966f</wsa:MessageID> </soap-env:Header> <soap-env:Body> <n0:consultaCN xmlns:n0="http://comprovacio.ws.upcnet.com" xmlns:prx="urn:sap.com:proxy:EDU:/1SAI/TAS65AC049944F09BF8D2C4:701:2010/02/19"> <n0:cn>joan.ayala</n0:cn> </n0:consultaCN> </soap-env:Body></soap-env:Envelope>
People from my systems team, told me that if instead of having:
soap-env:mustUnderstand="1"
I had:
soap-env:mustUnderstand="0"
Then, It would work properly. Does anybody know if it is possible to change this value of the XML ?
Or any other solution can be helpful. Thanks !!!