The WSObjectFactory is responsible for providing a pre-initialized instance of Web services client stub for Apache Axis in the IBM
® Expeditor runtime.
Upon a client lookup of the client stub using JNDI, the JNDI provider uses the WSObjectFactory to locate the Web service stub based on the extension definition, which in turn causes the stub to initialize and be bound into JNDI.
The IBM Lotus
Expeditor Toolkit automatically generates the appropriate plugin.xml entries for the stub as a part of the development process. The stub developer or the deployer is required to enter appropriate values.
The following example shows how to register the service interface with the WSObjectFactory:
is the name of the account, class
is the class name of the service interface, and jndi-name
is the name client uses to look up the stub instance.
Parent topic: Using declarative JNDI