cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nikolay Elenkov <>
Subject wrong targetNamespace in generated WSDL
Date Fri, 23 Apr 2010 09:09:00 GMT

I am using apche-cxf 2.2.7, and I can't seem to find a way to set the
target namespace of the WSDL returned by Service?wsdl. It is always See below:

<wsdl:definitions name="MyService"

The  namespace on the wsdl:import is correct, but not the one on
wsdl:definitions is not. I've set the namespace on my implementation class
with @WebService(targetNamespace="..."), but that seems to be ignored.
My service is defined in cxf-servlet.xml, but there seems to be no way
to pass the targetNamespace to <jaxws:endpoint> either. Am I missing something

Any hints are much appreciated.

View raw message