[ http://issues.apache.org/jira/browse/AXISCPP-878?page=all ]
     
John Hawkins closed AXISCPP-878:
--------------------------------

    Resolution: Duplicate

> Couldn't output value from function parameter
> ---------------------------------------------
>
>          Key: AXISCPP-878
>          URL: http://issues.apache.org/jira/browse/AXISCPP-878
>      Project: Axis-C++
>         Type: Improvement
>     Versions: 1.5 Final
>  Environment: Platform: 
>         Linux fedora 3.0
> Axis version: 
>         Server-side     Axis C++ 1.5
> XML Parser Lib: 
>       xersesc 2.6
> WSDL2ws tool by using axis java 1.2RC3 jar 
> Client-side version Axis java 1.2RC3
> Http Server Version:
>       Apache 2.0.53
>       Tomcat 2.0.58
>     Reporter: SDCC

>
> Error Statement:
>       Axis 1.5 provide interface to deserialize string, but deserialize 
> string result couldn't be output only by using input parameter. Modify 
> parameter pValue type to reference type, to pass value by reference, then 
> could get output value from parameter.
> Error Code: modified three files:
> In $AXISCPP_HOME\src\soap\SoapDeSerializer.cpp
> Function: SoapDeSerializer::getChardataAs(void *pValue, XSDTYPE type)
> Line : 4453
> //Remove the following line
> /*void
> SoapDeSerializer::getChardataAs (void *pValue, XSDTYPE type)*/
> // ++
> void
> SoapDeSerializer::getChardataAs (void *&pValue, XSDTYPE type)
> // --
>            
> In $AXISCPP_HOME\src\soap\SoapDeSerializer.h
> Line :246
> // ++         
> void getChardataAs(void*& pValue, XSDTYPE type);
> //void getChardataAs(void* pValue, XSDTYPE type);
> // --
> In $AXISCPP_HOME/include/axis/IWrapperSoapDeSerializer.hpp
> Line: 160
> // ++
> // virtual void getChardataAs(void* pValue, XSDTYPE type)=0;
> virtual void getChardataAs(void*& pValue, XSDTYPE type)=0;
> // --

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

Reply via email to