Hi,
If you configure jaxws-endpoint with 0.0.0.0, you should be able to
get what you want.
Freeman
On 2011-4-22, at 下午2:01, ext2 wrote:
Hi:
I am using cxf's jetty transport.
Because I don't know the real ip where the webservice will be deploy
to, so I always configured the jaxws-endpoint with ip "127.0.0.1"
in the
spring. And configure the http-engine to bind to any ip available;
But unfortunately , at runtime, if I request the wsdl using the real
ip , the endpoint in the wsdl is always "127.0.0.1" , but not the
real ip of
server;
For example, if I request wsdl throw
http://some-real-ip:8081/test?wsdl or http://server-host-name:8081/
test?wsdl
The response wsdl 's endpoint will always be :
<soap:address location="http://localhost:8081/test "/>
Could CXF replace the endpoint's host with the request url's host?
Thanks any suggestion
---------------------------------------------
Freeman Fang
FuseSource
Email:[email protected]
Web: fusesource.com
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com
Connect at CamelOne May 24-26
The Open Source Integration Conference