简体   繁体   中英

Visual studio 2010 consume webservice in windows application (vb.net)

I am trying to consume a web service in windows application but I am having some challenges. I did that by right clicking on References -> Add Service Reference -> Advance -> Add web Reference . When I enter the url of the webservice ( http://server/webserviceName?wsdl ), it rather opens the file download dialog box asking me to save or cancel , so I am not able to proceed. Please any ideas? Kindly see screen shots

VS2010错误

I tried this and it worked.It was a Java web service. I added the ServiceModel as part of the references. References -> Add Reference -> ServiceModel (under the .Net tab)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM