473,624 Members | 2,216 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

web service behind reverse proxy

Hello,

We have a web service running on IIS (running on port 8080) that is behind
an apache web server (running on port 80) with reverse proxy to the IIS.
Accessing the webservice with the url http://ourhost/webservice.asmx?wsdl
works fine (in browser). However, the urls described by the wsdl contain
port specifications, in this case port 8080. Since our server is listening
on port 80 and blocks all traffic on port 8080, the client c# code can't
connect. Is there a way to manipulate the auto-generated wsdl in a way
that is doesn't specify specific port numbers? Or maybe replace the
auto-wsdl with a custom wsdl?

Regards,

Bart
Apr 6 '06 #1
1 4135
you can use the wsdl tool to generate the wsdl tool manually, and then set
the ports to the right ports (or delete them compltely).
--
GuyBar
"bart" wrote:
Hello,

We have a web service running on IIS (running on port 8080) that is behind
an apache web server (running on port 80) with reverse proxy to the IIS.
Accessing the webservice with the url http://ourhost/webservice.asmx?wsdl
works fine (in browser). However, the urls described by the wsdl contain
port specifications, in this case port 8080. Since our server is listening
on port 80 and blocks all traffic on port 8080, the client c# code can't
connect. Is there a way to manipulate the auto-generated wsdl in a way
that is doesn't specify specific port numbers? Or maybe replace the
auto-wsdl with a custom wsdl?

Regards,

Bart

Apr 11 '06 #2

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

Similar topics

5
5358
by: John | last post by:
Hi Does anyone have an example of using the Internet Transfer Control from behind a proxy server on port 8080? Thanks Regards
3
6624
by: A.M | last post by:
Hi, We are developing ADP.NET applications and one of our requirements is implementing a Reverse Proxy on IIS. I have couple of questions about Reverse Proxy:
5
7307
by: Bill Hauver | last post by:
I am attempting to use a web service from my work pc which is behind a firewall. I have used wsdl.exe to create the web service reference class and added it to my project. (this seems to work without a hitch). Before I use this class, I make the necessary calls to instantiate a WebProxy class and then pass in my credentials to set the WebProxy.Credentials property so I can get through the proxy server.
0
1083
by: stigip | last post by:
I'm having a problem with hosting a web service on a server behind a reverse proxy. When the IIS/.Net Framework is generating the test page for a WebMethod in the .asmx-file it uses an absolute path in the HTTP post of the invoke-button. This poses a problem because the internal host is not known to the public. Is it possible to instruct the .Net framework to use either relative paths without the host or a specific hard-coded host (i.e. in...
0
1389
by: ericms | last post by:
I need to consume one of our vendor's web service. So, we need to consume the web service behind a proxy server. I am working with Visual Studio 2005 and .NET 2.0. I did right-click on a project and click "Add Web Reference". I kept getting an error either "The web server could not be resolved: "www.website.com" or Http Error 407: Authentication is required. Can anybody show me how to do this ? Appreciate any help or suggestions....
0
1559
by: aladdinm1 | last post by:
Dear all, I have a client application which working just fine except in one case: when it's behind a proxy. I tested it behind MS ISA with enabled Socks service. I tried everything to make it connect from behind the proxy but, it failed. I'm using .Net Framework 2.0 and it looks like it does not support Socks proxies. Is there any solution for this problem? Thanks in advance.
1
2671
by: Dave Mathew | last post by:
I'm attempting to write a reverse proxy in ASP.Net which will catch requests to my server in ASP.Net, perform some actions, and then get the desired resource off another server to return to the original client (using HttpWebRequest and rewriting it's response to my ASP.Net client). I'm able to get the reverse proxy to work for html pages but it's not working for images. Right now the code I'm playing with is similar to this: void...
3
1733
by: Jane Parker | last post by:
I read with interest the recent posting about Reverse Proxies and wondered if it is possible to mix static and dynamic content. If you have a lot of static content on your site it would make sense to keep it outside the network, and only use the reverse proxy when making dynamic data calls, but how could that actually work in practise? Is it possible to mix it up like this?
5
2862
by: kokababu | last post by:
Hi, I have setup a reverse proxy server which will route the request to Server B. Proxy server is working well with Server B. I would like to catch HTTP status error like 404/500 from server B. If my proxy gets error404/500 from Server B then it will redirect the page to other site, using PHP. For this reason, I set ErrorDocument 404/500 on httpd.conf file in reverse proxy server to catch error from Server B. But ErrorDocument is not ...
0
8234
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
8172
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
7158
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
6110
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
4079
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
4174
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2605
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
1
1784
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1482
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.