简体   繁体   中英

how to access webservice deployed in remote server

Please help me , how to add web service which is deployed in remote server. externally i unable to access that service..in that remote server only that service will run but we don't have Ms.net Environment to add service to my application in that server.

So please guide me how to add that web service to my application ,not accessig externally that service URl, internally Executing that URl. How can i add that service to my application on my developer PC ?

To add a web reference you need to have access to the WSDL file.

You need to do this in 2 steps:

  • First add a web reference to your project based on the WSDL
  • Then change the URL of the web reference to match the address of the external service

You can move service URL to web config please refer here.

http://forums.asp.net/p/1268077/2388602.aspx

But if your IP address changes too often (Dynamic IP) I think better your remote network configuration should be changed to have some sort of redirection to your Dynamic IP via a Static IP in your outside network so you can give that Static IP as service URL.

So you don't have to change the web config even too often.

Anyway you Should get advice from a network administrator.

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