You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "nadir amra (JIRA)" <ax...@ws.apache.org> on 2012/06/16 00:06:42 UTC

[jira] [Resolved] (AXISCPP-439) Soap faults fail for primitive faults

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

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 http://svn.apache.org/viewvc?view=revision&revision=1350820.

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: https://issues.apache.org/jira/browse/AXISCPP-439
>             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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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