uCosminexus Service Platform, Basic Development Guide

[Contents][Glossary][Index][Back][Next]

8.7.4 Generating Objects

To invoke a method of user-defined reception (Web Services), use the created stubs and generate objects.

To generate an object for invoking a method of user-defined reception (Web Services):

  1. Generate an object of the Locator class that is an interface class.
  2. Use the Locator class, and generate an object of the interface class of the user-defined reception.
    The instance of the service requester's interface class created or acquired cannot be shared by multiple threads.

By invoking a method of the generated object, a request for service component execution is sent to the user-defined reception. Within the objects of a stub, request messages (SOAP messages) are automatically generated in the format defined in the WSDL.