On Fri, Feb 26, 2010 at 5:46 PM, jamie wrote:
> Hi Everyone
>
> Thanks for your suggestions regarding multiple classes. I've decided to use
> multiple web services for each section of the API, however, I cannot get
> services within the servicegroup to
> share properties.
>
> In the Test web ser
ssion-management-part-2>
From: jamie [mailto:jam...@fastmail.fm]
Sent: Fri 2/26/2010 7:16 AM
To: Vincent FINET
Cc: java-user@axis.apache.org
Subject: Re: Multiple classes
Hi Everyone
Thanks for your suggestions regarding multiple classes. I've decided to use
multiple web services for each
The docs do say that you can create Web services sessions and
share them across Web services, but they are vague on how exactly
you do this. I am not sure how a simple requirement to split up
an API into logical parts, results in a lengthy indepth technical
exploration of poorly documented Axis an
According to my experience Web Service are stateless.
On Fri, Feb 26, 2010 at 1:16 PM, jamie wrote:
> Hi Everyone
>
> Thanks for your suggestions regarding multiple classes. I've decided to use
> multiple web services for each section of the API, however, I cannot get
> services within the ser
Hi Everyone
Thanks for your suggestions regarding multiple classes. I've
decided to use multiple web services for each section of the API,
however, I cannot get services within the servicegroup to
share properties.
In the Test web service that controls the login. Once the user
has logged in succe
first advice leave the 'static' notion.
this do not give you a lot.
in the following example, you will have a single static instance (singleton)
of your WebService.
I would do :
public class WebService() {
private A a;
private B b;
public WebService() {
this.a = new A();
this.b = new B()
Your approach is pretty much like a "remote object instance" approach (like
CORBA for instance).
Web service are slightly different.
In your example, you ask your server to give you an instance of class A or B
(depending if you call getA or getB)
Since you got your instance of A or B, if you cal
>From what I can tell this is not possible. You need to create
multiple service classes within a service group. Apparently,
though I have not confirmed, session state is shared across
multiple groups.
On Thu, 25 Feb 2010 19:00 +0200, "jamie"
wrote:
Hi There
I am an Axis newbie, trying to desig