Results 1 to 4 of 4

Thread: [RESOLVED] webservice question

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jan 2007
    Posts
    307

    Resolved [RESOLVED] webservice question

    quick question.
    I added a web reference to my webservice and works great locally.
    However when i publish it then it bombs out because it doesnt like the localhost as the server name..

    What is best way to migrate that reference over to the server?

  2. #2
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: [RESOLVED] webservice question

    Hey,

    You have marked this as resolved, so I am assuming that you found the answer.

    Just to confirm, did you edit the web service reference in the web.config file of your application?

    Gary

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Jan 2007
    Posts
    307

    Re: [RESOLVED] webservice question

    Was busy last night when i closed this so didnt have time to put up the answer.
    Yeah, it was more of a user error

    But yeah I did see the information in the web config.
    My solution was that i published the web service to the server and then just added the reference after I could find it on the server.

    Kinda backwards but it worked

  4. #4
    PowerPoster gep13's Avatar
    Join Date
    Nov 2004
    Location
    The Granite City
    Posts
    21,963

    Re: [RESOLVED] webservice question

    Hey,

    Yip, that is one way of doing it

    Normally, it is just the server name that changes, the rest of the URL stays the same. Normally I just browse to the web service in Internet Explorer, or the like, make sure it is there, and then copy/paste the url into the web.config.

    Gary

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width