473,395 Members | 2,006 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Webservice on port other than 80

Hi all,
I have a webservice that's running on a specific port (8003) in webserver
behind a firewall.
The service accesses a CC authorization service on the internet. We use a
proxy to get out to the internet.

We have a domain name registered for this webservice. So my WSDL gives me
the following:

http://ourdomain.com:8003/ProcessCC.asmx

But I can't access the service this way. I can access it when I remove the
":8003" but when I invoke my method from this service it submits the request
to

http://ourdomain.com:8003/ProcessCC.asmx/mytestmethod?

It tries to run for a few seconds and gives me the following error,

"The web server specified in your URL could not be contacted. Please check
your URL or try your request again."

Now when I remove the ":8003" from the submit url the service seems to work
fine.

I'm not sure why I can access it without the port number but the webservice
won't submit to a url without the port number. I'm at a loss with this one.

Any help is appreciated.

TIA,
Suresh.
Nov 23 '05 #1
1 10448
It is unclear how you try to access the service.
If you add the web ref in the VS, you need to go to the web ref wrapper and
change the port# manually. I have a webservice running on Apache with port
8080. I need to manually change my C# client's web ref wrapper even I put
8080 in the web ref url already.
M$ thinks all webservice runs on port 80.
Egghead

"Suresh" <Su****@discussions.microsoft.com> wrote in message
news:80**********************************@microsof t.com...
Hi all,
I have a webservice that's running on a specific port (8003) in webserver
behind a firewall.
The service accesses a CC authorization service on the internet. We use a
proxy to get out to the internet.

We have a domain name registered for this webservice. So my WSDL gives me
the following:

http://ourdomain.com:8003/ProcessCC.asmx

But I can't access the service this way. I can access it when I remove
the
":8003" but when I invoke my method from this service it submits the
request
to

http://ourdomain.com:8003/ProcessCC.asmx/mytestmethod?

It tries to run for a few seconds and gives me the following error,

"The web server specified in your URL could not be contacted. Please
check
your URL or try your request again."

Now when I remove the ":8003" from the submit url the service seems to
work
fine.

I'm not sure why I can access it without the port number but the
webservice
won't submit to a url without the port number. I'm at a loss with this
one.

Any help is appreciated.

TIA,
Suresh.

Nov 23 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: ffhansix | last post by:
Hi, I am having problems with generating a c# proxy class from a IBM websphere WSDL file, when running the wsdl.exe to create the c# proxy file command i recieve an error: Warning: one or...
1
by: Nalaka | last post by:
Hi, I am testing with Visual studio 2005, web projects. Situation: I have one solution with two web projects, created as file system projects. (I am tesing using the built in server, not IIS)...
7
by: Christian Wilhelm | last post by:
Hi! I'm trying to call a Java WebService out of a .net Client. There are two Methods, one Method requires one Parameter of type Parameter, the other Method requires one Parameter of type...
1
by: Monster | last post by:
is it possible to manually create and destroy a session object in a webservice? My original client and server were done with SOAP in c++ (isapi dll and mfc/atl). I managed to write an intermediate...
1
by: kimberly.walker | last post by:
Im new to creating a web service..... I have a public web page that collects data this is stored in an .mdb. The plan is to create a web service behind the firewall to get the data from the .mdb...
6
by: Steve Ricketts | last post by:
I have a webservice written in VB.net that opens a connection to SQL Server 2000 with a connection string. The connection remains open for the life of the web service so the ADODB.connection is...
4
by: dan655t | last post by:
Hello, I've come here to get some advise from the experts. Currently I am tasked with modifying a web service that currently supports one product to support multiple products. It needs to be...
11
by: John Sheppard | last post by:
Hello there, I am running a webservice on IIS6, sometimes it runs at a reasonable speed, sometimes it runs painfully slow and sometimes inbetween. The application that consumes the service is...
11
by: bob | last post by:
Hi, I am trying to develop a webservice and an aspx client on a Win2003 server box. The IDE is VS2008. The thing just seems totally flaky. Webservice compiles and publishes with no errors....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.