RE: Need to know How many types of Client

2010-10-11 Thread Karthik Nanjangude
Hi >> Installation Guide, QuickStart Guide, User Guide, etc As I have already said in last mail … Non of these documents at AXIS2 1.5 site mention different types of Client’s build other then RPC … Most of the Examples use RPC Type Cline build only ….:( With regards karthik

Howto circumvent Bug AXIS-2545 ("wsdl2java mix up order of elements ...") using Axis 1.4

2010-10-11 Thread Simon Frettloeh
Hello, to create Java 1.4 compliant Code I am using Axis 1.4 to develop against a web service. Sadly, I am not able to switch to a higher Java version. I now encountered Bug AXIS-2545 ("wsdl2java mix up order of elements and arrays in super constructor call") after a change in the WSDL my de

OutOfMemoryError with axis2

2010-10-11 Thread Massimiliano Ziccardi
Hi all. I'm using AXIS2 v1.4.1. After some hours of work, my application server gets an OutOfMemory error. Analyzing the heap dump, I can see that the org.apache.axis2.engine.AxisConfiguration is taking 270MB of memory. The heap dump says: ... 272.845.136 org/apache/axis2/engine/AxisConfigurati

Re: Need to know How many types of Client

2010-10-11 Thread dilly
The term is not "Client Type", actually it is called "Service Styles". As a axis1 man, I'd like to introduce axis1 user guide, which gives out the 4 types of Service Styles, i.e., RPC, Document, Wrapped, and Message. Follow the link: http://ws.apache.org/axis/java/user-guide.html#ServiceStylesRPCD

Re: Need to know How many types of Client

2010-10-11 Thread robert lazarski
Here's an axis2 example with doc / lit and ant. http://ws.apache.org/axis2/tools/1_4_1/CodegenToolReference.html#example - R 2010/10/11 dilly : > The term is not "Client Type", actually it is called "Service Styles". As a > axis1 man, I'd like to introduce axis1 user guide, which gives out the

RE: OutOfMemoryError with axis2

2010-10-11 Thread Sanjay Gupta
Are you consuming your own services using Axis2 Client. There was a memory leak in the client and I ended up solving my issue by implementing pooling. From: Massimiliano Ziccardi [mailto:[email protected]] Sent: Monday, October 11, 2010 6:39 AM To: [email protected] Subject:

Simple web service invocation failing

2010-10-11 Thread paul nibin
Hi all, I am trying to invoke a simple web service. public class SimpleTestVoid { public void printMessage() throws Exception { System.out.println( "Hello world" ); } } The WSDL is generated fine. Generated the client. But when invoking the service, I am getting an ex

Re: Simple web service invocation failing

2010-10-11 Thread Martin Makundi
Hi! Try removing your unnecessary "throws Exception" clause. ** Martin 2010/10/12 paul nibin : > Hi all, > >    I am trying to invoke a simple web service. > > public class SimpleTestVoid > { >     public void printMessage() throws Exception >     { >     System.out.println( "Hello world

Re: Simple web service invocation failing

2010-10-11 Thread paul nibin
Hi, Thank you so much for the response. I know that it will work if the "throws Exception" clause is removed. But I need to support this feature. Is there any way to support invoking a method which does not take any input arguments, returns void and throws an exception? Paul On

Re: Simple web service invocation failing

2010-10-11 Thread Martin Makundi
If you want to throw exceptions they must be wrapped into web service exceptions. ** Martin 2010/10/12 paul nibin : > Hi, > >    Thank you so much for the response. > > I know that it will work if the "throws Exception" clause is removed. > > But I need to support this feature. Is th

Re: Simple web service invocation failing

2010-10-11 Thread paul nibin
Sorry. I did not exactly understand what you meant.. I tried the following web service public class SimpleTestVoid { public *String* echo( String message ) *throws Exception* { return message; } } Even though the method is throws exception, the client is successfully able to

Re: Simple web service invocation failing

2010-10-11 Thread Martin Makundi
Ah, so your problem is only the void ? Ok. Then I don't know what's wrong. Is it a blocker or you'd just rather have it void than return dummy value? ** Martin 2010/10/12 paul nibin : > Sorry. I did not exactly understand what you meant.. > > I tried the following web service > > public class Sim

Re: Simple web service invocation failing

2010-10-11 Thread paul nibin
Thank you so much for the reply.. Actually, I am trying to integrate Axis 2 to an existing framework. User can write web service in all kind of ways. And we need to support all. On Tue, Oct 12, 2010 at 11:35 AM, Martin Makundi < [email protected]> wrote: > Ah, so your problem is

Re: Simple web service invocation failing

2010-10-11 Thread Martin Makundi
Is it a problem that it returns a value if you simply don't pass it onwards? 2010/10/12 paul nibin : > Thank you so much for the reply.. > > Actually, I am trying to integrate Axis 2 to an existing framework. User can > write web service in all kind of ways. And we need to support all. > > On Tue,

Re: Simple web service invocation failing

2010-10-11 Thread paul nibin
It little more complicated than that. You could think like, user gives me class file(The class can have any kind of methods.). I am just using a POJO deployment feature in the Axis 2. As of now I dont check the class files for these kinds of method. If I were to do what you suggested, it would be

Re: Simple web service invocation failing

2010-10-11 Thread Martin Makundi
Ah, ok. Maybe this: http://www.mail-archive.com/[email protected]/msg32014.html 2010/10/12 paul nibin : > It little more complicated than that. You could think like, user gives me > class file(The class can have any kind of methods.). I am just using a POJO > deployment feature in the Axis 2.