You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by Scott Kurz <sc...@gmail.com> on 2007/05/03 17:41:28 UTC

enabling WSDL2Java on Axis2 1.2

WSDL2Java can be re-enabled now, against Axis2 1.2, if the fix below is
made.   Not sure if there's a JIRA so I didn't attach a patch
for JavaInterfaceGenerator.

Axis2 introduced a 'codegen' boolean in their service builder building the
AxisService from WSDL4J Definition in the JavaInterfaceGenerator
constructor.

       WSDL11ToAxisServiceBuilder builder = new
WSDL11ToAxisServiceBuilder(...)
        builder.setCodegen(true);
        axisService = builder.populateService();


BTW I'm trying now to see if some work I did a month ago generating Java
exceptions wrappering SDOs from WSDL faults works at the current level in
the Tuscany trunk.

Scott

Re: enabling WSDL2Java on Axis2 1.2

Posted by ant elder <an...@gmail.com>.
Cool thanks, I've committed this fix now.

   ...ant

On 5/3/07, Scott Kurz <sc...@gmail.com> wrote:
>
> WSDL2Java can be re-enabled now, against Axis2 1.2, if the fix below is
> made.   Not sure if there's a JIRA so I didn't attach a patch
> for JavaInterfaceGenerator.
>
> Axis2 introduced a 'codegen' boolean in their service builder building the
> AxisService from WSDL4J Definition in the JavaInterfaceGenerator
> constructor.
>
>        WSDL11ToAxisServiceBuilder builder = new
> WSDL11ToAxisServiceBuilder(...)
>         builder.setCodegen(true);
>         axisService = builder.populateService();
>
>
> BTW I'm trying now to see if some work I did a month ago generating Java
> exceptions wrappering SDOs from WSDL faults works at the current level in
> the Tuscany trunk.
>
> Scott
>