Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > URL change when adding asmx file in VS.Net

Reply
Thread Tools

URL change when adding asmx file in VS.Net

 
 
Ola Johansson
Guest
Posts: n/a
 
      10-13-2003
I have built a webservice and when i add a web reference to my
localhost everything works fine. When i put the webservice on our test
server and try to add a webreference to it i got some problems.

Our test server has a DNS name that i must use when i add the
reference and that works fine. I get the methods of the webservice and
so on. But it changes the url to another DNS name for some reson. And
when i click ok in the "Add Webreference" dialog i says it cant
download the wsdl file.

Anyone know if there is some known problem that it changes the URL? I
guess it is some problems with the network configuration here at my
company but its ALOT of work to get in touch with thoose people and
make them change anything and so on.

I can say that i've once tried to add the webservice as localhost and
then manually changes all the localhost to the URL to our test servers
and that worked. But it changes back to localhost after a while for
some reason .. gahh sometimes visual studio make it to "easy" for you
...

Anyone have any ideas?

/Ola
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Test .asmx file with web browser in remote site =?Utf-8?B?ZGF2aWQ=?= ASP .Net 2 04-12-2009 07:58 AM
Change ASMX WS to WCF for exiting client Saar Carmi ASP .Net 1 10-06-2007 01:12 PM
Calling ASMX from ASPX File? Sledge ASP .Net 1 08-11-2005 08:33 PM
referencing handler file within .asmx for webservice asptodotnet ASP .Net 1 11-18-2004 03:43 PM
Is it a mistake to put passwords in an .asmx.cs file on the web server? John ASP .Net 6 06-25-2004 08:24 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57