A developer designs and generates EJB or Java Web services in an OOM. He then wants to import them as service providers into a BPM in order to reuse them for automating processes in his orchestration BPM, he does not need any other type of services.
- Design and Generate EJB or Java Web Services in an OOM component diagram - Select to generate the Web services files, which appear in the project in the WorkSpace navigator (see Object-Oriented Modeling > Building OOMs > Web Services > Generating Web Services for Sybase WorkSpace).
- Import the EJB or Java Web Services into a BPM as service providers - Select . The new service providers appear in the Model Explorer (see Importing a Service Provider from an OOM or a PDM).
- Invoke Services - Associate service operations to <<Undefined>> processes that represent interactions with internal and external applications. Right-click an <<Undefined>> process and select Invoke Existing Service. You can also select a service operation from the Implemented by list in the Implementation tab of the <<Undefined>> process property sheet. See Service Invocation.
- Organize Service Orchestration - Define the different orchestration items of the model. Create <<Send>> and <<Receive>> activities, implement other processes, and define decisions.
- Check the Model - To verify that it conforms to the Sybase WorkSpace Business Process language standard.
- Generate Sybase WorkSpace Business Process files - Select . Previously imported services are preserved in the WorkSpace environment. See Generating for Sybase WorkSpace Business Process.
- Use the Business Process Service Editor to continue process implementation.