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 ji...@apache.org on 2004/04/06 18:36:43 UTC

[jira] Commented: (AXIS-1288) Operation can't have more than one fault

The following comment has been added to this issue:

     Author: Davanum Srinivas
    Created: Tue, 6 Apr 2004 9:36 AM
       Body:
Can you please upload your sample code, wsdl etc. for us to recreate the problem? If you have a patch that would be great as well.

thanks,
dims
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/AXIS-1288?page=comments#action_27977

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/AXIS-1288

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXIS-1288
    Summary: Operation can't have more than one fault
       Type: Bug

     Status: Unassigned
   Priority: Major

    Project: Axis

   Assignee: 
   Reporter: Lisa Preston

    Created: Tue, 6 Apr 2004 8:31 AM
    Updated: Tue, 6 Apr 2004 9:36 AM
Environment: Java 1.4.1_03
Axis 1.2

Description:

My project is using a WSDL to define a web service.  We would like to use SOAP faults to indicate that the user has does something incorrectly, but we want to have different faults for different mistakes.

When using just one fault per operation, there was no problem.  As soon as we added more faults to the operations (max 3), the WSDL2Java program would still work, but the client code (Axis also) would not properly deserialize proper responses from the server that did not contain faults. (I don't know what happens when there is a fault in the response)

Is this a bug in Axis?  I believe the WSDL spec allows an infinite amount of faults to be defined for an operation, as long as the binding and port type agree on the number.




---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira