Hi,

I'm starting a project using CXF and having a couple of newbie issues. Hoping someone can shed some light on these.

First, I'm doing Java-first development, using WS and JAXB annotations. I'm publishing into a servlet container (Tomcat). My service publishes fine, but I'm interested in changing some defaults in the generated WSDL. Here's a sample:

<wsdl:definitions name="Auth" targetNamespace="http://auth.foo.bar/";>
<wsdl:import location="http://localhost:8080/cxf/services/Auth?wsdl=AuthenticationService.wsdl"; namespace="http://foo.bar.namespace";>
</wsdl:import>

1) How can I set the targetNamespace of the wsdl:definitions element, other than using the cmdline utility? 2) How can I prevent the use of wsdl:import and just have the contents of that URL inline? 3) Is it possible, when publishing to a servlet, to provide endpoint URL manually?

Thanks much!
--
James

Reply via email to