Hi,
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.
Freeman
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
service.pid = 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:
http://cxf.547215.n5.nabble.com/base-address-for-CXF-tp5034937p5035048.html
Sent from the cxf-user mailing list archive at Nabble.com.
---------------------------------------------
Freeman Fang
FuseSource
Email:[email protected]
Web: fusesource.com
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com