Discussion:
[jboss-user] [jBPM] - How to call Web Service Using JBPM 5, designer
Kanes -
2013-01-09 14:50:06 UTC
Permalink
Kanes - [https://community.jboss.org/people/kanes87] created the discussion

"How to call Web Service Using JBPM 5, designer"

To view the discussion, visit: https://community.jboss.org/message/789753#789753

--------------------------------------------------------------
Good day,
I manage to install JBPM following the steps from here ( http://www.vikkee.com/2011/01/getting-started-with-jbpm-5.html http://www.vikkee.com/2011/01/getting-started-with-jbpm-5.html)

I manage to run the basic Hello World program. But I will need to call a web service from xmethod.net ( http://www.restfulwebservices.net/wcf/CurrencyService.svc?wsdl http://www.restfulwebservices.net/wcf/CurrencyService.svc?wsdl)

Can someone please guide me how should I do this?

Thanks
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/789753#789753]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
Jansi Senthil
2013-01-09 18:17:44 UTC
Permalink
Jansi Senthil [https://community.jboss.org/people/jansen1428] created the discussion

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

To view the discussion, visit: https://community.jboss.org/message/789799#789799

--------------------------------------------------------------
I am also looking for the same. Kindly let me know once you get it.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/789799#789799]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
Maciej Swiderski
2013-01-09 18:22:58 UTC
Permalink
Maciej Swiderski [https://community.jboss.org/people/swiderski.maciej] created the discussion

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

To view the discussion, visit: https://community.jboss.org/message/789800#789800

--------------------------------------------------------------
take a look http://mswiderski.blogspot.com/2012/07/service-task-with-web-service.html here, web designer from master has already support for these definitions as well.

HTH
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/789800#789800]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
Jansi Senthil
2013-01-09 18:24:51 UTC
Permalink
Jansi Senthil [https://community.jboss.org/people/jansen1428] created the discussion

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

To view the discussion, visit: https://community.jboss.org/message/789801#789801

--------------------------------------------------------------
I tried it. But it is not working. It says classnotfoundexception: [Interface name]
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/789801#789801]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
Maciej Swiderski
2013-01-09 18:39:39 UTC
Permalink
Maciej Swiderski [https://community.jboss.org/people/swiderski.maciej] created the discussion

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

To view the discussion, visit: https://community.jboss.org/message/789804#789804

--------------------------------------------------------------
what says so? Do you use 5.4 version of jBPM?

could you provide bit more details on the error you're getting?
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/789804#789804]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
Kanes -
2013-01-10 02:08:18 UTC
Permalink
Kanes - [https://community.jboss.org/people/kanes87] created the discussion

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

To view the discussion, visit: https://community.jboss.org/message/789921#789921

--------------------------------------------------------------
I m having difficulties in understanding the tutorial. Do you have  any video guided tutorial?

Thanks in advance :)
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/789921#789921]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
Maciej Swiderski
2013-01-10 10:53:22 UTC
Permalink
Maciej Swiderski [https://community.jboss.org/people/swiderski.maciej] created the discussion

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

To view the discussion, visit: https://community.jboss.org/message/790060#790060

--------------------------------------------------------------
unfortunately there is no video tutorial for it. What are the problems you're having in understanding it?
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/790060#790060]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
Kanes -
2013-01-10 13:38:20 UTC
Permalink
Kanes - [https://community.jboss.org/people/kanes87] created the discussion

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

To view the discussion, visit: https://community.jboss.org/message/790102#790102

--------------------------------------------------------------
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
[https://community.jboss.org/message/790102#790102]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
Maciej Swiderski
2013-01-10 14:27:18 UTC
Permalink
Maciej Swiderski [https://community.jboss.org/people/swiderski.maciej] created the discussion

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

To view the discussion, visit: https://community.jboss.org/message/790116#790116

--------------------------------------------------------------
Take a look at the example process https://github.com/mswiderski/jbpm-examples/blob/master/jbpm-ws-sample/src/main/resources/MultiInstanceWSServiceProcess.bpmn2 here follow it to adjust your process.

HTH
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/790116#790116]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
Kanes -
2013-01-11 05:56:06 UTC
Permalink
Kanes - [https://community.jboss.org/people/kanes87] created the discussion

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

To view the discussion, visit: https://community.jboss.org/message/790308#790308

--------------------------------------------------------------
Could you please check my code?

http://sdrv.ms/13leigc http://sdrv.ms/13leigc

You can download it from my skydrive account.
Really hope you could help me.

Thanks
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/790308#790308]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
Loading...