I'm not sure why it is using that package,
it usually bases the package name off the
namespace URL, but you can override by adding the -p
parameter like this

            <arg value="-p"/>
            <arg value="com.mycompany.foobar.ws.impl.jaxws"/> 

try that and see if it helps.
- Dan

> -----Original Message-----
> From: John-M Baker [mailto:[EMAIL PROTECTED] 
> Sent: Friday, February 29, 2008 9:20 AM
> To: [EMAIL PROTECTED]
> Subject: WSDLtoJava
> 
> Hello,
> 
> I'm looking for a reliable wsdl2java product and I'm looking 
> at CXF. I've 
> generated a set of sources from a WSDL but a set of java.util.xsd.* 
> sources have been generated. When compiled and run, the VM 
> complains that 
> java.util is a protected package (because it is). 
> 
> I'm generating the source using the following ant configuration:
> 
>     <java classname="org.apache.cxf.tools.wsdlto.WSDLToJava" 
> fork="true">
>        <arg value="-client"/>
>        <arg value="-d"/>
>        <arg value="${dist.dir}/stubs"/>
>        <arg value="${dist.dir}/Query.wsdl"/>
>        <classpath>
>           <path refid="classpath.cxf"/>
>        </classpath>
>     </java>
> 
> Can someone give me some guidance on what I may be doing wrong?
> 
> Thanks,
> 
> 
> John 
> 
> 
> 
> ---
> 
> This e-mail may contain confidential and/or privileged 
> information. If you are not the intended recipient (or have 
> received this e-mail in error) please notify the sender 
> immediately and delete this e-mail. Any unauthorized copying, 
> disclosure or distribution of the material in this e-mail is 
> strictly forbidden.
> 
> Please refer to 
> http://www.db.com/en/content/eu_disclosures.htm for 
> additional EU corporate and regulatory disclosures.
> 

Reply via email to