Re: Problem with SVC client send_receieve method

2007-09-26 Thread Dumindu Pallewela
Hi Murali, This doesn't seem to me as a problem with ssl client. It rather is something to do with your rampart configuration. AFAIK, it is not correct to set the user name in axis2.xml. It has to be done with security policy. HTH, Dumindu. Murali Konnipati wrote: Hi Dumindu,

Re: Axis2C: compile error - 'struct' type redefinition

2007-09-26 Thread Samisa Abeysinghe
Can you send the program source so that I would try to compile and see. Samisa... Michael Mole wrote: I am getting some compile errors that I cannot resolve. I'm wondering if this is a known issue or if I'm doing something wrong. Here is the scenario: I have a C++ class that includes

Question on memory allocation / deallocation for AXIS_MALLOC

2007-09-26 Thread Sathya Raghunathan
Hi I have a question on memory allocation and deallocation: Suppose in my service function, I have created an object of a particular type (for ex: adb_pInterchange_t* myInt = adb_pInterchange_create(env);) This particular function uses AXIS_MALLOC to allocate memory for that particular object.

Re: Question on memory allocation / deallocation for AXIS_MALLOC

2007-09-26 Thread Sathya Raghunathan
I am seeing that there is a function call adb_pInterchange_free() that the wsdl2c code generator has generated. But where exactly should we call this? The service function has to return the object. After this, where can the memory be deallocated? Thanks Sathya On 9/26/07, Sathya Raghunathan

Question on reading from configuration files

2007-09-26 Thread Sathya Raghunathan
Hi My c application has an init function which has to be called once when the service comes up. It reads from a set of configuration files and stores all these details in memory until the life of the service, so that all the threads have access to them. If i have to convert this c application

Re: Axis2C: compile error - 'struct' type redefinition

2007-09-26 Thread Michael Mole
Let me first correct myself from before. The two conflicting headers are dirent.h and axis2_util.h. The following is a code snippet that will fail. Unfortunately, I can't just take out the #include dirent.h statement because my real code isn't including it directly. It's really buried deep

RE: Compiling and runtime errors WSDL2C

2007-09-26 Thread Callner, David A.
Is anyone going to look at this? I would really appreciate it. I'd hate to have to scratch using Axis2/C. From: Callner, David A. [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 25, 2007 8:34 AM To: Apache AXIS C User List

Question on user defined faults and multithreading (Please clarify this urgently for me)

2007-09-26 Thread Sathya Raghunathan
Hi 1) I can understand that multithreading is taken care of by axis2_http_server after reading one of the mailing lists. For a new request, a worker thread is created. I would like to know if the number of threads can be configured or not. Should i modify any parameter in the httpd.conf for this?

Re: Client crashed while recieving response

2007-09-26 Thread Dimuthu Gamage
Hi Sathya, Since your service is running fine, the error should be in the deserialize logic. And there were some bugs in the deserialize logic. But I think in the latest axis2/java source svn, these bugs are fixed. (At least current test cases are working fine) And AFIK the second problem (The