Using SAP Web Service from WSDL file

SAPWSDLWeb Services

As you mentioned, you are integrating the web service in .NET, it’s going to be piece of cake. As Visual studio does most of the configuration part of you with a simple click.

Open your project, Click on Add Service Reference. Then specify the WSDL file shared by your client. Click OK.

This will create a proxy client for your project using the WSDL file, with all the web methods exposed by the web service. Just instantiate the proxy client and then you can go ahead and call them. Visual studio intellisense (auto -suggest) will help you with the exact definition of the web methods and parameters.

var serviceClient = new ServiceReferenceName.<Serivce class Name>();

 Also, configure the end points of the service in web.config.

raja
Published on 19-Dec-2017 12:51:26
Advertisements