You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Roberto Juarez Maldonado <ar...@insightinformatica.es> on 2007/12/21 17:56:21 UTC

a question on multiplicity

Hello everyone,

this is my first post to this list so I first present myself. My name is
Roberto and I am a Java developer with several years of experience.

Now, I have a web service developed with Axis 1.4 Final and am getting what
I try to explain next.

The wsdl of my service declares one port type called Main and a soap binding
called MainSoapBinding, besides other elements.

After compiling the wsdl I have the Main interface and the
MainSoapBindingStub and MainSoapBindingImpl java files generated, plus other
resources.

I deploy the service.

I run the service and every looks OK (I look at the database and the records
are just fine for a bunch of transcations)

I have noticed however that Axis instantiates a new fresh instance of the
MainSoapBindingImpl class for each call to the Axis servlet. The problem is
that in the near future I will be needing the MainSoapBindingImpl to be a
singleton.

I haven't found any docs on this.

Any ideas?

/Roberto.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org