Adding a Web Reference:
First, create a new Asp.net C# web application. Then right click on the project and select 'Add service Reference'.
After selecting 'Add Service Reference'. You will get a new window called 'Add Service Reference'. Click on 'Advanced' button.
Then, you will another window called 'Service Reference Settings'. Click on 'Add Web Reference' button.
Give your Magento hosted URL.Then click on 'Go' button to get the Magento Service.
There are two SOAP version in Magento. I have used version 2 here.
EX:
SOAP v1 url: http://Hostname/api/soap/?wsdl=1
SOAP v2 url: http://Hostname/api/v2_soap/?wsdl=
After selecting 'Add Service Reference'. You will get a new window called 'Add Service Reference'. Click on 'Advanced' button.
Then, you will another window called 'Service Reference Settings'. Click on 'Add Web Reference' button.
Give your Magento hosted URL.Then click on 'Go' button to get the Magento Service.
There are two SOAP version in Magento. I have used version 2 here.
EX:
SOAP v1 url: http://Hostname/api/soap/?wsdl=1
SOAP v2 url: http://Hostname/api/v2_soap/?wsdl=
3 Comments
This blog is so informative for providing valuable information about SMS API c# gateway integration. Thanks for sharing this blog.
ReplyDeleteReally well explain for Magento API soap call in C#. Thanks for this imaging steps. I'm working as a professional Magento developer and always find such a blogs to get the solutions of my queries. Thanks again.
ReplyDeleteI think SOAP API and its features along with SQL actually provide way for the best database connectivity.
ReplyDeleteSQL Server Load Soap Api