vincent - thanks for all the help so far but its doesnt seem to work
I have attached both eclipse projects as a zip (see attched) on the hope
that you may be able to see the silly mistake
they are essentially the same code
v1 has all the .composite, and code files at top level /src
the v1_1 version has the .composite beneath resources and for good
measure built a contributions.xml in META-INF to tell it the composite
to load intio the domain
both report the same error when i run the samples
Heres to hoping you can see something silly i am doing wrong. I even
tried to add a binding.sca to the composites top level service - but
that didnt work either.
as mentioned at top of the stack i am using tuscany1.5, and java 1.6.13
regards in advance Will :(
03-Sep-2009 10:17:47 org.apache.tuscany.sca.node.impl.NodeImpl <init>
INFO: Creating node: resource/demoSCA.composite
03-Sep-2009 10:17:47 org.apache.tuscany.sca.node.impl.NodeImpl
configureNode
INFO: Loading contribution:
file:/C:/documents%20and%20settings/802518659/workspace/demo V1_1SCA/bin/
03-Sep-2009 10:17:48 org.apache.tuscany.sca.node.impl.NodeImpl start
INFO: Starting node: resource/demoSCA.composite
lookup service
Exception in thread "main" org.osoa.sca.ServiceRuntimeException: The
service HelloWorld has not been contributed to the domain
at org.apache.tuscany.sca.node.impl.NodeImpl.getServiceReferenc
e(NodeImpl.java:779)
at org.apache.tuscany.sca.node.impl.NodeImpl.getService(NodeImp
l.java:746)
at org.apache.tuscany.sca.host.embedded.impl.DefaultSCADomain.g
etService(DefaultSCADomain.java:227)
at demoV1_1Main.main(demoV1_1Main.java:25)
:?