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

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

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.

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

thats lame from vs2008

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

So any Ideas on how to do this manually ?

Did you look at the webservice code? What have you tried?

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

Did you post that in Microsoft forums?!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.