Hi,

I am developing using the Java first approach (using jaxb data binding), and the wsdl is auto generated by the cxf servlet at http://localhost/SomeService?wsdl

Short of annotating each class with @XmlType(namespace="http://x.y.z";), is there a setting which inform the servlet to use the source java classes' package names as the targetNamespaces when generating the wsdl?

Thank you.

-c

p.s. Using java package names as targetNamespaces seems to be the default behavior when using aegis data binding.

p.p.s. I have tried the @XmlSchema in package-info.java approach, but it was not picked-up by the servlet (probably only works using java2wsdl).

Reply via email to