0

HI I am trying to run a webservice on port 9999

The webservice runs perfectly, via http://etc.service.asmx
I see the webservice and am able to run it nicely,

the problem comes in on adding the webservice in vs 2008 , it is unable to correctly attach the web service
this is the log of the error that vs2008 produces

Metadata contains a reference that cannot be resolved: 'http://vs2008.org/email-catcher/service.asmx?wsdl'.
There was an error downloading 'http://vs2008.org/email-catcher/service.asmx?wsdl'.
Unable to connect to the remote server
A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 162.122.148.120:80
Metadata contains a reference that cannot be resolved: 'http://vs2008.org:9999/email-catcher/service.asmx'.
Metadata contains a reference that cannot be resolved: 'http://vs2008.org:9999/email-catcher/service.asmx'.
If the service is defined in the current solution, try building the solution and adding the service reference again.

The question is like this am I able to attach the web service to the port or am I forced to use a common scanned port 80 ?

thanks
--------------------------------------------------------------------------------
a0011010011

3
Contributors
11
Replies
12
Views
8 Years
Discussion Span
Last Post by Ramy Mahrous
0

No that did not work
the problem is that the service is looking for the port 80

Metadata contains a reference that cannot be resolved: 'http://vs2008.org/email-catcher/service.asmx?wsdl'.

It should read
'http://vs2008.org:9999/email-catcher/service.asmx?wsdl'.
and not
'http://vs2008.org/email-catcher/service.asmx?wsdl'.

this is a visual studio problem but its a coding problem with vs2008 by vs 2003 - 2005 -2008 all versions have this problem in 2003 there was a workaround but this is no longer avalable in the newer version

0

a0011010011 is right, the code clearly shows you trying to connect on port 80, so no, it wouldnt resopond if its setup to run on a different port - either run it on port 80 for testing your code, or change the code to look for the right port.

0

So thats the final chapter , no web service on port other then port 80 ?

thats lame from vs2008

0

No, its just thats the default.. If you havent told it to run on something else, then it wont.

0

well the wizard in the vs 2008 , I treid to make the connection with that

manually in code is like non existant tutorials or examples

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.