• Register Now
  • Forgot Password?
Intalio
  • Product
  • Services
  • Partners
  • Customers
  • Community
  • Company
  • Documentation
  • Discussions
  • Roadmap
  • Events

Discussions


Discussions about Intalio|BPP Community Edition.


Back to General Questions (0 viewing) 
Go to bottom
Post Reply
Favoured: 0
TOPIC: external web service asynchronous call
Forum Tools
  • Post New Topic
  • Show latest posts
  • Rules
Aug 14, 2008 2:55 pm
123.123 (User)
13 posts
Fresh Boarder

Karma: 0  
Hi!
I wonder if anybody has an example on how to call external webservices asynchronously, in sync mode i just got time outs.
THank you.
 
  The administrator has disabled public write access.
Aug 14, 2008 4:12 pm
Antoine (Admin)
2755 posts
Admin

Karma: 58  
You have some samples demonstrating that. Basically, if the reply is not directed to the same shape that did the request, then the diagram will interpret this as an asynchronous call.

Thanks,

Antoine
 
 
Intalio, The Enterprise Cloud Company
www.intalio.com
  The administrator has disabled public write access.
Aug 14, 2008 5:40 pm
123.123 (User)
13 posts
Fresh Boarder

Karma: 0  
Antoine wrote:
You have some samples demonstrating that.

I'm sorry, but i downloaded several examples and didn''t find anything about async calls. probably i need to figure out one...
 
  The administrator has disabled public write access.
Aug 16, 2008 12:04 am
Antoine (Admin)
2755 posts
Admin

Karma: 58  
Attached is a sample demonstrating the difference between an asynchronous call and a synchronous call. If you want to see what is different, you can look at the WSDL of the service pools.
File Attachment:
File Name: async.zip
File Size: 30691
 
 
Intalio, The Enterprise Cloud Company
www.intalio.com
  The administrator has disabled public write access.
Apr 27, 2009 11:46 am
jaideep.rajput1 (User)
12 posts
Fresh Boarder

Karma: 0  
Hi Antonie,
Clear about the difference between sync and Async invocation.But can you tell us how to invoke the external web service asynchronously?
 
  The administrator has disabled public write access.
Apr 27, 2009 1:19 pm
Antoine (Admin)
2755 posts
Admin

Karma: 58  
Look at the sample I posted, please.

Thanks,

Antoine
 
 
Intalio, The Enterprise Cloud Company
www.intalio.com
  The administrator has disabled public write access.
Apr 28, 2009 6:43 am
jaideep.rajput1 (User)
12 posts
Fresh Boarder

Karma: 0  
Hi Antonie,
Sorry to bother you again.
Seen the sample provided by you.
My understanding is as follows:
To call external web service asynchronously:

1. Create another executable pool(Say "Service") and call the web service from that pool.
2. From the main pool(which is again executable) send request to "Service" pool from one task and receive response from another task.
Please correct me if I am wrong.

I tried to run the sample(async BPEM) provided by you with some modifications(invoked a simple web service from "DoSomething" task).But I am getting exception "uninitializedPartnerRole" at the time of executing the "async" task.
Can we execute any other task by the time response comes from the web service which is invoked asynchronously from BPEL?
 
  The administrator has disabled public write access.
Apr 28, 2009 11:23 am
Antoine (Admin)
2755 posts
Admin

Karma: 58  
In this case, your service pool is non executable right ? In that case you need to define a correlation. Also make sure you use the operation bound to a port on the WSDL (the one with a @).

Thanks,

Antoine
 
 
Intalio, The Enterprise Cloud Company
www.intalio.com
  The administrator has disabled public write access.
Apr 29, 2009 1:22 pm
jaideep.rajput1 (User)
12 posts
Fresh Boarder

Karma: 0  
Hi Antonie,
Actually I have developed a asynchronous web service.Please see the attached WSDL of the same.This web service gets the ReplyTo Address and the message ID from the SOAP headers and sends the reply as a SOAP message on the given address.
I tried to import this WSDL is my BPEL project and invoked the operation.I was expecting that Intalio BPMS will set the SOAP headers such ReplyTo address and messageID automatically(Oracle SOA suite set the SOAP headers automatically for the same service).I have to do nothing for the same.
Do you think it is possible with Intalio?Does Intalio supports WS-Addressing?
File Attachment:
File Name: RequestService.wsdl
File Size: 3478
 
  The administrator has disabled public write access.
Apr 29, 2009 9:06 pm
boisvert (User)
153 posts
Moderator

Karma: 13  
Hi,

Intalio support WS-Addressing although it seems the protocol you are using with Oracle is non-standard. For implicit correlation, Apache Ode follows the stateful exchange protocol: http://ode.apache.org/stateful-exchange-protocol.html

I also would suggest using standard BPEL correlation for your process, this is the design best practice for portability across different BPEL engines.

regards,
alex
 
  The administrator has disabled public write access.
Apr 30, 2009 12:01 pm
jaideep.rajput1 (User)
12 posts
Fresh Boarder

Karma: 0  
Guys,
Thanks for the inputs provided by you.I tried to execute the WS asynchronously with the help of explicit Correlation.Please see the attached Image.
The problem is:
1. When I try to compile the process I am getting Error ,schema not accessible in AsyncTest-Wrapper.wsdl.(name of project is 'AsyncTest').
2. if I change the pool 'Wrapper' as executable,it compiles without any problem but when I try to execute the process I am getting uninitializedPartnerRoleException.
File Attachment:
File Name: async-d7b3f1904752426cf91f41338cc594ad.zip
File Size: 43191
 
 
Last Edit: 2009/04/30 12:04 By jaideep.rajput1.
  The administrator has disabled public write access.
Go to top Post Reply
Forum List Intalio|BPMS 5.2.1 General Questions
get the latest posts directly to your desktop
 

Top Posters

Last 30 days

  • jean.bernard.wansi (9)
  • niki.w (7)
  • danny.gallagher (7)
  • bruker.bruker (5)
  • marcelo.balisa (4)
  • pourdad.daneshmand (4)
  • ravinderjit.singh (2)
  • giocarmine.gio (2)
  • pavel.khodchenkov (1)
  • mikko.savolainen (1)

All time

  • Shivanand (1216)
  • cshekhar (933)
  • psq (797)
  • metabyte (415)
  • jag (393)
  • ravinderjit.singh (393)
  • dfrench (369)
  • arnaud (329)
  • jalateras (325)
  • talita.pezzi (279)

Show last 4 hrs - 12 hrs - 24 hrs

Latest Posts

  • Reusing pools and lanes across business ... by kutter
  • Re:Webservice asynchronous and input me ... by chantal.valverde
  • Re:XSD Attribute and Correlation by wilmercisneros
  • Re:Process Automation by jean.bernard.wansi
  • Re:partner link error by danny.gallagher

Show last 6 hrs - 24 hrs - 7 days

Copyright © Intalio, 1999-2012.

  • Copyright Notice |
  • Privacy Policy |
  • User Agreement