NonStop SOAP for Java User's Manual

SOAP Deployment Descriptor
NonStop SOAP for Java User’s Manual523860-001
4-3
SOAP to EJB Deployment Descriptor
SOAP to EJB Deployment Descriptor
Example 4-2 shows a deployment descriptor file that exposes a service implemented
using an Enterprise Java Bean (EJB).
isd:service
This tag defines the isd namespace and gives the name of the service as
“urn:service-urn” in the id attribute. This attribute is required.
isd:provider type attribute
This attribute designates the provider-class to be used. Values are:
com.tandem.soap.providers.StatelessNSEJBProvider
com.tandem.soap.providers.StatefulNSEJBProvider
com.tandem.soap.providers.EntityNSEJBProvider
This attribute depends on whether the implementation is a stateless session bean,
a stateful session bean, or an entity bean.
isd:provider scope attribute
The scope attribute corresponds to the scope term used in Java servlets and JSP
for varoius objects. In NonStop SOAP for Java, the scope attribute refers to the
object that the server creates to respond to requests directed to the urn:service-
run. The value for the scope attribute is:
Example 4-2. Deployment Descriptor File (SOAP to EJB)
<isd:service xmlns:isd="http://xml.apache.org/xml-soap/deployment"
id="urn:service-urn">
<isd:provider type="provider-class"
scope="Application"
methods="exposed-methods">
<isd:option key="JNDIName" value="jndi-name"/>
<isd:option key="FullHomeInterfaceName" value="home-name" />
<isd:option key="ContextProviderURL" value="context-provider" />
<isd:option key="FullContextFactoryName" value="factory-name" />
</isd:provider>
<isd:faultListener>org.apache.soap.server.DOMFaultListener
</isd:faultListener>
</isd:service>