Re: [AXIS2C] memory management

2007-06-19 Thread Samisa Abeysinghe
Shailesh Srivastava wrote: Once the response string is formed, you need to free the local memory allocated to retVal. If axis2_getStringResponse_set_return method does a deep copy you can free retVal. This should ideally be freed by axis2_getStringResponse_free method, that is to be called

Re: [AXIS2C] memory management

2007-06-19 Thread Dr. Florian Steinborn
Thanks for the answers - unfortunately it raises more questions... 1. deep copy - should this mean to really copy something (by allocating new memory) and not just let a pointer to point to a certain piece of memory? 2. The function axis2_getStringResponse_set_return() is generated. The

[AXIS2C] session management

2007-06-19 Thread Dr. Florian Steinborn
Hi folks, are there attempts to implement a session management in the AXIS2C (simple server)? We would be willing to implement something like this and wanted to know if there is a basis (also in the libraries...) Thanks, Flori

Re: problems with ws and corba call in one client

2007-06-19 Thread Samisa Abeysinghe
Juergen Haeussler wrote: Do we have to free anything else or to close any connections to the server or something like that? (If we have a look at our network connections via netstat, we se that the connection to the jboss remains opened.) There is no need to close any connections. Please have

Re: [AXIS2C] memory management

2007-06-19 Thread Dr. Florian Steinborn
Hi Samisa, 3. Do I understand correctly, nobody else frees the memory if not the user does it? Cannot imagine that - all the generated services would be giantic memory holes... The model is that the user got to free it. The notion of user got to free it makes sense, as the user has

A compiling problem

2007-06-19 Thread Wang, Hailong (NIH/CIT) [C]
Hi, I tried to build the echo sample, but I got linking errors as following: 1echo.obj : error LNK2019: unresolved external symbol [EMAIL PROTECTED] referenced in function _main 1echo.obj : error LNK2019: unresolved external symbol [EMAIL PROTECTED] referenced in function _main 1echo.obj

Re: A compiling problem

2007-06-19 Thread Manjula Peiris
Hi Wang, Did you add %AXIS2C_HOME%\lib to the %PATH% enviornment varaible ? -Manjula On Tue, 2007-06-19 at 14:00 -0400, Wang, Hailong (NIH/CIT) [C] wrote: Hi, I tried to build the echo sample, but I got linking errors as following: 1echo.obj : error LNK2019: unresolved