On Dec 5, 2007 11:04 PM, Leon Searl <[EMAIL PROTECTED]> wrote:

> Hi,
>
> I've been using Axis2 v1.3 and wsdl2java with the ADB binding
> to create the classes for my services and clients. This has worked
> pretty well for me. But I would like to have wsdl2java do one
> thing different.
>
> wsdl2java puts the classes for faults into the same java package as the
> service skeleton reguardless of the namespace that the fault name
> is in.
>
> Is there a way to have a wsdl2java generated fault class package
> be based on the namespace of the wsdl fault name?

fault class package is based on the wsdl targetnamespace. try to codegen
using the -p option to
specify an different package for wsdl namesapce components.

Thanks,
Amila.

>
>
> The rational for wanting this would be cumbersome to explain so
> I've left it out of this message. But I will way that it will
> allow me to modularize/reuse wsdl 'interfaces' that include faults.
> I can provide the rational for anyone that wants it.
>
> Thanks for any information/help you can provide.
>
> leon
>
> --
> Leon S. Searl, Software Research Engineer
> Information and Telecommunication Technology Center, University of Kansas
> Nichols Hall, 2335 Irving Hill Road, Lawrence, KS 66045-7612
> Ph: 785-864-7820     Fax: 785-864-0387
> http://www.ittc.ku.edu
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Amila Suriarachchi,
WSO2 Inc.

Reply via email to