473,396 Members | 1,780 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,396 software developers and data experts.

WSDL: customize wsdl:port\soap:address\@location

JT
Hi,

We have 2 servers having the same web site running on port 8080. These two
servers are load balanced and have DNS name, e.g. my.server.com. Now on both
of these two servers, we put the same web services, e.g.
MyWebService\WS.asmx, so the URL to the web service looks like:
http://my.server.com/MyWebService/WS.asmx

Now here's the problem. When I try to view the WSDL via
http://my.server.com/MyWebService/WS.asmx?WSDL, the
wsdl:service\wsdl:port\soap:address\@location value contains the port number
8080 even though I'm using the DNS name of the servers:
http://my.server.com:8080/MyWebService/WS.asmx, which is wrong since
my.server.com is already pointing to port 8080.

Is there a way to customize this from the code through attributes, or modify
this through some configuration?

Help!

Thanks.
Apr 5 '06 #1
1 3284
you can create the wsdl document in advance using the wsdl tool and then
remove the port numbers from it.
--
GuyBar
"JT" wrote:
Hi,

We have 2 servers having the same web site running on port 8080. These two
servers are load balanced and have DNS name, e.g. my.server.com. Now on both
of these two servers, we put the same web services, e.g.
MyWebService\WS.asmx, so the URL to the web service looks like:
http://my.server.com/MyWebService/WS.asmx

Now here's the problem. When I try to view the WSDL via
http://my.server.com/MyWebService/WS.asmx?WSDL, the
wsdl:service\wsdl:port\soap:address\@location value contains the port number
8080 even though I'm using the DNS name of the servers:
http://my.server.com:8080/MyWebService/WS.asmx, which is wrong since
my.server.com is already pointing to port 8080.

Is there a way to customize this from the code through attributes, or modify
this through some configuration?

Help!

Thanks.

Apr 11 '06 #2

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

Similar topics

1
by: PMCG | last post by:
Hi Is it possible to decorate web service parameters with attributes that can add documentation elements to the complex type for a web method in WSDL, something similar to what the...
2
by: raymond | last post by:
Hi, Is it possible to create a proxy client class or a web service method by VS.NET without using wsdl? My stupid client is using a xml schema (.xsd) to describe all their web service methods...
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...
0
by: Elhanan | last post by:
hi.. i have a small Web Service which is consumed by dotnet application the webservice is located in 2 places. the first is my local tomcat, and the second is in websphere server. problems is...
4
by: Duffman | last post by:
Hello, I am working with dynamically created WSDL's and I need to change the transaction urls from http to https in the WSDL without redirecting customers to a different location. (I'm using vs...
4
by: johns1111 | last post by:
The WSDL reflects the full inheritance structure of my program, how can I flatten the WSDL file? e.g. if I have a class A with properties PA1 and PA2 and a class B which in the C# code inherits...
9
by: Cesar | last post by:
Hello there, A java programmer sent me a wsdl file, which I have to use to consume his web methods. When I run the wsld.exe tool to generate the class' code, I get the following message: ...
5
by: Nick K. | last post by:
I use wsdl.exe to generate client code to call a web service. The actual web service is generated with the BizTalk Web Services Publishing Wizard. I'm not sure this is particular to the BizTalk...
0
by: dalong | last post by:
Hi All, is there a way to change WSDL file generated by .NET 2.0 for web services, when i click on "Service Description"? (https://localhost/MyService/MyService.asmx?WSDL) I want to add a...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
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
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.