public class OpenWebServiceBindingImpl
extends java.lang.Object
implements java.rmi.Remote
Constructor and Description |
---|
OpenWebServiceBindingImpl() |
Modifier and Type | Method and Description |
---|---|
javax.xml.soap.SOAPElement | executeService(javax.xml.soap.SOAPElement message)
This is a generic method that will accept the SOAPElement that represents the body of a web service request.
|
protected WebServiceEngine | getWebServiceEngine()
This method returns an instance of the WebServiceEngine service bean.
|
protected WebServiceEngine getWebServiceEngine() throws java.rmi.RemoteException, javax.ejb.CreateException, javax.naming.NamingException
public javax.xml.soap.SOAPElement executeService(javax.xml.soap.SOAPElement message) throws java.rmi.RemoteException
This is a generic method that will accept the SOAPElement that represents the body of a web service request. It will execute a service that corresponds to the information the SOAPElement contains. The information within the entire SOAP message will determine the appropriate service to execute. After executing the service, a SOAPElement response is returned that matches the published WSDL.
This binding class delegates the request to the web service engine Enterprise Java Bean, passing the SOAP element specified. In turn, the Enterprise Java Bean processes the request and returns the response. This class is the servlet binding process of the Web Service but the Enterprise Java Bean is the layer that processes the business logic.