Dashboard > PXE > ... > BPEL Management API > Connecting to the BPEL Service Provider > View

Page Operations


Navigation


PXE Log In   View a printable version of the current page.
Connecting to the BPEL Service Provider
Added by Maciej Szefler, last edited by Maciej Szefler on Jan 12, 2006

TODO: Instructions on connecting to the BPEL Service Provider.

import com.fs.pxe.bpel.pmapi.*;
import com.fs.pxe.ra.*;
.
.
.

PxeManagedConnectionFactory pmcf = new PxeManagedConnectionFactory();
pmcf.setURL("rmi://localhost:2099/MyDomain");
PxeConnectionFactory cf = 
    (PxeConnectionFactory)pmcf.createConnectionFactory();

PxeConnection conn = (PxeConnection)cf.getConnection();
InstanceManagement im =
    (InstanceManagement)conn.createServiceProviderSession(
          "uri:bpelProvider", InstanceManagement.class);


Site powered by a free Open Source Project / Non-profit License (more) of Confluence - the Enterprise wiki.
Learn more or evaluate Confluence for your organisation.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 1.4.1 Build:#212 Jun 02, 2005) - Bug/feature request - Contact Administrators