Adding a web reference without access to the server.....

Last post 05-14-2008 12:05 PM by vishalbade. 1 replies.

Sort Posts:

  • Adding a web reference without access to the server.....

    05-14-2008, 10:01 AM
    • Loading...
    • chrisexv6
    • Joined on 06-23-2004, 9:44 AM
    • Posts 18

    Have searched around but havent seen an exact scenario like this.

    There exists a box with web services on it that its not accessible to my local machine.  I do development ONLY on my local machine, then I push the code to staging and production environments.  The staging and production web servers CAN access the web services box, but since my machine cannot I cannot use the "Add Web Reference" wizard to add the reference (the URL just times out, of course).

     
    Is there any way to manually add the web reference to the project, so that when the code gets pushed out everything is ready to go?

    Thanks in advance.

     
    -Chris
     

  • Re: Adding a web reference without access to the server.....

    05-14-2008, 12:05 PM
    Answer

    I guess the other alternative would be use WSDL.exe to generate a proxy class manually. http://msdn.microsoft.com/en-us/library/7h3ystb6(VS.71).aspx

    As you can see when you say add web reference, the only options are 1. add reference to service within this solution. 2. Local machine 3 UDDI

     

    Vishal
Page 1 of 1 (2 items)