Results 1 to 2 of 2

Thread: Help with Service Reference

  1. #1

    Thread Starter
    Fanatic Member daimous's Avatar
    Join Date
    Aug 2005
    Posts
    657

    Help with Service Reference

    Hi All..Im developing a windows application that must use a web service. I used 'Add Service Reference' to add the service and was able to add it to my project. But i'm wondering if how can i get the service reference address/url and change it. Any help please..Thanks!

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

    Re: Help with Service Reference

    Hey,

    Once you have created the web reference, the reference itself should have been entered into your applications app.config file. In there you can edit it to be whatever you want.

    Bear in mind, that if you change the url, the web service needs to have the same contract as the one you previously configured, or it will not work correctly

    Hope that helps!!

    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