How to start cxf service on localhost but return external address in wsdl?

The jaxws:endpoint configuration thing has a "publishedEndpointURL" which is used instead of the address if it's specified. In know the servlet uses that properly, not 100% sure on the jetty. They share a lot of code so it MAY work.

I tested this on CXF 2.2.3/Jetty 6.1.11 and it works. However, you need to update the CXF JAXWS configuration page in the users guide to include this parameter :) – Kevin Nov 17 '09 at 19:54 At the moment I'm using annotations to do most of the configuring, which means I don't have easy access to the proper configs, and it's starting to drive me crazy. I will attempt to undo the annotations and go with full spring config, and try your solution (which bodes well given this link: issues.apache.Org/jira/browse/CXF-1279).

– evil_breeds Nov 17 '09 at 20:02.

Try @WebService(wsdlLocation="yourdesiredlocation"). Not sure if it will work.

It appears that the wsdlLocation parameter is expected to be a path to the local file, rather than a URL. – evil_breeds Nov 17 '09 at 19:11 it is parsed as an URL object, so can be both, generally speaking. – Bozho Nov 17 '09 at 19:24 The problem I see here is that the address is encoded in the source and can't be changed via configuration – Kevin Nov 17 '09 at 19:53.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions