11-21-2008 1:03 PM
When i try to use a webservice from my .net application, i get the following error
Exception: u201CPossible SOAP version mismatch: Envelope namespace http://schemas.xmlsoap.org/wsdl/ was unexpected. Expecting http://schemas.xmlsoap.org/soap/envelope/.u201D
This webservice was generated from an RFC function module.
what is the solution.
Thanks for your help in advance.
Regards,
Srikanth.
Edited by: Srikanth Grandhe on Nov 21, 2008 2:22 PM
11-21-2008 1:32 PM
Check SAP Note .. 738912
Here instead of http://schemas.xmlsoap.org/wsdl/ ... use
http://schemas.xmlsoap.org/soap/envelope/.u201D
*Additional prefix declaration has to be added into <wsdl:definitions> element of main.wsdl: For soap
binding you have to add the following prefix declaration:
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/". For http and mime binding you have to add the following prefixes declarations: xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/http/"*
11-21-2008 1:35 PM
Hi Srinivas,
Where this should be done..in ABAP side or my .net application side.
Regards,
Srikanth.
03-10-2009 4:39 PM
The issue has been solved. Prior the SPS 14 the wsdl URL was the right one to be called. With SPS 14 and later (SOAMANAGER) the binding URL needs to be called directly