axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Cowing (JIRA)" <>
Subject [jira] Created: (AXIS2-922) WSDL2Java generates incorrect code for multiple faults
Date Sun, 23 Jul 2006 14:07:13 GMT
WSDL2Java generates incorrect code for multiple faults

                 Key: AXIS2-922
             Project: Apache Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: Tools
            Reporter: Dave Cowing

When I run WSDL2Java on a wsdl that has 3 faults for a service, the generated skeleton is
1) the service method declaration in the skeleton has the right number of faults in the throws
portion, but they're all the same:
           throws com.example.cis.UpdateMemberSkeleton.InvalidMemberIdFaultException,com.example.cis.UpdateMemberSkeleton.InvalidMemberIdFaultException,com.example.cis.UpdateMemberSkeleton.InvalidMemberIdFaultException{

2) Only one fault exception class is generated in the skeleton, when there should be three.

I'm attaching my wsdl, as well as the generated skeleton.

My wsdl call is:
       <java classname="org.apache.axis2.wsdl.WSDL2Java" fork="true">
            <classpath refid="axis.classpath"/> 
            <arg value="-uri"/>
            <arg file="web\wsdl\Services.wsdl"/>
            <arg value="-ss"/>
            <arg value="-sd"/>
            <arg value="-d"/>
            <arg value="adb"/>
            <arg value="-g"/>
            <arg value="-sn"/>
            <arg value="updateMember"/>
            <arg value="-o"/>
            <arg file="${ws.gen.dir}"/>
            <arg value="-p"/>
            <arg value="com.example.cis"/>

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message