axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Cogan (JIRA)" <>
Subject [jira] Created: (AXIS-1865) Axis 1.2 RC3 wsdl2Java problem
Date Fri, 11 Mar 2005 15:23:54 GMT
Axis 1.2 RC3 wsdl2Java problem

         Key: AXIS-1865
     Project: Axis
        Type: Bug
  Components: WSDL processing  
    Versions: 1.2RC3    
 Environment: Windows XP, java version "1.4.2_03".
    Reporter: Patrick Cogan

I have recently migrated to RC3 and may have found a potentual problem.

In my WSDL I have a complex type 'Dao' that has many attributes of
strings and longs. Using wsdl2java to generate the server source the
copmplex type 'Dao' gets converted as expected to the java type 'Dao'.

The only problem is that the 'Dao' generated constructorn has the
order of the parameters rearanged, compared to the order in the WSDL,
which causes a no such method exception for other classes using this
bean 'Dao'.

My ant task for this is:

       <target name="wsdl2java-service" description="Runs wsdl2java to
generate the service artifacts, such as deploy.wsdd">
               <java classname="org.apache.axis.wsdl.WSDL2Java" fork="yes">
                       <arg value="--NStoPkg"/>
                       <arg value="${dao.types.namespace}=${dao.package}" />
                       <arg value="--NStoPkg"/>
                       <arg value="${wsdl.types.namespace}=${service.package}" />
                       <arg value="--NStoPkg"/>
                       <arg value="${service.package}" />
                       <arg value="--NStoPkg" />
                       <arg value="${ws.common.package}"
                       <arg value="--NStoPkg"/>
                       <arg value="${ws.common.package}"
                       <arg value="--NStoPkg"/>
                       <arg value="${ws.common.package}.exception"
                       <arg value="--all" />
                       <arg value="--noWrapped" />
                       <arg value="--server-side" />
                       <arg value="--output" />
                       <arg value="${service.src.dir}" />
                       <arg value="--verbose" />
                       <arg value="${service.wsdl.path}" />
                               <path refid="axis.classpath" />

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
If you want more information on JIRA, or have a bug to report see:

View raw message