Re: Linking hello_svc.c example

2008-05-15 Thread Dinesh Premalal
Hi Andreas, On Fri, May 16, 2008 at 2:33 AM, Andreas Karseras <[EMAIL PROTECTED]> wrote: > Apologies if this is a basic question but am having trouble linking now. > > Am seeing "undefined reference to..." errors but believe I have all the > correct libraries linked. > > The problematic referenc

Re: Memory leak report for Axis2c 1.4 - one more

2008-05-15 Thread Dinesh Premalal
Hi Steven, Could you please create a Jira for this issue. That would be easy to manage. thanks, Dinesh On Fri, May 16, 2008 at 5:05 AM, Steven Zhang <[EMAIL PROTECTED]> wrote: > One more memory leak: > src\core\transport\http\sender\http_client.c: > axis2_http_client_recieve_heade

Re: Memory leak report for Axis2c 1.4

2008-05-15 Thread Milinda Pathirage
Hi all, I think this leak only exists in Windows. This is caused by following code. #ifdef WIN32 attr_name_str = axutil_string_create(env, attr_name); axiom_xml_reader_xml_free(om_builder->parser, env, attr_name); #else There are so many places in om_stax_builder.c where we have u

Re: Memory leak report for Axis2c 1.4 - one more

2008-05-15 Thread Samisa Abeysinghe
Steven Zhang wrote: One more memory leak: src\core\transport\http\sender\http_client.c: axis2_http_client_recieve_header(), line 486, status_line pointer. There is a while loop to receive and parse multiple status lines from HTTP header into status_line pointer, howerver this pointer is free

Re: Memory leak report for Axis2c 1.4 - one more

2008-05-15 Thread Steven Zhang
One more memory leak: src\core\transport\http\sender\http_client.c: axis2_http_client_recieve_header(), line 486, status_line pointer. There is a while loop to receive and parse multiple status lines from HTTP header into status_line pointer, howerver this pointer is freed for only once at l

Re: Memory leak report for Axis2c 1.4

2008-05-15 Thread Samisa Abeysinghe
Steven Zhang wrote: Hi: I just finded memory leak in Axis2 1.4 GUTHTHILA: 1. guththila_xml_read_wrapper.c: guththila_xml_reader_wrapper_xml_free(), line 581, call to AXIS2_FREE() for string buffer was commented, cause tens K memory leak for each request. Why this one is commented? 2. guththi

Memory leak report for Axis2c 1.4

2008-05-15 Thread Steven Zhang
Hi: I just finded memory leak in Axis2 1.4 GUTHTHILA: 1. guththila_xml_read_wrapper.c: guththila_xml_reader_wrapper_xml_free(), line 581, call to AXIS2_FREE() for string buffer was commented, cause tens K memory leak for each request. Why this one is commented? 2. guththila_xml_writer.c: guth

Re: Linking hello_svc.c example

2008-05-15 Thread Samisa Abeysinghe
Andreas Karseras wrote: Apologies if this is a basic question but am having trouble linking now. Am seeing "undefined reference to..." errors but believe I have all the correct libraries linked. The problematic references include axiom_node_get_first_child, axiom_node_get_node_type, axiom_nod

Linking hello_svc.c example

2008-05-15 Thread Andreas Karseras
Apologies if this is a basic question but am having trouble linking now. Am seeing "undefined reference to..." errors but believe I have all the correct libraries linked. The problematic references include axiom_node_get_first_child, axiom_node_get_node_type, axiom_node_get_data_element etc. I

Re: hello_svc.c Example Compile Problem

2008-05-15 Thread Andreas Karseras
Yep, that did it...many thanks ! - Original Message From: Samisa Abeysinghe <[EMAIL PROTECTED]> To: Apache AXIS C User List Sent: Thursday, May 15, 2008 3:43:01 PM Subject: Re: hello_svc.c Example Compile Problem OK, your problem comes form #if defined(WIN32) && !defined(AXIS2_SKIP_IN

Re: hello_svc.c Example Compile Problem

2008-05-15 Thread Samisa Abeysinghe
OK, your problem comes form #if defined(WIN32) && !defined(AXIS2_SKIP_INT_TYPEDEFS) You are on Windows, but you are not using VC. Can you please add -DAXIS2_SKIP_INT_TYPEDEFS=1 to your compilation and see what the outcome is? Thanks, Samisa... Andreas Karseras wrote: Thanks for your respon

Re: hello_svc.c Example Compile Problem

2008-05-15 Thread Samisa Abeysinghe
Sreenivasulu Gelle wrote: -Original Message- From: Samisa Abeysinghe [mailto:[EMAIL PROTECTED] Sent: Thursday, May 15, 2008 11:41 AM To: Apache AXIS C User List Subject: Re: hello_svc.c Example Compile Problem Sreenivasulu Gelle wrote: > > HI All, > > I'm trying to build axis-c(1.3.

RE: Soap request to Microsoft .NET web services

2008-05-15 Thread Fan, Jan-fon
Thank you so much Kau! Yes, you are right. After passing the namespace, it is working now. Jan-fon -Original Message- From: Kaushalye Kapuruge [mailto:[EMAIL PROTECTED] Sent: Thursday, May 15, 2008 12:46 PM To: Apache AXIS C User List Subject: Re: Soap request to Microsoft .NET web servi

Re: Soap request to Microsoft .NET web services

2008-05-15 Thread Kaushalye Kapuruge
Fan, Jan-fon wrote: Hi Steven, Samisa, Per Samisa’s suggest, I added: ns1 = axiom_namespace_create(env, "http://scxpd9984.amr.corp.intel.com/webservices/";, "ns1"); echo_om_ele = axiom_element_create(env, NULL, "HelloWorld", ns1, &echo_om_node); but the return is still the same – the nam

Re: hello_svc.c Example Compile Problem

2008-05-15 Thread Andreas Karseras
Thanks for your response. Compiling the echo service gives similar errors... D:/axis2c/include/axutil_utils_defines.h:37: error: syntax error before "uint8_t" D:/axis2c/include/axutil_utils_defines.h:37: warning: type defaults to `int' in declaration of `uint8_t' D:/axis2c/include/axutil_utils_

RE: Soap request to Microsoft .NET web services

2008-05-15 Thread Fan, Jan-fon
Hi Steven, Samisa, Per Samisa's suggest, I added: ns1 = axiom_namespace_create(env, "http://scxpd9984.amr.corp.intel.com/webservices/";, "ns1"); echo_om_ele = axiom_element_create(env, NULL, "HelloWorld", ns1, &echo_om_node); but the return is still the same - the name part is missing. Th

RE: hello_svc.c Example Compile Problem

2008-05-15 Thread Sreenivasulu Gelle
-Original Message- From: Samisa Abeysinghe [mailto:[EMAIL PROTECTED] Sent: Thursday, May 15, 2008 11:41 AM To: Apache AXIS C User List Subject: Re: hello_svc.c Example Compile Problem Sreenivasulu Gelle wrote: > > HI All, > > I'm trying to build axis-c(1.3.0) on* Solaris 10* UISNG* SunSt

Re: Soap request to Microsoft .NET web services

2008-05-15 Thread Samisa Abeysinghe
Steven Zhang wrote: 1. The namespace of HelloWorld must match, otherwise the service can't locate the method. 2. The "soap" and "soapenv" is not an issue when their namespace are the same. 3. I wander you can get result. I always receive failure because SoapAction is not specified in the HTTP h

Re: hello_svc.c Example Compile Problem

2008-05-15 Thread Samisa Abeysinghe
Sreenivasulu Gelle wrote: HI All, I'm trying to build axis-c(1.3.0) on* Solaris 10* UISNG* SunStudio11* Compiler in* 64-bit mode*. And I'm getting lot of compilation errors. What are the problems that you run into? Have you raised a Jira issue on this? I would like to know which compile

Re: Soap request to Microsoft .NET web services

2008-05-15 Thread Steven Zhang
1. The namespace of HelloWorld must match, otherwise the service can't locate the method. 2. The "soap" and "soapenv" is not an issue when their namespace are the same. 3. I wander you can get result. I always receive failure because SoapAction is not specified in the HTTP header. I have to fix i

RE: hello_svc.c Example Compile Problem

2008-05-15 Thread Sreenivasulu Gelle
HI All, I'm trying to build axis-c(1.3.0) on Solaris 10 UISNG SunStudio11 Compiler in 64-bit mode. And I'm getting lot of compilation errors. I would like to know which compilers are supported to build AXIS-C source code. Does it build with only GCC compiler?? In next 2 weeks I'm planning to bui

Re: Soap request to Microsoft .NET web services

2008-05-15 Thread Samisa Abeysinghe
Fan, Jan-fon wrote: Hi, I created a simple “hello world” web services by using Microsoft .NET. User specifies the first name and last name, this service just returns “Hello World first_name last_name” to the user. The soap request defined for this web services is: http://www.w3.org/2001/XM

Re: hello_svc.c Example Compile Problem

2008-05-15 Thread Samisa Abeysinghe
To me it looks as if it cannot locate some of the headers, some system headers. Can you double check the includes please? Also, does echo work for you? If so, you can try and compile echo service and look for the compile options used in there. Thanks, Samisa... Andreas Karseras wrote: Hi,

Soap request to Microsoft .NET web services

2008-05-15 Thread Fan, Jan-fon
Hi, I created a simple "hello world" web services by using Microsoft .NET. User specifies the first name and last name, this service just returns "Hello World first_name last_name" to the user. The soap request defined for this web services is: http://www.w3.org/2001/XMLSchema-instance"; xmln

hello_svc.c Example Compile Problem

2008-05-15 Thread Andreas Karseras
Hi, I am seeing a problem when compiling the hello_svc.c source file from the Axis2/C Manual with release 1.4.0. The hello.c compiles without a problem. The problem appears to concern axutil_utils_defines.h - an example of the errors and warning are as follows:- D:/axis2c/include/axutil_utils_

Re: Axis2/C Performance Article

2008-05-15 Thread Samisa Abeysinghe
Supun Kamburugamuva wrote: I think I have found the reason behind Guththila's low performance on large data sets. Guththila's token cache gets too big in large requests. A simple release statement was missing in the code and that causes the cache to get too big. I need to investigate further on

Re: Axis2/C Performance Article

2008-05-15 Thread Supun Kamburugamuva
I think I have found the reason behind Guththila's low performance on large data sets. Guththila's token cache gets too big in large requests. A simple release statement was missing in the code and that causes the cache to get too big. I need to investigate further on this and want to run the perfo