cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Freeman Fang <>
Subject Re: base-address for CXF
Date Wed, 30 Nov 2011 09:33:09 GMT

So myserver is the machine like a proxy which your client can access,  
and myserver will relay any request to the real machine  which you  
actually publish the webservice, right?  The flow is like
clients===>myserver==>the machine publish services
In this case you just need add a publishedEndpointUrl property for  
jaxws endpoint, the publishedEndpointUrl could be anything you want.
You needn't configure org.apache.cxf.osgi.cfg at all.

On 2011-11-30, at 下午5:18, rickthemick wrote:

> Hi!
> What I want to do is to change the server part of the URLs to my  
> services
> listed under /cxf, that is:
> force a change of "your_host_address:8181" to "myserver".
> (CXF resolves the server base address ("your_host_address") but I'm  
> not
> happy with it since its just an IP address in my case, I want to  
> force it to
> a DNS-name which points to this server which the clients need to  
> use, they
> cant use the raw IP address because firewalls between the server and  
> the
> clients)
> As I understand it, the base-address property can do this!?
> And I can get Apache Felix config admin to list:
> PID = org.apache.cxf.osgi.cfg
>  BundleLocation = Unbound
>  base-address = myserver
>  org.apache.cxf.servlet.base-address = myserver
> = org.apache.cxf.osgi.cfg
> But it doesnt have any affect on the services listed under /cxf. Do  
> you see
> my problem?
> --
> View this message in context:
> Sent from the cxf-user mailing list archive at

Freeman Fang

Twitter: freemanfang

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message