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 2005/05/27 00:38:03 UTC

[jira] Commented: (AXISCPP-656) dereference missing in WSDL2Ws autogenerated code

     [ http://issues.apache.org/jira/browse/AXISCPP-656?page=comments#action_66399 ]
     
nadir amra commented on AXISCPP-656:
------------------------------------

Should now be fixed.  

Change involved file wsdl/org/apache/axis/wsdl/wsdl2ws/cpp/literal/BeanParamWriter.java.

This was fixed at one time post release 1.5, version 1.63 of the file.  I would implore committers to ensure that they do compares prior to committing anything.

Now I need to figure out how to assign/close this issue.  

> dereference missing in WSDL2Ws autogenerated code
> -------------------------------------------------
>
>          Key: AXISCPP-656
>          URL: http://issues.apache.org/jira/browse/AXISCPP-656
>      Project: Axis-C++
>         Type: Bug
>   Components: WSDL processing - Doc
>     Versions: 1.6 Alpha
>  Environment: all
>     Reporter: Eric Ehlers

>
> In the array example WSDL2Ws generates file Type.cpp containing function Axis_DeSerialize_Type containing line
>     memcpy( param->item.m_Array, array.m_Array, sizeof( xsd__int) * array.m_Size);
> this should be
>     memcpy( param->item.m_Array, array.m_Array, sizeof( xsd__int*) * array.m_Size);
> you don't notice it with int as sizeof(int) = sizeof(int*) but replace int with double and axis crashes

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