
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Using SAP Web Service from WSDL File
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.
Advertisements