You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by "Bono, Chris" <Bo...@zilliant.com> on 2001/05/09 19:07:44 UTC
soap.xml
Can anyone point me in the right direction for the DTD for the soap config file.
We were using SOAP2.0 and we would setup our service in a startup task when our appserver would startup.
ServiceManager sm = new ServiceManager();
DeploymentDescriptor dd = ...
...
...
sm.deploy(dd);
Now the ServiceManager.<init> requires a ServletContext and ConfigFile. Since I am running as a startup task I have no
servlet context. I have attempted to use the
ServiceManagerClient.deploy after the app server starts up but am getting the following exception on
ServiceManagerClient.deploy
******************************************************************
**** about to deploy.....
Wed May 09 12:06:32 CDT 2001:<I> <ListenThread> Adding address: bonoc.zilliant.com/192.168.141.162 to licensed client
list
[GC 4197K->2254K(65280K), 0.0264325 secs]
Wed May 09 12:06:33 CDT 2001:<I> <WebAppServletContext-connector> RPCRouter: init
SOAP Service Manager: Unable to read 'DeployedServices.ds': assuming fresh start
[GC 4302K->2326K(65280K), 0.0220246 secs]
Ouch, the call failed:
Fault Code = SOAP-ENV:Server
Fault String = Error saving services registry: null
*******************************************************************
Any clues would greatly be appreciated.
TIA,
Chris Bono
bonoc@zilliant.com
512.531.8518
http://www.zilliant.com
---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org
How do you use Stateful Session Beans with SOAP?
Posted by "Michael J. Hudson" <mh...@blueprinttech.com>.
Greetings...
I sent out an email about this before... but at the time I thought there
was a digest version of this mailing list, signed up for it per the
mailing list instructiosn and then kept waiting for the digest version
to be sent out... to see who had responded. Haven't received one yet,
so... in any case, let me try this again.
I'm using ApacheSOAP 2.1, and was able to successfully use the EJB
example to contact a session bean on our server and get a response.
The problem is... that example is for a stateless session bean... and
I really need the features of a stateful session bean. I want to be
able to make multiple calls to the same instance of that bean. Does
the SOAPContext fit into here? Is there away to carry a state back
and forth? Does the SOAP server keep mappings between contextes and
beans used for that context? I see that SOAP 2.1 has a
StatefulSessionProvider class... so I'm assuming there must be a way
to do this.
Any help would be great! Thanks!
---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org
How do you use Stateful Session Beans with SOAP?
Posted by "Michael J. Hudson" <mh...@blueprinttech.com>.
Greetings...
I sent out an email about this before... but at the time I thought there
was a digest version of this mailing list, signed up for it per the
mailing list instructiosn and then kept waiting for the digest version
to be sent out... to see who had responded. Haven't received one yet,
so... in any case, let me try this again.
I'm using ApacheSOAP 2.1, and was able to successfully use the EJB
example to contact a session bean on our server and get a response.
The problem is... that example is for a stateless session bean... and
I really need the features of a stateful session bean. I want to be
able to make multiple calls to the same instance of that bean. Does
the SOAPContext fit into here? Is there away to carry a state back
and forth? Does the SOAP server keep mappings between contextes and
beans used for that context? I see that SOAP 2.1 has a
StatefulSessionProvider class... so I'm assuming there must be a way
to do this.
Any help would be great! Thanks!
---------------------------------------------------------------------
To unsubscribe, e-mail: soap-user-unsubscribe@xml.apache.org
For additional commands, email: soap-user-help@xml.apache.org