Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Webservice problem

Former Member
0 Kudos

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

3 REPLIES 3

Former Member
0 Kudos

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/"*

0 Kudos

Hi Srinivas,

Where this should be done..in ABAP side or my .net application side.

Regards,

Srikanth.

Former Member
0 Kudos

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