POJO, Axis2, element for Exception defined multiple times in WSDL
-----------------------------------------------------------------

                 Key: AXIS2-2759
                 URL: https://issues.apache.org/jira/browse/AXIS2-2759
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: wsdl
    Affects Versions: 1.2
            Reporter: Fat Suze


POJO service with Axis2:  All was working fine, until more than one method was 
throwing an Exception (the same Exception).  Now that multiple methods throw an 
Exception, the element gets put in the WSDL multiple times, causing my PHP SOAP 
client to die.   I'm new around here so let me know if this isn't enough 
information.  The simplest version of a class to replicate this is as follows:

package mypackage;

public class MyFunService
{
        public boolean action1() throws Exception
        {
                return true;
        }

        public boolean action2() throws Exception
        {
                return true;
        }
}

The WSDL axis provides at the ?wsdl url contains multiple instances of 
ExceptionFault, which causes my PHP SOAP client to die:

<xs:element name="ExceptionFault">
<xs:element name="action1">
<xs:element name="action1Response">
<xs:element name="ExceptionFault">
<xs:element name="action2">
<xs:element name="action2Response">

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to