473,728 Members | 1,931 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 10460
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
9903
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
2107
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
4983
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
4199
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
1750
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
4360
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
1510
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
2010
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
2111
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
8903
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
8758
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,...
0
9422
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9277
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9130
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8129
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6716
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
4524
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...
3
2161
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.