axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "nadir amra (JIRA)" <>
Subject [jira] [Resolved] (AXISCPP-439) Soap faults fail for primitive faults
Date Fri, 15 Jun 2012 22:06:42 GMT


nadir amra resolved AXISCPP-439.

       Resolution: Fixed
    Fix Version/s: current (nightly)

Fixed problem with SOAP faults that are based on primitive types.  Basically for simple faults
we retrieve the value as a string and store it in the detail field of the OtherFaultException.
 Fix is in revision

I will be moving the SOAP 1.2 material in this issue to defect   AXISCPP-1089 Add support
for SOAP 1.2.  

I will wait to close issue once I have a test case in test bucket. 

> Soap faults fail for primitive faults
> -------------------------------------
>                 Key: AXISCPP-439
>                 URL:
>             Project: Axis-C++
>          Issue Type: Bug
>          Components: SOAP
>            Reporter: Mark Whitlock
>             Fix For: current (nightly)
>         Attachments: pic02743.jpg, pic04035.jpg
> I changed the FaultMappingDoc.wsdl so that DivByZeroStruct was an xsd:int instead of
a DivByZeroStruct. So usually FaultMappingDoc.wsdl has ...
> <element name="DivByZeroStruct" nillable="true" type="impl:DivByZeroStruct"/>
> but I changed it to 
> <element name="DivByZeroStruct" nillable="true" type="xsd:int"/>
> so the user soap fault is a primitive not a complex type. 
> When I ran wsdl2ws, the generated classes did not even compile, let alone run. I think
the same problem would occur if the fault was defined to be an array.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


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

View raw message