|
Key
This line was removed.
This word was removed. This word was added.
This line was added.
|
Changes (6)
View Page History
\\
Le « déployeur » Easydeployeur prend en entrée :
\- un processus collaboratif qui est compatible avec le méta-modèle de BPMN 2.0.

{code}DeployerExecutor exe = DeployerFactory.newInstance().newDeployerExecutor();
exe.executeBPMN20Deployer(BPMNFileName);{code}
exe.executeBPMN20Deployer(BPMNFileName);{code}
DeployerExecutor exe = DeployerFactory.newInstance().newDeployerExecutor(); exe.executeBPMN20Deployer("_1315991100490id23.bpmn");
Pour utiliser Easydeployer, il est nécessaire d'installer:
* Petals DSB
* Petals-se-Component
* Petals-se-Component
h1. Petals-se-cComponent
Petals-se-Component est un JBI component utilisé avec Petals.
Exemple de code pour envoyer une requête et pour récupérer une réponse:
{code}URL url = new URL("http://localhost:8084/petals/services/ComponentInformationServiceEndpointService?wsdl");
ComponentInformationService comInfoService = new ComponentInformationService(url);
ComponentInformation comInfo = comInfoService.getComponentInformationServiceEndpoint();
//send request
GetWsdlRequest getWsdlRequest = new GetWsdlRequest();
getWsdlRequest.setService("{" + serviceNamespace + "}" + serviceName);
//receive response
GetWsdlResponse wsdl = comInfo.getWsdl(getWsdlRequest);{code}