thread safe axis2c api calls

2008-09-12 Thread Tammy Martin
Hello all,

Are the axis2c api calls thread safe?

Thanks,
Tammy


Simplifying code generated by adb

2008-09-12 Thread Raghu Udupa
I am using codegen with adb option to generate code for client stub and
service processing. I have many simple string types defined in the XML
schema. There is a significant amount of repetitive code generated for
various elements. Generated code works properly. 

 

Is there a way, I mean, suggested guidelines to simplify the code
generated to make all similar elements to share same methods?

 

Thanks,

Raghu

 

 



RE: echo samples with Axis2/C Module for Apache2

2008-09-12 Thread Gold, Jack L (US SSA)
Supun,

I decided to try this again this morning with the math
sample.  Using TCPMon, I sent the command to "add 40 8
http://localhost/axis2/services/math";

 

>From this log message in the axis2.log I took this morning, it looks as
though the request is getting through to the server:

 

[Fri Sep 12 08:21:23 2008] [debug] apache2_worker.c(199)
http://localhost/axis2/services/math/

[Fri Sep 12 08:21:23 2008] [debug] apache2_worker.c(229) Client HTTP
version HTTP/1.1

[Fri Sep 12 08:22:15 2008] [debug] apache2_worker.c(199)
http://localhost/axis2/services/math/

[Fri Sep 12 08:22:15 2008] [debug] apache2_worker.c(229) Client HTTP
version HTTP/1.1

 

I get: 500 Internal Server
ErrorInternal Server ErrorThe server
encountered an unexpected condition which prevented it from fulfilling
the request..

 

The axis2.log doesn't tell me any more than that.

 

Interestingly, I checked the access_log for Apache and found that when I
attempt to call the math sample from the command line:

 

./math add 40 8 http://localhost/axis2/services/math

 

I get a "POST /axis2/services/math HTTP/1.1" 301 318 "-" "Axis2C/1.5.0"

 

Whereas, if I send the request via TCPMon, 

 

I get a "POST /axis2/services/math HTTP/1.1" 500 210 "-" "Axis/2.0"

 

Why would the Axis version be different depending on how I call it?
There is only one server and module running as far as I know.

 

--Jack

 

  _  

From: Supun Kamburugamuva [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 12, 2008 5:48 AM
To: Apache AXIS C User List
Subject: Re: echo samples with Axis2/C Module for Apache2

 

Hi Jack,

>From your log files it seems that the client request has not reached the
server. You can use a tool like tcpmon[]1 to verify this. Send the
request through tcpmon and you will see weather it reaches the target.  

[1] http://ws.apache.org/commons/tcpmon/download.cgi

Supun..

On Thu, Sep 11, 2008 at 5:58 PM, Qasim Ijaz <[EMAIL PROTECTED]> wrote:

How can I get off this list? I have tried in the past but the email
address for unsubscribing doesn't work. Can anyone help?

 

Thanks.

 

Qasim.

 

  _  

From: Gold, Jack L (US SSA) [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 11, 2008 7:57 AM


To: Apache AXIS C User List

Subject: RE: echo samples with Axis2/C Module for Apache2

 

The spam filter is preventing reception of the math_blocking.log file.
Sorry.  I don't know how else to post it to you.

 

--Jack

 

  _  

From: Supun Kamburugamuva [mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 11, 2008 1:45 AM
To: Apache AXIS C User List
Subject: Re: echo samples with Axis2/C Module for Apache2

 

Can you please send the server log file for the failed test cases with
Apache Server? Usually if a sample works with axis2_http_server it works
with Apache server as well. Please note that google and yahoo sample
failures have nothing to do with the local server. These requests go to
google and yahoo servers respectively. 

Supun..

On Thu, Sep 11, 2008 at 12:37 AM, Gold, Jack L (US SSA)
<[EMAIL PROTECTED]> wrote:

It seems that some of the services are working and echo was just an
example of one that wasn't.  I have now run all the samples.

Under Libmod_axis2 with Apache2:

echo - Fails
echo_blocking - Succeeds
echo_blocking_addr - Succeeds
echo_blocking_auth - succeeds
echo_blocking_dual - succeeds
echo_blocking_soap11 - succeeds
echo_non_blocking - succeeds
echo_non_blocking_dual - succeeds
echo_rest - fails
google - soap fault
math - fails
mtom - fails
notify - fails
yahoosearch - fails

Under axis_simple_server:

echo - Succeeds
echo_blocking - Succeeds
echo_blocking_addr - Succeeds
echo_blocking_auth - succeeds
echo_blocking_dual - succeeds
echo_blocking_soap11 - succeeds
echo_non_blocking - succeeds
echo_non_blocking_dual - succeeds
echo_rest - succeeds
google - soap fault
math - succeeds
mtom - succeeds
notify - succeeds
yahoosearch - fails

I would have expected the same results through both servers with maybe
the exception of echo_rest and mtom.  What bothers me is that some of
the tests are successful only on the simple axis server, yet some work
in both configurations.  Any ideas?

--Jack



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-- 
Software Engineer, WSO2 Inc




-- 
Software Engineer, WSO2 Inc
http://wso2.com



Re: echo samples with Axis2/C Module for Apache2

2008-09-12 Thread Supun Kamburugamuva
Hi Jack,

>From your log files it seems that the client request has not reached the
server. You can use a tool like tcpmon[]1 to verify this. Send the request
through tcpmon and you will see weather it reaches the target.

[1] http://ws.apache.org/commons/tcpmon/download.cgi

Supun..

On Thu, Sep 11, 2008 at 5:58 PM, Qasim Ijaz <[EMAIL PROTECTED]> wrote:

>  How can I get off this list? I have tried in the past but the email
> address for unsubscribing doesn't work. Can anyone help?
>
>
>
> Thanks.
>
>
>
> Qasim.
>
>
>  --
>
> *From:* Gold, Jack L (US SSA) [mailto:[EMAIL PROTECTED]
> *Sent:* Thursday, September 11, 2008 7:57 AM
> *To:* Apache AXIS C User List
> *Subject:* RE: echo samples with Axis2/C Module for Apache2
>
>
>
> The spam filter is preventing reception of the math_blocking.log file.
> Sorry.  I don't know how else to post it to you.
>
>
>
> --Jack
>
>
>  --
>
> *From:* Supun Kamburugamuva [mailto:[EMAIL PROTECTED]
> *Sent:* Thursday, September 11, 2008 1:45 AM
> *To:* Apache AXIS C User List
> *Subject:* Re: echo samples with Axis2/C Module for Apache2
>
>
>
> Can you please send the server log file for the failed test cases with
> Apache Server? Usually if a sample works with axis2_http_server it works
> with Apache server as well. Please note that google and yahoo sample
> failures have nothing to do with the local server. These requests go to
> google and yahoo servers respectively.
>
> Supun..
>
> On Thu, Sep 11, 2008 at 12:37 AM, Gold, Jack L (US SSA) <
> [EMAIL PROTECTED]> wrote:
>
> It seems that some of the services are working and echo was just an
> example of one that wasn't.  I have now run all the samples.
>
> Under Libmod_axis2 with Apache2:
>
> echo - Fails
> echo_blocking - Succeeds
> echo_blocking_addr - Succeeds
> echo_blocking_auth - succeeds
> echo_blocking_dual - succeeds
> echo_blocking_soap11 - succeeds
> echo_non_blocking - succeeds
> echo_non_blocking_dual - succeeds
> echo_rest - fails
> google - soap fault
> math - fails
> mtom - fails
> notify - fails
> yahoosearch - fails
>
> Under axis_simple_server:
>
> echo - Succeeds
> echo_blocking - Succeeds
> echo_blocking_addr - Succeeds
> echo_blocking_auth - succeeds
> echo_blocking_dual - succeeds
> echo_blocking_soap11 - succeeds
> echo_non_blocking - succeeds
> echo_non_blocking_dual - succeeds
> echo_rest - succeeds
> google - soap fault
> math - succeeds
> mtom - succeeds
> notify - succeeds
> yahoosearch - fails
>
> I would have expected the same results through both servers with maybe
> the exception of echo_rest and mtom.  What bothers me is that some of
> the tests are successful only on the simple axis server, yet some work
> in both configurations.  Any ideas?
>
> --Jack
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
> --
> Software Engineer, WSO2 Inc
>



-- 
Software Engineer, WSO2 Inc
http://wso2.com