Why and when to perform this task
Using Apache SOAP to call enterprise beans is done in the same manner as calling Java bean methods using Apache SOAP.
A Web service can be a simple stateless session bean that performs number processing and returns a data value. When the client code makes a call to the data processing method of this service and an instance of the stateless session is not available, the Apache SOAP run time does the following: