cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <>
Subject Re: Overriding namespace of the wsdl while creating java classes
Date Tue, 09 Feb 2010 20:21:00 GMT

You should be able to use the -p flag to wsdl2java to override the package 
names.   Alternatively, the "standard" jax-ws way to do it is via a jaxws 
binding file.    


On Tue February 9 2010 1:45:39 am Himanshu Ramteke wrote:
> Hello CXF Dev Team,
> I am trying to generate java classes from wsdl using cxf.
> Also I am using ant to generate it.
> The wsdl contains two namespaces starting with numeric text like
> and The java
>  classes are generated into the package and
> I want to override the namespace and use package
> and The constraint is that I cannot
>  modify the namespace in wsdl. So I will have to define the ant task with
>  -nexclude option. I am trying to do so, but unable to generate the class
>  files with the desired structure.
> Information transmitted by this e-mail is proprietary to MphasiS, its
>  associated companies and/ or its customers and is intended for use only by
>  the individual or entity to which it is addressed, and may contain
>  information that is privileged, confidential or exempt from disclosure
>  under applicable law. If you are not the intended recipient or it appears
>  that this mail has been forwarded to you without proper authority, you are
>  notified that any use or dissemination of this information in any manner
>  is strictly prohibited. In such cases, please notify us immediately at
> and delete this mail from your records.

Daniel Kulp

View raw message