Benson Margulies wrote:
I've got a webapp with a CXF service. When I'm doing development, I'm
fine with the usual default wsdlLocation. However, when I deploy,
there's a firewall.
Customizing the Spring app context and rebuilding the webapp is not an
attractive prospect. Has anyone come up with a scheme so that a
servlet parameter from web.xml can be provided to override, but things
still work if it's not there?
(Sergey, is there an equivalent set of issues for WADL?)
WebLogic provides such a feature in "deployment plans" but it's not a
J2EE-spec thing so...
JBoss has a global setting on whether to re-write URLs or not. You could
have it on when developing and off on the production server: if you have
the production URL in your WSDL it will get replaced when developing,
but not in production.
I you want something cross-platform, I'm afraid you'll have to "roll
your own", but maybe someone else knows of another way...