Thursday, January 31, 2008

Calling SAP ESOA services from .NET

If you are calling a webservice from SAP ESOA world and are getting an InvalidOperationException then don't be surprised.
You just need to open the wsdl file and replace '' with '' and recreate the proxy. It should start working ....

According to a document on https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0421f9a-4c9e-2910-1085-a45f8e813324 SAP supports document style wsdl while Microsoft Visual Studio expects a RPC style wsdl and hence the runtime exception.

Hope this helps anyone who's struggling with calling SAP ESOA services from .NET world...

~Abhishek

No comments: