RE: Axis2/C 1.2 breaks my webservice

2008-03-05 Thread Liu_Edward
Hi Senaka, I am working with Subra on resolving this issue, and I am having no luck in getting Axis2/C 1.3.0 to work with the libraries he already discussed about in previous threads. Even removing the "-static-libgcc" flag during compilation of our libraries does not resolve the issue. Ed

Question about axiom_element_set_text

2007-11-20 Thread Liu_Edward
Hi, I have a general issue about the axiom_element_set_text function. I see that it requires an axiom_element_t* object as one of its arguments. After looking in the source code, I noticed that this object is never used at all in axiom_element_set_text. It seems inconvenient to declare an axiom_e

Freeing in axutil_array_list

2007-11-20 Thread Liu_Edward
I did some investigation in the source code for axutil_array_list_free and I noticed that the individual array elements in array_list are not being freed up, just the entire data object. From my diff, here is the change I made (lines starting with the plus): Index: util/src/array_list.c =

Axis2/C Memory Leaks

2007-11-19 Thread Liu_Edward
Hi, I am designing some web service client code using the Axis2/C framework (used WSDL2C to generate client stubs that call the framework). I have a separate executable C file (C file that a main()) that calls the stub. When I ran valgrind initially on it, I saw many memory leaks from this; 49 lo

RE: Axis2/C Memory Leak Issues

2007-10-29 Thread Liu_Edward
Hi Dinesh, I would be willing to help out in fixing the memory leak issues with Axis2/C. I have used a couple tools to notice that the memory leaks occur, but what would you recommend I should use to find out the exact location of these memory leaks? How would I use valgrind to check for the mem

RE: SOAP 1.1 Fault Handling

2007-08-28 Thread Liu_Edward
I have tried doing as you said, Nandika. But, I am still not able to get a non-NULL value for the axiom_soap_fault_reason variable. I know that when a fault reaches the client, I have other code that can print the "faultstring" and "faultcode" without using the axiom_soap_fault.h functions. Howe

RE: SOAP 1.1 Fault Handling

2007-08-24 Thread Liu_Edward
What you are suggesting for me to do is what I have already tried and it is not working. I can test it again and see what I get, but I doubt it will work. From: Nandika Jayawardana [mailto:[EMAIL PROTECTED] Sent: Friday, August 24, 2007 4:47 AM To: Apache AXIS C

RE: SOAP 1.1 Fault Handling

2007-08-23 Thread Liu_Edward
Also, sorry for not waiting for a response, but I have tried this code as well: axiom_soap_fault_reason_t* reason = axiom_soap_fault_get_reason(soap_fault, env); if (reason == NULL) { printf("\nENDING...\n"); exit(0); } axiom_soap_fault_text_t* reason_text = axiom_soap_fault_reason

SOAP 1.1 Fault Handling

2007-08-23 Thread Liu_Edward
I am having an issue handling a SOAP 1.1 fault. So far, I am successful up to this point: axiom_soap_fault_t* soap_fault = axiom_soap_body_get_fault(soap_body, env); I next run this line: axiom_node_t* fault_node = axiom_soap_fault_get_base_node(soap_fault, env); I know that this node is not e

SOAP Fault Segmentation Fault

2007-08-21 Thread Liu_Edward
I am just to run this snippet of code that I have designed: if (axiom_soap_body_has_fault((axiom_soap_body_t*)create_resp, env)) { axiom_soap_fault_t* fault = axiom_soap_body_get_fault( (axiom_soap_body_t*)cre