Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

SAP Web Services in ASP.net......

How do you make a SAP Web Service consumable in ASP.net C#?

We've in the process of trying to convert a lot of our function modules to Web Services but are having issues on the front end when trying to consume the web service in say Visual Studio. When I try to add a Web Reference with the URL provided by the SAP Web Service, all that is showing is the documentation for the created Web Service.

Former Member
Former Member replied

Definitely strange!

We have a couple of subtle differences on the URLs. Yours mentions "wsdl" (which is the webservices' description) and "sdef_" as prefix of the Z funtion module but not mine, compare:

  • http://onebase.hb.local:8000/sap/bc/srt/wsdl/sdef_Z_UPS_RATES_SVC.....

  • http://sapdev02.interno.um.edu.uy:1080/sap/bc/srt/rfc/sap/ZCM_OBTENER_CEDULA_DE_USUARIO?sap-client=100&wsdl=1.1

Just checked webservices's config in SAP and Tx SICF, and the only URL I can get is the one I mentioned, there's nothing similar to yours.

What version of ECC and Visual Studio do you have? (I'm using ECC 6.00 and VS2005)

Regards

Michael

0 View this answer in context
Not what you were looking for? Ask a question