You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by "Shaw, Richard A" <ri...@atkinsglobal.com> on 2007/05/23 16:43:11 UTC

Address in ?wsdl responce

It's great to see that the address is the wsdl returned when you call ?wsdl is now the published address and not the design time address as entered into the manually created wsdl file.

However, I've noticed that when I publish to http://localhost:9090/myService on the server, the address in the ?wsdl contains 'localhost'. This is of no use to client, it needs the server address. 

Is this a bug ?

I'm using cxf 2.0 incubator RC

Richard Shaw

¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤

Richard Shaw  
Technical Design Authority - Information Solutions Consultancy  
Intelligent Transport Systems 

Atkins Highways and Transportation 
Woodcote Grove, Ashley Road, Epsom, Surrey, KT18 5BW

Tel: +44 (0) 1372 756407 
Fax: +44 (0) 1372 740055
Mob: 07740 817586 
E-mail: richard.shaw@atkinsglobal.com

www.atkinsglobal.com/its



This email and any attached files are confidential and copyright protected. If you are not the addressee, any dissemination of this communication is strictly prohibited. Unless otherwise expressly agreed in writing, nothing stated in this communication shall be legally binding.

The ultimate parent company of the Atkins Group is WS Atkins plc.  Registered in England No. 1885586.  Registered Office Woodcote Grove, Ashley Road, Epsom, Surrey KT18 5BW.

Consider the environment. Please don't print this e-mail unless you really need to. 

Re: Address in ?wsdl responce

Posted by Willem Jiang <ni...@iona.com>.
Hi Richard,

Yes, I made this change earlier this week.
You can build a kit with the latest trunk to try it.

Cheers,

Willem.


Shaw, Richard A wrote:
> I assume this must be a new change because it certainly doesn't do that with the cxf 2.0 RC version I am using.
>
>  
>
>
> Richard Shaw
>
> ¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤
>
> Richard Shaw  
> Technical Design Authority - Information Solutions Consultancy  
> Intelligent Transport Systems 
>
> Atkins Highways and Transportation 
> Woodcote Grove, Ashley Road, Epsom, Surrey, KT18 5BW
>
> Tel: +44 (0) 1372 756407 
> Fax: +44 (0) 1372 740055
> Mob: 07740 817586 
> E-mail: richard.shaw@atkinsglobal.com
>
> www.atkinsglobal.com/its
>
> -----Original Message-----
> From: Christopher Moesel [mailto:Christopher_Moesel@avid.com] 
> Sent: 23 May 2007 18:40
> To: cxf-user@incubator.apache.org
> Subject: RE: Address in ?wsdl responce
>
> Yes-- in other words, if your server's name is shaw-pc, then:
>
> If you access the service using a URL with localhost, the endpoint address will contain localhost.
>
> If you access the service using a URL with shaw-pc, the endpoint address will contain shaw-pc.
>
> If you access the service using a URL with shaw-pc.atkinsglobal.com, the endpoint address will contain shaw-pc.atkinsglobal.com.
>
> -Chris
>
> -----Original Message-----
> From: Jiang, Ning (Willem) [mailto:Ning.Jiang@iona.com]
> Sent: Wednesday, May 23, 2007 12:16 PM
> To: cxf-user@incubator.apache.org
> Subject: RE: Address in ?wsdl responce
>
> Hi Richared,
>
> It is certain a CXF feature, which generats on-fly endpoint address with the request url.
> If the client can delive the request with url http://localhost:9090 to the server that means client can access the service with http://localhost:9090, so the localhost is meanful for the client.
>
> Cheers,
>
> Willem.
>
>
>
> -----Original Message-----
> From: Shaw, Richard A [mailto:richard.shaw@atkinsglobal.com]
> Sent: Wed 5/23/2007 22:43
> To: cxf-user@incubator.apache.org
> Subject: Address in ?wsdl responce
>  
> It's great to see that the address is the wsdl returned when you call ?wsdl is now the published address and not the design time address as entered into the manually created wsdl file.
>
> However, I've noticed that when I publish to http://localhost:9090/myService on the server, the address in the ?wsdl contains 'localhost'. This is of no use to client, it needs the server address. 
>
> Is this a bug ?
>
> I'm using cxf 2.0 incubator RC
>
> Richard Shaw
>
> ¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤
>
> Richard Shaw
> Technical Design Authority - Information Solutions Consultancy Intelligent Transport Systems 
>
> Atkins Highways and Transportation
> Woodcote Grove, Ashley Road, Epsom, Surrey, KT18 5BW
>
> Tel: +44 (0) 1372 756407
> Fax: +44 (0) 1372 740055
> Mob: 07740 817586
> E-mail: richard.shaw@atkinsglobal.com
>
> www.atkinsglobal.com/its
>
>
>
> This email and any attached files are confidential and copyright protected. If you are not the addressee, any dissemination of this communication is strictly prohibited. Unless otherwise expressly agreed in writing, nothing stated in this communication shall be legally binding.
>
> The ultimate parent company of the Atkins Group is WS Atkins plc.  Registered in England No. 1885586.  Registered Office Woodcote Grove, Ashley Road, Epsom, Surrey KT18 5BW.
>
> Consider the environment. Please don't print this e-mail unless you really need to. 
>
>
>
> This message has been scanned for viruses by MailControl - (see http://bluepages.wsatkins.co.uk/?6875772)
>
>
>   



RE: Address in ?wsdl responce

Posted by "Shaw, Richard A" <ri...@atkinsglobal.com>.
I assume this must be a new change because it certainly doesn't do that with the cxf 2.0 RC version I am using.

 


Richard Shaw

¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤

Richard Shaw  
Technical Design Authority - Information Solutions Consultancy  
Intelligent Transport Systems 

Atkins Highways and Transportation 
Woodcote Grove, Ashley Road, Epsom, Surrey, KT18 5BW

Tel: +44 (0) 1372 756407 
Fax: +44 (0) 1372 740055
Mob: 07740 817586 
E-mail: richard.shaw@atkinsglobal.com

www.atkinsglobal.com/its

-----Original Message-----
From: Christopher Moesel [mailto:Christopher_Moesel@avid.com] 
Sent: 23 May 2007 18:40
To: cxf-user@incubator.apache.org
Subject: RE: Address in ?wsdl responce

Yes-- in other words, if your server's name is shaw-pc, then:

If you access the service using a URL with localhost, the endpoint address will contain localhost.

If you access the service using a URL with shaw-pc, the endpoint address will contain shaw-pc.

If you access the service using a URL with shaw-pc.atkinsglobal.com, the endpoint address will contain shaw-pc.atkinsglobal.com.

-Chris

-----Original Message-----
From: Jiang, Ning (Willem) [mailto:Ning.Jiang@iona.com]
Sent: Wednesday, May 23, 2007 12:16 PM
To: cxf-user@incubator.apache.org
Subject: RE: Address in ?wsdl responce

Hi Richared,

It is certain a CXF feature, which generats on-fly endpoint address with the request url.
If the client can delive the request with url http://localhost:9090 to the server that means client can access the service with http://localhost:9090, so the localhost is meanful for the client.

Cheers,

Willem.



-----Original Message-----
From: Shaw, Richard A [mailto:richard.shaw@atkinsglobal.com]
Sent: Wed 5/23/2007 22:43
To: cxf-user@incubator.apache.org
Subject: Address in ?wsdl responce
 
It's great to see that the address is the wsdl returned when you call ?wsdl is now the published address and not the design time address as entered into the manually created wsdl file.

However, I've noticed that when I publish to http://localhost:9090/myService on the server, the address in the ?wsdl contains 'localhost'. This is of no use to client, it needs the server address. 

Is this a bug ?

I'm using cxf 2.0 incubator RC

Richard Shaw

¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤

Richard Shaw
Technical Design Authority - Information Solutions Consultancy Intelligent Transport Systems 

Atkins Highways and Transportation
Woodcote Grove, Ashley Road, Epsom, Surrey, KT18 5BW

Tel: +44 (0) 1372 756407
Fax: +44 (0) 1372 740055
Mob: 07740 817586
E-mail: richard.shaw@atkinsglobal.com

www.atkinsglobal.com/its



This email and any attached files are confidential and copyright protected. If you are not the addressee, any dissemination of this communication is strictly prohibited. Unless otherwise expressly agreed in writing, nothing stated in this communication shall be legally binding.

The ultimate parent company of the Atkins Group is WS Atkins plc.  Registered in England No. 1885586.  Registered Office Woodcote Grove, Ashley Road, Epsom, Surrey KT18 5BW.

Consider the environment. Please don't print this e-mail unless you really need to. 



This message has been scanned for viruses by MailControl - (see http://bluepages.wsatkins.co.uk/?6875772)

RE: Address in ?wsdl responce

Posted by Christopher Moesel <Ch...@avid.com>.
Yes-- in other words, if your server's name is shaw-pc, then:

If you access the service using a URL with localhost, the endpoint address will contain localhost.

If you access the service using a URL with shaw-pc, the endpoint address will contain shaw-pc.

If you access the service using a URL with shaw-pc.atkinsglobal.com, the endpoint address will contain shaw-pc.atkinsglobal.com.

-Chris

-----Original Message-----
From: Jiang, Ning (Willem) [mailto:Ning.Jiang@iona.com] 
Sent: Wednesday, May 23, 2007 12:16 PM
To: cxf-user@incubator.apache.org
Subject: RE: Address in ?wsdl responce

Hi Richared,

It is certain a CXF feature, which generats on-fly endpoint address with the request url.
If the client can delive the request with url http://localhost:9090 to the server that means client can access the service with http://localhost:9090, so the localhost is meanful for the client.

Cheers,

Willem.



-----Original Message-----
From: Shaw, Richard A [mailto:richard.shaw@atkinsglobal.com]
Sent: Wed 5/23/2007 22:43
To: cxf-user@incubator.apache.org
Subject: Address in ?wsdl responce
 
It's great to see that the address is the wsdl returned when you call ?wsdl is now the published address and not the design time address as entered into the manually created wsdl file.

However, I've noticed that when I publish to http://localhost:9090/myService on the server, the address in the ?wsdl contains 'localhost'. This is of no use to client, it needs the server address. 

Is this a bug ?

I'm using cxf 2.0 incubator RC

Richard Shaw

¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤

Richard Shaw  
Technical Design Authority - Information Solutions Consultancy  
Intelligent Transport Systems 

Atkins Highways and Transportation 
Woodcote Grove, Ashley Road, Epsom, Surrey, KT18 5BW

Tel: +44 (0) 1372 756407 
Fax: +44 (0) 1372 740055
Mob: 07740 817586 
E-mail: richard.shaw@atkinsglobal.com

www.atkinsglobal.com/its



This email and any attached files are confidential and copyright protected. If you are not the addressee, any dissemination of this communication is strictly prohibited. Unless otherwise expressly agreed in writing, nothing stated in this communication shall be legally binding.

The ultimate parent company of the Atkins Group is WS Atkins plc.  Registered in England No. 1885586.  Registered Office Woodcote Grove, Ashley Road, Epsom, Surrey KT18 5BW.

Consider the environment. Please don't print this e-mail unless you really need to. 


RE: Address in ?wsdl responce

Posted by "Jiang, Ning (Willem)" <Ni...@iona.com>.
Hi Richared,

It is certain a CXF feature, which generats on-fly endpoint address with the request url.
If the client can delive the request with url http://localhost:9090 to the server that means client can access the service with http://localhost:9090, so the localhost is meanful for the client.

Cheers,

Willem.



-----Original Message-----
From: Shaw, Richard A [mailto:richard.shaw@atkinsglobal.com]
Sent: Wed 5/23/2007 22:43
To: cxf-user@incubator.apache.org
Subject: Address in ?wsdl responce
 
It's great to see that the address is the wsdl returned when you call ?wsdl is now the published address and not the design time address as entered into the manually created wsdl file.

However, I've noticed that when I publish to http://localhost:9090/myService on the server, the address in the ?wsdl contains 'localhost'. This is of no use to client, it needs the server address. 

Is this a bug ?

I'm using cxf 2.0 incubator RC

Richard Shaw

¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø¤º°`°º¤ø,¸¸,ø¤

Richard Shaw  
Technical Design Authority - Information Solutions Consultancy  
Intelligent Transport Systems 

Atkins Highways and Transportation 
Woodcote Grove, Ashley Road, Epsom, Surrey, KT18 5BW

Tel: +44 (0) 1372 756407 
Fax: +44 (0) 1372 740055
Mob: 07740 817586 
E-mail: richard.shaw@atkinsglobal.com

www.atkinsglobal.com/its



This email and any attached files are confidential and copyright protected. If you are not the addressee, any dissemination of this communication is strictly prohibited. Unless otherwise expressly agreed in writing, nothing stated in this communication shall be legally binding.

The ultimate parent company of the Atkins Group is WS Atkins plc.  Registered in England No. 1885586.  Registered Office Woodcote Grove, Ashley Road, Epsom, Surrey KT18 5BW.

Consider the environment. Please don't print this e-mail unless you really need to.