473,769 Members | 4,173 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 10463
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****@discuss ions.microsoft. com> wrote in message
news:80******** *************** ***********@mic rosoft.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
9904
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 more operations were skipped. Warnings were encountered. Review generated source comments for more details.
1
2110
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) First project is a webService. Second consumes the webservices by the first.
7
4987
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 Parameter. I can call the first Method without Problems, the Parameter can be deserialized by the WebService. But if I want to call the second Method and give it an Array of Parameters, then the following exception is thrown by the WebService:...
1
4203
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 webservice in c# that forwarded calls from the client to the server, but I'm now trying to port the ISAPI soap dll to a true c# webservice, however the client does not support cookies so I can't use the session object. The original soap dll...
1
1753
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 also a windows application will be created as well so the users can view the data that was submitted off the public website. My question is if I have the web service behind the firewall and connect by opening a port to retrieve the data once the...
6
4362
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 defined as public and used by a single subroutine, SQLexecute. All recordset definitions are defined in the individual subroutines and destroyed before exit of the subroutine. I would expect only one connection to be made to the SQL Server but...
4
1512
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 backwards compatible so other products still work with the same method calls and the new products need to have methods with the same names, but different logic. Currently we keep some credential information from the client that consumes the...
11
2011
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 vb.dotnet and runs on a local area network. Does anyone have any ideas? Where should I start to look? What could be causing this? Thank you for any help or ideas
11
2114
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. Access the Service with http://localhost:2092/EasyVend0r.asmx (Note using the port assigned by the IDE) and no problem. But start a browser and go to access the ASMX with the published URL
0
9589
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9423
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
7409
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6673
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5299
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5447
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3959
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3562
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2815
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.