Problem in doing Add Web Reference (http://.../service.asmx)
I am trying to Add a Web Reference to http//.../service.asmx file in my project.
- First it gives me an error:
"... Unable to download following files from:开发者_如何学C http://.../service.asmx?wsdl Do you want to skip these files and continue ..."
When i click 'Yes', the proxy gets created with .disco and other reference files, but does not adds .wsdl file.
- Other option i tried, i used http//.../service.asmx?wsdl to add web reference. In this case, i dont get any error, but the proxy gets added with .wsdl and reference files, but it does not adds .disco file.
Can someone help me on why this is happening? I thought, adding web reference to .asmx should add everything under the proxy.
Make certain the service is running. Right-click the .ASMX file in Solution Explorer and use "View in Browser". Then try the "Add Web Reference".
精彩评论