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 "Zhan.Zhaohua (JIRA)" <ax...@ws.apache.org> on 2005/11/29 02:58:37 UTC

[jira] Created: (AXISCPP-878) Couldn't output value from function parameter

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


[jira] Commented: (AXISCPP-878) Couldn't output value from function parameter

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

SDCC commented on AXISCPP-878:
------------------------------

Dear developer or admin,

Could some developer or admin of axis-C++ project help me to remove this issue record ? 

We created this issue for test-only, but then we found that we can not remove or even edit it, because we are not formal developer of axis-C++.

My boss asked me to report it through another formal user-id("mxiong").
So I've used my formal account id("mxiong") to create the same issue again,  with the same content, but different issue-id: AXISCPP-884 .

So I want this issue been tracking and resolved through AXISCPP-884 instead:
http://issues.apache.org/jira/browse/AXISCPP-884

Thanks a lot.

Your sincerely,
michael.xiong@chn.fujixerox.com




> 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


[jira] Closed: (AXISCPP-878) Couldn't output value from function parameter

Posted by "John Hawkins (JIRA)" <ax...@ws.apache.org>.
     [ 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