Hi Raymond,

 

This is a web application, I don't know what to put into domainURI

 

Best regards

 

From: Raymond Feng [mailto:enjoyj...@gmail.com] 
Sent: Monday, August 20, 2012 11:17 PM
To: user@tuscany.apache.org
Subject: Re: Call Tuscany 2.0 service from JBPM 5 WorkItemHandler

 

You can use the SCAClient API, such as:

 

SCAClientFactory clientFactory =
SCAClientFactory.newInstance(URI.create(domainURI); // 

MyService service = clientFactory.getService(MyService.class, serviceURI);

 

On Aug 19, 2012, at 7:59 PM, binhnt22 wrote:





Hi all,

With Tuscany 1.6.2, I can make call to Tuscany service from WorkItemHandler
through DomainManager class.

As far as I know, DomainManager class is not present in Tuscany 2.0.

How can I achieve that with Tuscany 2.0 (calling Tuscany Service from a
random java class).

Best regards,

 

Reply via email to