Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 322490 - Service references to dependent projects do not work
Summary: Service references to dependent projects do not work
Status: ASSIGNED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: STP (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Vincent Zurczak CLA
QA Contact: Oisin Hurley CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-12 05:24 EDT by Sebastian CLA
Modified: 2012-09-21 14:41 EDT (History)
1 user (show)

See Also:


Attachments
Export of the two Eclipse projects to zip file (29.58 KB, application/zip)
2010-08-12 05:30 EDT, Sebastian CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian CLA 2010-08-12 05:24:56 EDT
While trying to implement the introducing-tours example from the
TuscanySCAInAction book, I ran into a bug: A reference from a composite 
to a composite located in another project or in a jar file does
not work.

Example:
There is a tours.composite file in an Eclipse project called
"Tours" which references a service like this:

<?xml version="1.0" encoding="UTF-8"? <sca:composite
xmlns:sca="http://www.osoa.org/xmlns/sca/1.0" name="tours" targetNamespace="http://tuscanyscatours.com/"
<sca:component name="TripBooking"

<sca:reference name="mytrips" target="TripProvider/Trips"
<sca:interface.java interface="com.tripprovider.Trips" /
</sca:reference

</sca:component

</sca:composite

When I use the SCA Builder or try to open the composite in the
SCA composite model editor, I get an
UnresolvedReferenceException for mytrips and the project
is marked as having an error.

Adding a project reference from Tours to Trips doesn't help, neither
does adding the Trips jar file to the project libraries.

The Java project compiles all right and the composites can be deployed together,
it's only the SCA Builder that is at fault.

-- Sebastian Millies

SOA Tools Platform
Version: 2.1.0.201006151053

Eclipse Version: Helios Release
Build id: 20100617-1415
Comment 1 Vincent Zurczak CLA 2010-08-12 05:28:49 EDT
Hi,

We are currently refactoring the SCA tools (including the SCA builder).
I will take a look at it and do the necessary.
Comment 2 Sebastian CLA 2010-08-12 05:30:08 EDT
Created attachment 176446 [details]
Export of the two Eclipse projects to zip file