473,761 Members | 3,187 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to change address location

How do I change the address location in the wsdl

<wsdl:port name="SearchSoa p12" binding="tns:Se archSoap12">
<soap12:addre ss location="http://searchservices/engine/search.asmx" />
</wsdl:port>
Anderas
Jan 5 '06 #1
4 6316
Continued:

When I look at the WSDL (http://searchservices/engine/search.asmx?WSDL )I
find that the address:locatio n is wrong.
How can I manipulate address:locatio n?
Andreas
Jan 5 '06 #2
Hi Andreas,

Welcome to MSDN newsgroup.
As for the ASP.NET webservice(asmx ) 's autogenerated wsdl document's
service address, it is always pointed to the asmx file's http url address.
So what's the difference between it and your expected address? Also, for
webservice WSDL document, it is mainly used for describe service contract
(method interface and message format....) rather than service's actual port
address... So we don't quite need to change it , and after the clientside
create proxy class to consume the webservce, client code can flexiblely
change the actual service's endpoint address......

Also, based on my research, we can customize our ASMX file's displaying
page by using our own page so that we can point user to our own WSDL
document (create a custom xml file that contains the WSDL document).

#<wsdlHelpGener ator> Element
http://msdn.microsoft.com/library/en...lhelpgenerator
.asp?frame=true

#Configuration Options for XML Web Services Created Using ASP.NET
http://msdn.microsoft.com/library/en...igurationOptio
nsForASPNETWebS ervices.asp?fra me=true

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)


--------------------
From: "andreas.w. h.k. :-\)" <aw**@newsgroup .nospam>
References: <#0************ **@tk2msftngp13 .phx.gbl>
Subject: Continued: How to change address location
Date: Thu, 5 Jan 2006 12:28:54 +0100
Lines: 10
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
X-RFC2646: Format=Flowed; Response
Message-ID: <OM************ *@tk2msftngp13. phx.gbl>
Newsgroups: microsoft.publi c.dotnet.framew ork.webservices
NNTP-Posting-Host: www.kf.no 195.18.146.10
Path: TK2MSFTNGXA02.p hx.gbl!TK2MSFTN GP08.phx.gbl!tk 2msftngp13.phx. gbl
Xref: TK2MSFTNGXA02.p hx.gbl
microsoft.publi c.dotnet.framew ork.webservices :13251
X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.webservices

Continued:

When I look at the WSDL (http://searchservices/engine/search.asmx?WSDL )I
find that the address:locatio n is wrong.
How can I manipulate address:locatio n?
Andreas

Jan 6 '06 #3
Thank you very much for your reply, Steven!

My problem is that the address:locatio n (in the WSDL) differs from the url
in which I use when I surf to my webservice. When I try to Invoke my method
(via the webform) the result pops up in a new window with the url of the
address:locatio n. And that is the wrong url. That is not the URL which I use
when I surfed to my webservice.

Could it be an DNS issue? Because the address in the address:locatio n is
only accessable from the intranet. And the address I use to access the
webservice is a public address accessable from the internet. Two DNS
pointing at the same service.

Andreas :-)
"Steven Cheng[MSFT]" <st*****@online .microsoft.com> wrote in message
news:VW******** ******@TK2MSFTN GXA02.phx.gbl.. .
Hi Andreas,

Welcome to MSDN newsgroup.
As for the ASP.NET webservice(asmx ) 's autogenerated wsdl document's
service address, it is always pointed to the asmx file's http url address.
So what's the difference between it and your expected address? Also, for
webservice WSDL document, it is mainly used for describe service contract
(method interface and message format....) rather than service's actual
port
address... So we don't quite need to change it , and after the clientside
create proxy class to consume the webservce, client code can flexiblely
change the actual service's endpoint address......

Also, based on my research, we can customize our ASMX file's displaying
page by using our own page so that we can point user to our own WSDL
document (create a custom xml file that contains the WSDL document).

#<wsdlHelpGener ator> Element
http://msdn.microsoft.com/library/en...lhelpgenerator
asp?frame=true

#Configuration Options for XML Web Services Created Using ASP.NET
http://msdn.microsoft.com/library/en...igurationOptio
nsForASPNETWebS ervices.asp?fra me=true

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)


--------------------
From: "andreas.w. h.k. :-\)" <aw**@newsgroup .nospam>
References: <#0************ **@tk2msftngp13 .phx.gbl>
Subject: Continued: How to change address location
Date: Thu, 5 Jan 2006 12:28:54 +0100
Lines: 10
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
X-RFC2646: Format=Flowed; Response
Message-ID: <OM************ *@tk2msftngp13. phx.gbl>
Newsgroups: microsoft.publi c.dotnet.framew ork.webservices
NNTP-Posting-Host: www.kf.no 195.18.146.10
Path: TK2MSFTNGXA02.p hx.gbl!TK2MSFTN GP08.phx.gbl!tk 2msftngp13.phx. gbl
Xref: TK2MSFTNGXA02.p hx.gbl
microsoft.publi c.dotnet.framew ork.webservices :13251
X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.webservices

Continued:

When I look at the WSDL (http://searchservices/engine/search.asmx?WSDL )I
find that the address:locatio n is wrong.
How can I manipulate address:locatio n?
Andreas

Jan 6 '06 #4
Thanks for your response Andreas,

Yes, I think this is a DNS or webserver(IIS)' s IP address related problem
because when creating the asp.net webservice, the address location we view
in the generated asmx file in browser is identical to the address of the
IIS website's ip address(or mapped dns name....). You can test this with a
web page application also (view some webpages in the server from
browser...). And vs 2005 has no idea of whether the iis site or local
machine has a public IP to external internet or not.....

Also, based on my local test, the expected behavior should be, the address
location in the asmx WSDL document should be the same with the address we
typed in browser... e.g:

when I navigate to the asmx view through

http://localhost/WebServices/MyWebSe...ice1.asmx?WSDL

then, the WSDL's service endpoint shows
<wsdl:port name="Service1H ttpPost" binding="tns:Se rvice1HttpPost" >
<http:address
location="http://localhost/WebServices/MyWebService/Service1.asmx" />
</wsdl:port>
</wsdl:service>

while if I navigate it through public servername:

http://servername/WebServices/MyWebS...ice1.asmx?WSDL

the wsdl document's endpoint address should be:

<wsdl:port name="Service1H ttpPost" binding="tns:Se rvice1HttpPost" >
<http:address
location="http://servername/WebServices/MyWebService/Service1.asmx" />
</wsdl:port>
</wsdl:service>
Anyway, the clientside proxy can flexibly change the address to the new
value or updated value since they may create the proxy from a local copy of
the WSDL document rather than through the asmx address...

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
From: "andreas.w. h.k. :-\)" <aw**@newsgroup .nospam>
References: <#0************ **@tk2msftngp13 .phx.gbl>
<OM************ *@tk2msftngp13. phx.gbl>
<VW************ **@TK2MSFTNGXA0 2.phx.gbl>
Subject: Re: Continued: How to change address location
Date: Fri, 6 Jan 2006 09:42:27 +0100
Lines: 89
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
X-RFC2646: Format=Flowed; Original
Message-ID: <#3************ **@tk2msftngp13 .phx.gbl>
Newsgroups: microsoft.publi c.dotnet.framew ork.webservices
NNTP-Posting-Host: www.kf.no 195.18.146.10
Path: TK2MSFTNGXA02.p hx.gbl!TK2MSFTN GP08.phx.gbl!tk 2msftngp13.phx. gbl
microsoft.publi c.dotnet.framew ork.webservices :13262
X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.webservices

Thank you very much for your reply, Steven!

My problem is that the address:locatio n (in the WSDL) differs from the url
in which I use when I surf to my webservice. When I try to Invoke my method
(via the webform) the result pops up in a new window with the url of the
address:locatio n. And that is the wrong url. That is not the URL which I
use
when I surfed to my webservice.

Could it be an DNS issue? Because the address in the address:locatio n is
only accessable from the intranet. And the address I use to access the
webservice is a public address accessable from the internet. Two DNS
pointing at the same service.

Andreas :-)
"Steven Cheng[MSFT]" <st*****@online .microsoft.com> wrote in message
news:VW******** ******@TK2MSFTN GXA02.phx.gbl.. .
Hi Andreas,

Welcome to MSDN newsgroup.
As for the ASP.NET webservice(asmx ) 's autogenerated wsdl document's
service address, it is always pointed to the asmx file's http url address.
So what's the difference between it and your expected address? Also, for
webservice WSDL document, it is mainly used for describe service contract
(method interface and message format....) rather than service's actual
port
address... So we don't quite need to change it , and after the clientside
create proxy class to consume the webservce, client code can flexiblely
change the actual service's endpoint address......

Also, based on my research, we can customize our ASMX file's displaying
page by using our own page so that we can point user to our own WSDL
document (create a custom xml file that contains the WSDL document).

#<wsdlHelpGener ator> Element
http://msdn.microsoft.com/library/en...lhelpgenerator asp?frame=true

#Configuration Options for XML Web Services Created Using ASP.NET
http://msdn.microsoft.com/library/en...igurationOptio nsForASPNETWebS ervices.asp?fra me=true

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)


--------------------
From: "andreas.w. h.k. :-\)" <aw**@newsgroup .nospam>
References: <#0************ **@tk2msftngp13 .phx.gbl>
Subject: Continued: How to change address location
Date: Thu, 5 Jan 2006 12:28:54 +0100
Lines: 10
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
X-RFC2646: Format=Flowed; Response
Message-ID: <OM************ *@tk2msftngp13. phx.gbl>
Newsgroups: microsoft.publi c.dotnet.framew ork.webservices
NNTP-Posting-Host: www.kf.no 195.18.146.10
Path: TK2MSFTNGXA02.p hx.gbl!TK2MSFTN GP08.phx.gbl!tk 2msftngp13.phx. gbl
Xref: TK2MSFTNGXA02.p hx.gbl
microsoft.publi c.dotnet.framew ork.webservices :13251
X-Tomcat-NG: microsoft.publi c.dotnet.framew ork.webservices

Continued:

When I look at the WSDL (http://searchservices/engine/search.asmx?WSDL )I
find that the address:locatio n is wrong.
How can I manipulate address:locatio n?
Andreas


Jan 9 '06 #5

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

Similar topics

4
2635
by: Richard Cornford | last post by:
For the last couple of months I have been trying to get the next round of updates to the FAQ underway and been being thwarted by a heavy workload (the project I am working on has to be finished an QA tested for a new year release. I don't think that going to prove practical, but there is no harm in trying :) and some serious family commitments. But it has to be done soon so this is stage one. Mike Winter provided an extensive list of...
0
1343
by: S | last post by:
Hi, I have a MS Access db MDE which is linked to some SQL tables on a server. Now in my company we are using a certain IP address. The same MDE is given to external company to use, but they have a different IP address, due to firewall restrictions. So in order for the external company to use the table, they would need to create the DSN and re-link the tables. But I do not want them to do that, because then they can direclty access the...
1
2259
by: | last post by:
Hello, I have a problem when I try to do this on a aspx page.. Is there anything wrong with this approach? This is the javascript function <Script Language='JavaScript'> function OpenLink(Link){
3
20079
by: GavinM | last post by:
I have the same question as andreas.w.h.k asked on 1/5. Our configuration is as follows: The client must use the URL https://clustername.xyz.com/webservice.asmx to access this web service. clustername.xyz.com resolves to a virtual IP address on a hardware load balancer which is listening for requests on port 443.
4
1893
by: toton | last post by:
Hi, How to find address of a class from inside? My class having a overloaded new & delete. new allocates the memory like void* operator new(std::size_t size) throw(){ cout<<"op new called"<<endl; void* ptr = std::malloc(size); if(!ptr){ throw std::bad_alloc();
5
6227
by: FAQ server | last post by:
----------------------------------------------------------------------- FAQ Topic - How do I change the text in the url/location bar? ----------------------------------------------------------------------- This text can only be altered by changing the URL of the page. The normal solution is to use frames, though this can introduce problems of its own.
13
3112
by: bushi | last post by:
hi everyone! i want to get the ipaddress,and the country name of a webpage visitor,using asp.Net(C#).if anyone knows about it,plz rply me. thanx in advance.
6
15308
by: Andrew Jocelyn | last post by:
Hi How do I programmatically change (read/write) the values in this app.config file at runtime? Specifically I want to change the client endpoint address but it would be nice to change other values too. I thought this is what ServiceHost is for but is seems way more complicated to use for what I'm trying to do. <system.serviceModel> <bindings>
6
7123
by: Narasimha Rao | last post by:
Hi, I have IP Addresses in my DB table. I want to find the geographic location of each IP address. Can anyone help me if there is any API or solution for this. Thanks in advance.
0
9538
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
9975
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...
1
9909
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8794
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
7342
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
6623
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
5384
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
3481
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2765
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.