You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Davanum Srinivas (JIRA)" <ji...@apache.org> on 2007/06/06 17:20:26 UTC

[jira] Resolved: (AXIS2-2759) POJO, Axis2, element for Exception defined multiple times in WSDL

     [ https://issues.apache.org/jira/browse/AXIS2-2759?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Davanum Srinivas resolved AXIS2-2759.
-------------------------------------

    Resolution: Fixed

Fixed in svn revision 544864

thanks,
dims

> 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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org