cancel
Showing results for 
Search instead for 
Did you mean: 

Webservice doesn't work with: soap-env:mustUnderstand="1"

joan_ayala
Participant
0 Kudos

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">
			<a href="http://soades.upc.edu:8193/EconomiaFinances/InformacioPersona" TARGET="test_blank">http://soades.upc.edu:8193/EconomiaFinances/InformacioPersona</a>
		</wsa:To>
		<wsa:From xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing">
			<wsa:Address><a href="http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous" TARGET="test_blank">http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</a></wsa:Address>
		</wsa:From>
		<wsa:ReplyTo xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing">
			<wsa:Address><a href="http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous" TARGET="test_blank">http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</a></wsa:Address>
		</wsa:ReplyTo>
		<wsa:FaultTo xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing">
			<wsa:Address><a href="http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous" TARGET="test_blank">http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</a></wsa:Address>
		</wsa:FaultTo>
		<wsa:Action soap-env:mustUnderstand="1" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing"><a href="http://comprovacio.ws.upcnet.com/InformacioPersonaImpl/consultaCNRequest" TARGET="test_blank">http://comprovacio.ws.upcnet.com/InformacioPersonaImpl/consultaCNRequest</a></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 !!!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member

Hi,

You can not modify the SOAP Request just like that. But it seems that your provider does not understand the WS-Addressing protocol properties. If this is synchrnous WS call ,you can try via soamanager to eclude addressing protocol via SOAMANAGER transaction.

Find your logical port , go to Messaging Tab and set Message ID Protocol to "suppressTransfer".

Best Regards,

Desi

joan_ayala
Participant
0 Kudos

10 points for you Desislava, that was the perfect answer !!!

thank you so much

Former Member
0 Kudos

This was really a help full solution for Paymetric Detokenization configuration with ERP..

Answers (1)

Answers (1)

shahbhat
Product and Topic Expert
Product and Topic Expert
0 Kudos

I am getting the same 'MustUnderstand' error for standard BP Replication consumer proxy, I tried the 'SuppressTransfer' in the logical port definition but I am still getting the error, any ideas? Here's the question I posted with more details and error logs:

BP Replication [CO_COD_UTIL_BP_REPLICATION] Error - soap:MustUnderstand | SAP Community

Thanks.