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 "Mark Whitlock (JIRA)" <ax...@ws.apache.org> on 2005/02/15 22:44:44 UTC

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

Soap faults fail for primitive faults
-------------------------------------

         Key: AXISCPP-439
         URL: http://issues.apache.org/jira/browse/AXISCPP-439
     Project: Axis-C++
        Type: Bug
  Components: SOAP  
    Reporter: Mark Whitlock


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 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


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

Posted by "Dushshantha Chandradasa (JIRA)" <ax...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/AXISCPP-439?page=comments#action_12317018 ] 

Dushshantha Chandradasa commented on AXISCPP-439:
-------------------------------------------------

I fixed the deserialization problem associated with complex type faults (AXISCPP-259). Now complex  fault types are OK.

Could u please explain this little bit more then i can look in to this as well.



> Soap faults fail for primitive faults
> -------------------------------------
>
>          Key: AXISCPP-439
>          URL: http://issues.apache.org/jira/browse/AXISCPP-439
>      Project: Axis-C++
>         Type: Bug
>   Components: SOAP
>     Reporter: Mark Whitlock
>     Assignee: Dushshantha Chandradasa

>
> 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 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


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

Posted by "Dushshantha Chandradasa (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXISCPP-439?page=all ]

Dushshantha Chandradasa updated AXISCPP-439:
--------------------------------------------

    Attachment: pic02743.jpg

> Soap faults fail for primitive faults
> -------------------------------------
>
>          Key: AXISCPP-439
>          URL: http://issues.apache.org/jira/browse/AXISCPP-439
>      Project: Axis-C++
>         Type: Bug
>   Components: SOAP
>     Reporter: Mark Whitlock
>     Assignee: Dushshantha Chandradasa
>  Attachments: pic02743.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 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


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

Posted by "Dushshantha Chandradasa (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXISCPP-439?page=all ]

Dushshantha Chandradasa reassigned AXISCPP-439:
-----------------------------------------------

    Assign To: Dushshantha Chandradasa

> Soap faults fail for primitive faults
> -------------------------------------
>
>          Key: AXISCPP-439
>          URL: http://issues.apache.org/jira/browse/AXISCPP-439
>      Project: Axis-C++
>         Type: Bug
>   Components: SOAP
>     Reporter: Mark Whitlock
>     Assignee: Dushshantha Chandradasa

>
> 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 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


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

Posted by "Dushshantha Chandradasa (JIRA)" <ax...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/AXISCPP-439?page=comments#action_12329939 ] 

Dushshantha Chandradasa commented on AXISCPP-439:
-------------------------------------------------

Is somebody working on SOAP 1.2 support?? or are we done with that?? if so, then i can start looking in to this

> Soap faults fail for primitive faults
> -------------------------------------
>
>          Key: AXISCPP-439
>          URL: http://issues.apache.org/jira/browse/AXISCPP-439
>      Project: Axis-C++
>         Type: Bug
>   Components: SOAP
>     Reporter: Mark Whitlock
>     Assignee: Dushshantha Chandradasa
>  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 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


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

Posted by "Adrian Dick (JIRA)" <ax...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/AXISCPP-439?page=comments#action_12317479 ] 

Adrian Dick commented on AXISCPP-439:
-------------------------------------

Dushshantha, Mark, et al.

A while back I made a proposal for re-working the current Fault model to support both SOAP 1.1 and 1.2.  As part of that proposal I also ensured that we could support primitive detail elements.

See http://marc.theaimsgroup.com/?l=axis-c-dev&m=111640463326474&w=2 for the full description and UML, feel free to ask if you have any questions.

Adrian

> Soap faults fail for primitive faults
> -------------------------------------
>
>          Key: AXISCPP-439
>          URL: http://issues.apache.org/jira/browse/AXISCPP-439
>      Project: Axis-C++
>         Type: Bug
>   Components: SOAP
>     Reporter: Mark Whitlock
>     Assignee: Dushshantha Chandradasa

>
> 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 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


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

Posted by "John Hawkins (JIRA)" <ax...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/AXISCPP-439?page=comments#action_12329979 ] 

John Hawkins commented on AXISCPP-439:
--------------------------------------

We ran out of mips to do the 1.2 support. Perhaps you can look into implementing the exception model for this defect?

> Soap faults fail for primitive faults
> -------------------------------------
>
>          Key: AXISCPP-439
>          URL: http://issues.apache.org/jira/browse/AXISCPP-439
>      Project: Axis-C++
>         Type: Bug
>   Components: SOAP
>     Reporter: Mark Whitlock
>     Assignee: Dushshantha Chandradasa
>  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 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


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

Posted by "Dushshantha Chandradasa (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXISCPP-439?page=all ]

Dushshantha Chandradasa updated AXISCPP-439:
--------------------------------------------

    Attachment: pic04035.jpg

I attached the object model that Adrian has designed for Fault model which supports SOAP 1.1 and 1.2. Still we don't use SOAP 1.2 in Axis C++. I think Adrian is working on that. Shall we look in to this after anabling SOAP 1.2 ???

> Soap faults fail for primitive faults
> -------------------------------------
>
>          Key: AXISCPP-439
>          URL: http://issues.apache.org/jira/browse/AXISCPP-439
>      Project: Axis-C++
>         Type: Bug
>   Components: SOAP
>     Reporter: Mark Whitlock
>     Assignee: Dushshantha Chandradasa
>  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 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


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

Posted by "Dushshantha Chandradasa (JIRA)" <ax...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/AXISCPP-439?page=comments#action_12317472 ] 

Dushshantha Chandradasa commented on AXISCPP-439:
-------------------------------------------------

Hi Mark,

Yes, i too noticed the problem. wsdl2ws tool treats primitive faults in the same way it treats complex ones. I think We will have to make  huge  modifications in Serializer, deserializer and sdl2ws tool to fix this problem.




> Soap faults fail for primitive faults
> -------------------------------------
>
>          Key: AXISCPP-439
>          URL: http://issues.apache.org/jira/browse/AXISCPP-439
>      Project: Axis-C++
>         Type: Bug
>   Components: SOAP
>     Reporter: Mark Whitlock
>     Assignee: Dushshantha Chandradasa

>
> 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 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


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

Posted by "Dushshantha Chandradasa (JIRA)" <ax...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/AXISCPP-439?page=all ]

Dushshantha Chandradasa reassigned AXISCPP-439:
-----------------------------------------------

    Assign To:     (was: Dushshantha Chandradasa)

i have unassigned this issue from me, because im out from the project for some time.. 

i would like to take this oppotunity to thank all the dev team members as well as the user community for their helpfulness.



Thanks,
Dushshantha

> Soap faults fail for primitive faults
> -------------------------------------
>
>          Key: AXISCPP-439
>          URL: http://issues.apache.org/jira/browse/AXISCPP-439
>      Project: Axis-C++
>         Type: Bug
>   Components: SOAP
>     Reporter: Mark Whitlock
>  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 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