ASP.NET Web Service wsdl.exe utility

2013. 9. 10. 17:45Scrapbook/개발 및 프로그래밍

반응형

wsdl을 cs 생성하려다 반나절 삽질. 그러다 발견한...

모르면 손발에 머리까지 고생이다.

인터넷아 고맙다.

 

wsdl.exe Utility

proxy 클래스를 자동으로 생성한다.

ex) with the .asmx file as the parameter:

wsdl http://localhost/.../CreditVerify.asmx /n:CreditVerifyProxy /out:CreditVerifyProxy.cs

ex) with the .wsdl document as the parameter:

wsdl http://localhost/.../CreditVerify.asmx?WSDL /n:CreditVerifyProxy /out:CreditVerifyProxy.cs

ex) language selection:

wsdl /language:VB http://localhost/.../CrditVerify.asmx?WSDL /n:CrditVerifyProxy

/out: CreditVerifyProxy.cs

ex) protocol selection:

wsdl http://localhost/.../CreditVerify.asmx /n:CreditVerifyProxy /out:CreditVerifyProxy.cs

/protocol:HttpGet

반응형