Hi I need to invoke web methods from http://altest.nishit.net/magento-01/api/v2_soap/?wsdl. But we should not create web reference for this because the URL will vary based on our partners. For example the URL is http://altest.nishit.net/magento-01/api/v2_soap/?wsdl
for partner Nishit it may be http://altest.Krish.net/magento-01/api/v2_soap/?wsdl for some other partner.... So I need to make soap request for the method with parameter without creating .Net web reference. How to do this? Please help me.
A WCF service has to have some base address where it exposes its endpoints. The client will then connect to one of these endpoints using a proxy. Please refer to this article for more information about consuming a WCF service:
http://geekswithblogs.net/MainaD/archive/2008/02/04/119287.aspx
Please 'Mark as Answer' if this post helped you.
Marked as answer by Dino He - MSFT on Apr 11, 2012 02:00 AM
Mr.Nobody
0 Points
10 Posts
How to send a SOAP request without creating web reference
Apr 04, 2012 10:55 AM|LINK
Hi I need to invoke web methods from http://altest.nishit.net/magento-01/api/v2_soap/?wsdl. But we should not create web reference for this because the URL will vary based on our partners. For example the URL is http://altest.nishit.net/magento-01/api/v2_soap/?wsdl for partner Nishit it may be http://altest.Krish.net/magento-01/api/v2_soap/?wsdl for some other partner.... So I need to make soap request for the method with parameter without creating .Net web reference. How to do this? Please help me.
mm10
Contributor
6399 Points
1184 Posts
Re: How to send a SOAP request without creating web reference
Apr 04, 2012 08:30 PM|LINK
A WCF service has to have some base address where it exposes its endpoints. The client will then connect to one of these endpoints using a proxy. Please refer to this article for more information about consuming a WCF service: http://geekswithblogs.net/MainaD/archive/2008/02/04/119287.aspx