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




Reply via email to