The WSObjectFactory is responsible for providing a pre-initialized instance of Web services client stub for Apache Axis in the Lotus® Expeditor runtime.
Upon a client lookup of the client stub using JNDI, the JNDI provider will use the WSObjectFactory to locate the Web service stub based on the extension definition, which in turn will cause the stub to initialize and be bound into JNDI.
The 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 will be required to fill in appropriate values.
The following example shows how to register the service interface with the Wsfactoryobject:
is the name of the account, class
is the class name of the service interface, and jndi-name
is the name client will use to lookup the stub instance.
Parent topic: Using declarative JNDI: XPD621