-
1. Re: How to call Web Service Using JBPM 5, designer
jansen1428 Jan 9, 2013 1:17 PM (in response to kanes87)I am also looking for the same. Kindly let me know once you get it.
-
2. Re: How to call Web Service Using JBPM 5, designer
swiderski.maciej Jan 9, 2013 1:22 PM (in response to jansen1428) -
3. Re: How to call Web Service Using JBPM 5, designer
jansen1428 Jan 9, 2013 1:24 PM (in response to swiderski.maciej)I tried it. But it is not working. It says classnotfoundexception: [Interface name]
-
4. Re: How to call Web Service Using JBPM 5, designer
swiderski.maciej Jan 9, 2013 1:39 PM (in response to jansen1428)what says so? Do you use 5.4 version of jBPM?
could you provide bit more details on the error you're getting?
-
5. Re: How to call Web Service Using JBPM 5, designer
kanes87 Jan 9, 2013 9:08 PM (in response to swiderski.maciej)I m having difficulties in understanding the tutorial. Do you have any video guided tutorial?
Thanks in advance
-
6. Re: How to call Web Service Using JBPM 5, designer
swiderski.maciej Jan 10, 2013 5:53 AM (in response to kanes87)unfortunately there is no video tutorial for it. What are the problems you're having in understanding it?
-
7. Re: How to call Web Service Using JBPM 5, designer
kanes87 Jan 10, 2013 8:54 AM (in response to swiderski.maciej)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
This is my code
<?xml version="1.0" encoding="UTF-8"?>
<definitions id="Definition"
targetNamespace="http://www.jboss.org/drools"
typeLanguage="http://www.java.com/javaTypes"
expressionLanguage="http://www.mvel.org/2.0"
xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd"
xmlns:g="http://www.jboss.org/drools/flow/gpd"
xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI"
xmlns:dc="http://www.omg.org/spec/DD/20100524/DC"
xmlns:di="http://www.omg.org/spec/DD/20100524/DI"
xmlns:tns="http://www.jboss.org/drools">
<process processType="Private" isExecutable="true" id="com.sample.bpmn.hello" name="Hello World" >
<import importType="http://schemas.xmlsoap.org/wsdl/" location="http://wsf.cdyne.com/WeatherWS/Weather.asmx?WSDL" namespace="http://ws.cdyne.com/WeatherWS/"/>
<extensionElements>
<tns:import name="java.io.*" />
</extensionElements>
<!-- nodes -->
<!-- connections -->
</process>
<serviceTask id="_2" name="Service Task" operationRef="_2-2-4_ServiceOperation" implementation="##WebService" >
</serviceTask>
<bpmndi:BPMNDiagram>
<bpmndi:BPMNPlane bpmnElement="com.sample.bpmn.hello" >
<itemDefinition id="_2-2-4_InMessageType" />
<message id="_2-2-4_InMessage" itemRef="_2-2-4_InMessageType" />
<interface id="_2-2-4_ServiceInterface" name="" implementationRef="Weather">
<operation id="_2-2-4_ServiceOperation"
implementationRef="GetCityWeatherByZIP" name="hello">
<inMessageRef>_2-2-4_InMessage</inMessageRef>
</operation>
</interface>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</definitions>
This is what I did. I m not sure its correct or not. Please guide me.
Tq
Message was edited by: Kanes -
-
8. Re: How to call Web Service Using JBPM 5, designer
swiderski.maciej Jan 10, 2013 9:27 AM (in response to kanes87) -
9. Re: How to call Web Service Using JBPM 5, designer
kanes87 Jan 11, 2013 12:55 AM (in response to swiderski.maciej)Could you please check my code?
You can download it from my skydrive account.
Really hope you could help me.
Thanks
-
10. Re: How to call Web Service Using JBPM 5, designer
sanjay05222 Jan 8, 2015 1:30 PM (in response to kanes87)I see that you had been trying to use the JBPM for your company , I have this unrelated question were you guys were able to successfully make the JBPM work and rolled it out to production ? or dropped the idea of using it ? If you see this message do try to reply thanks sanjay
I had been looking for the option for it in our company and I wanted to share experience related with the product JBPM6.1.0 Final is what we are planning to migrate to.