commons-logging library problem

2007-11-20 Thread Vaduvoiu Tiberiu
Hi, I have a pretty simple application that queries a web service. For the 
application I needed of course several jars from axis distribution, among which 
commons-logging-1.0.4.jar. Application runs ok, but when I try to stop tomcat, 
the process doesn't stop.Tomcat stops listening on port 8080 but the process 
itself still runs. If I remove commons-logging-1.0.4.jar from the library, then 
tomcat starts and stops normally but of course, the application doesn't work 
anymore. Is there any way I can remove this jar and have the application 
working? or did anyone had this problem before and know why this is happening? 
10x

P.S. I am using axis2-1.3 with tomcat 6 on ubuntu




  

Be a better sports nut!  Let your teams follow you 
with Yahoo Mobile. Try it now.  
http://mobile.yahoo.com/sports;_ylt=At9_qDKvtAbMuh1G1SQtBI7ntAcJ

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



Re: first post. question on complex types

2007-10-09 Thread Vaduvoiu Tiberiu
If you have a web service that returns a simple string u simply write

string result = call.invoke(Object...) 

but my web service returns a complex type...and I don't know how to "save" that 
type...because I need a deserializer and I don't know how exactly to do that. I 
understood that if the complex type is called let's say User then I have to do 
a User class with setters and getters but I don't know how to store the result 
from the invoke method.


- Original Message 
From: Amila Suriarachchi <[EMAIL PROTECTED]>
To: axis-user@ws.apache.org
Sent: Wednesday, October 10, 2007 9:29:35 AM
Subject: Re: first post. question on complex types


what you want to do exactly?

do you have a web service an want to invoke it using a Axis2 client?

you don't have to populate the response. Axis 2 populates it and returns the 
correct 
response object.


Amila.
 
On 10/9/07, Vaduvoiu Tiberiu <[EMAIL PROTECTED]> wrote:
Hi to everyone. This is my first post and I have a small question about 
retrieving a complex type from a client. Read the documentation on 
axis(Building stubs, skeletons, and data types from WSDL)basic examples 
worked out well, I'm a little stuck on one example ...there is a web service 
that returns a complex type ...the response looks like



  string
  string

...

so from what I understood I need to use wsdl2java to generate a UserName class 
that implements
java.io.Serializable. Ok I done that..created that class with getters and 
setters. But how do I set the variables in that class with the results from the 
invoke method?


I keep getting: No deserializer defined for array type {http}UserName

it's probably easy but I'm missing something here.
some pointers would be appreciate.

Cheers
Tibi










Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, 
photos & more.

http://mobile.yahoo.com/go?refer=1GNXIC

-
To unsubscribe, e-mail: [EMAIL PROTECTED]

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





-- 
Amila Suriarachchi,
WSO2 Inc.






   

Need a vacation? Get great deals
to amazing places on Yahoo! Travel.
http://travel.yahoo.com/

first post. question on complex types

2007-10-09 Thread Vaduvoiu Tiberiu
Hi to everyone. This is my first post and I have a small question about 
retrieving a complex type from a client. Read the documentation on 
axis(Building stubs, skeletons, and data types from WSDL)basic examples 
worked out well, I'm a little stuck on one example ...there is a web service 
that returns a complex type ...the response looks like


  string
  string
...

so from what I understood I need to use wsdl2java to generate a UserName class 
that implements 
java.io.Serializable. Ok I done that..created that class with getters and 
setters. But how do I set the variables in that class with the results from the 
invoke method?

I keep getting: No deserializer defined for array type {http}UserName

it's probably easy but I'm missing something here.
some pointers would be appreciate.

Cheers
Tibi







   

Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, 
photos & more. 
http://mobile.yahoo.com/go?refer=1GNXIC

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