Consume SAP Webservices in .Net application
Sorry for newbie question, I am new to this SAP .net integration world; please excuse me if this question is answered elsewhere.
We are working on POC to Integrate SAP and .Net, the challenge is to develope a frontend using .net which consumes the SAP Service Registry webservices.
So far we manage to install SAP ES Explorer for Visual Studio 2008(VS) and added web services reference using Services Registry URL http://sr.esworkplace.sap.com/ServicesRegistrySiService/ServicesRegistrySiPort
After that we were able to add webservices as Web references in VS, but we are struck at this point.
We want simple customer search by name or id, which webservice we should use, what parameter we need to pass and how to handle the results?
Can you tell us how to achieve this? Any sample code will be much appreciated.
We are using .net with c# and VS2008 as IDE and accessing SAP Service Registry webservices.
Any information is much appreciated.
Thanks and Regards,
Welcome to SAP Community Forum,
You can use "[CustomerERPBasicDataByIDQueryResponse_In_V2|http://esworkplace.sap.com/socoview(bD1lbiZjPTAwMSZkPW1pbg==)/render.asp?sap-unique=074630&sap-params=aWQ9M0U1QTI4RjMzRjcyMTFEQzJCMjQwMDBGMjBEQUM5RUYmcGFja2FnZWlkPURFMDQyNkREOUIwMjQ5RjE5NTE1MDAxQTY0RDNGNDYyJm1vZGU9]" service Endpoint wsdl is (HUP system): http://erp.esworkplace.sap.com/sap/bc/srt/wsdl/bndg_DF53033861BA13F18F0400145E5ADE89/wsdl11/allinone/ws_policy/document?sap-client=800
Once you create service refrence then use class created by .Net framework to call this service. Refer to this [guide|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/905c28e4-38a9-2910-4db5-d39e4fcbf78b?quicklink=index&overridelayout=true] for further detail.