AXIS2C- how to assign the variable from getter function of axis2c to COM object member variable

This is a discussion on AXIS2C- how to assign the variable from getter function of axis2c to COM object member variable within the Apache forums in Application Servers & Tools category; Hi, In Axis2C, having the structure that has character variable for example struct item{ char* status; ...... } the issue is : 1. getting the value from getter function for character variable of axis2c, it returns value. 2. trying to assign it to the above struct as struct item* getvalue = NULL; getvalue = (struct item*)malloc(sizeof(struct item)); getvalue->status = AXIS2_CREATEITEM_GET_STATUS(CreateItem, env); 3. and tassigning it to the COM object member variable but while debuging getvalue->status doesn't have value, both the function are in same process. can any one help how to assign the axis2c pointer variable to COM object. ? ...

Go Back   Application Development Forum > Application Servers & Tools > Apache

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 04-05-2007, 11:10 AM
Guest
 
Default AXIS2C- how to assign the variable from getter function of axis2c to COM object member variable


Hi,





In Axis2C, having the structure that has character variable



for example



struct item{



char* status;

......



}





the issue is :





1. getting the value from getter function for character variable of
axis2c, it returns value.



2. trying to assign it to the above struct as



struct item* getvalue = NULL;



getvalue = (struct item*)malloc(sizeof(struct item));



getvalue->status = AXIS2_CREATEITEM_GET_STATUS(CreateItem, env);





3. and tassigning it to the COM object member variable



but while debuging getvalue->status doesn't have value,



both the function are in same process.







can any one help how to assign the axis2c pointer variable to COM
object. ?



-Viji.













This e-mail and any files transmitted with it are for the sole use of theintended recipient(s) and may contain confidential and privilegedinformation.
If you are not the intended recipient, please contact the sender by replye-mail and destroy all copies of the original message.
Any unauthorized review, use, disclosure, dissemination, forwarding,printing or copying of this email or any action taken in reliance on thise-mail is strictly
prohibited and may be unlawful.
Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 05:21 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.