JBoss Community

Re: How to call Web Service Using JBPM 5, designer

created by Kanes - in jBPM - View the full discussion

1st:

where should I place this code?

 

1. first of all we need to tell the engine where is our WSDL so it can be read and operations from it can be invoked - this is done with BPMN2 import:

<import importType="http://schemas.xmlsoap.org/wsdl/" location="http://wsf.cdyne.com/WeatherWS/Weather.asmx?WSDL" namespace="http://ws.cdyne.com/WeatherWS/"/>

Then...

2. next message, interface and operations must be defined:

<itemDefinition id="_2-2-4_InMessageType" />

<message id="_2-2-4_InMessage" itemRef="_2-2-4_InMessageType" />

 

When I place the 2nd code... I am unable to load my BPMN diagrams.

 

FYI: I am just updating the hello world diagram that generated by JBOSS for me.

 

Thanks


Reply to this message by going to Community

Start a new discussion in jBPM at Community