axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zhan.Zhaohua (JIRA)" <axis-c-...@ws.apache.org>
Subject [jira] Created: (AXISCPP-878) Couldn't output value from function parameter
Date Tue, 29 Nov 2005 01:58:37 GMT
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: Zhan.Zhaohua


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


Mime
View raw message