Application Development and Automation 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: 
Read only

Webservice problem

Former Member
0 Kudos
372

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
Read only

Former Member
0 Kudos
263

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

Read only

0 Kudos
263

Hi Srinivas,

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

Regards,

Srikanth.

Read only

Former Member
0 Kudos
263

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