How Do I: Get a JPD Proxy for a Business Process?

  1. Open your business process in WebLogic Workshop.
  2. On the menu bar, click image to run the business process.
  3. If the WebLogic Server is not running, a window is displayed asking if you want to start your server. To start the server, click OK.

    Note: To learn about generating JPD Proxies for business processes that are versioned, see About Versioned Business Processes.

  4. After the Workshop Test Browser appears, click the Overview tab.
  5. On the Overview page, under the Process Clients section, click JPD Proxy. You are prompted to save the file to disk
  6. Note: By default, the package is weblogic.wli.jpdproxy. If you want to specify a different package for the generated JPD Proxy, enter a package name in the Java package field associated with the JPD Proxy button.

    image

  7. Save the file to your disk according to how you want to use the proxy:
  8. If you plan to use the JPD Proxy from an application running in a different JVM to that in which the target business process is running, append the following JAR files to the client's CLASSPATH environment variable:

About Versioned Business Processes

If the target business process is versioned, you can run the active version of the process to invoke the Test Browser (in this case, the Test Browser is opened on the virtual URI) or you can run any other version of the process (in which case the Test Browser is opened on a specific physical URI). To learn about creating versions of business processes, see Versioning Business Processes.

If you subsequently download a JPD Proxy from the Test Browser, its JPD contract interface matches the virtual JPD or the physical JPD, accordingly. When you create a Java client, you pass the JPD contract and a service URI to the proxy factory method. In most cases the JPD contract interfaces for all versions of a business process are identical, but a specific version of a business process can extend the public interface of the original process. In this case, you must ensure that the service URI and JPD contract interface passed to the proxy factory method are consistent.

Related Topics

How Do I: Use a JPD Proxy From a Java Client?

Starting Your Business Process

Versioning Business Processes

Interacting With Clients

How Do I: Call Business Processes?

Previous Document Next Document