my dog learned polymorphism*
The moose likes Web Services and the fly likes SCA (Apache Tuscany) - <service> element external to <component> Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "SCA (Apache Tuscany) - <service> element external to <component>" Watch "SCA (Apache Tuscany) - <service> element external to <component>" New topic

SCA (Apache Tuscany) - <service> element external to <component>

Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
Is there anyone who has experience with configuration of <service> elements that are external to the <componet> element which is to be exposed as a service in SCA (Apache Tuscany 2.0M3)?
I have the following composite definition, which does not expose a web service, as it is supposed to do:

I probably should ask the Tuscany people, but I am too lazy to join a mailing list for one single question.
There are no errors or warnings occurring in the log. If I move the <service> element into the ProblemTicketComponent <component>, merging it with the existing, and remove the promote attribute, then everything works as it should.
Many thanks in advance!
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
Hi Ivan!
The latest milestone, milestone four of the 2.0 version, fixes this problem. Please upgrade the Apache Tuscany libraries and you should be fine!
Best wishes!
I agree. Here's the link:
subject: SCA (Apache Tuscany) - <service> element external to <component>
Similar Threads
Problem in implement BPEL in Tuscany
Exposing EJB as Webservice...
how to access SCA c++ componet via web service?(about SCA, AXIS2/C)
Tuscany SCA - newbie questions
Tuscany SCA in Action - Questions