How to generate proxy class from wsdl/asmx ?

Let us see here ” How to generate proxy class from wsdl/asmx ?”. It is very simple and  useful for developers to work with  webservice and asp.net. Follow the  below given steps to  achieve this.It will help developers to work with webservices with out using web-reference option in asp.net.

1) install WSE3.0 from this link “http://www.microsoft.com/en-us/download/confirmation.aspx?id=14089”,if you are not installed already (it is just for installing webservices instance in your machine) .

2)open command prompt (cmd) -> go to this dir ‘C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin’

3) Then paste command like this ‘ wsdl /language:C# /out:Proxy.cs http://web-Service.wsdl’

note:- ‘http://web-Service.wsdl’ is the actual path of your wsdl.

4) your proxy class Proxy.cs will be get generated in the location  ‘C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin’


like this you can generate the proxy class in other languages also.

 

— thank you !!!!!!

 

Leave a Reply

Your email address will not be published. Required fields are marked *