axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eran Chinthaka (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2-1705) Invalid data bound faults handling when there are multiple exceptions
Date Tue, 14 Nov 2006 16:46:41 GMT
Invalid data bound faults handling when there are multiple exceptions
---------------------------------------------------------------------

                 Key: AXIS2-1705
                 URL: http://issues.apache.org/jira/browse/AXIS2-1705
             Project: Apache Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: adb
            Reporter: Eran Chinthaka
         Assigned To: Amila Chinthaka Suriarachchi
            Priority: Critical


I have a WSDL which has two faults defined in it. All the operations except one uses both
the exceptions.  The method which has only one exception is an IN only operation. So when
I code-gen for this, I get a INOnlyMessage receiver, but it is trying to catch both the faults.

The reason for this is, we first get *all* the faults defined for a particular service and
catch them in every message receiver. 

How to regen the problem
====================
Get all the *.xsd and *.wsdl files from http://dev.w3.org/cvsweb//2002/ws/desc/test-suite/documents/good/MessageTest-1G/.
Use WSDL2Java with "-wv 2". You will see a compile error in MessageTestServiceMessageReceiverInOnly.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message