<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:wfw="http://wellformedweb.org/CommentAPI/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
>
<!-- MHonArc v2.6.10 -->
	<channel>
		<title>news.eclipse.stp.sca-tools</title>
		<link>http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.stp.sca-tools/maillist.html</link>
		<description>NewsGroup: news.eclipse.stp.sca-tools</description>
		<language>en-us</language>
		<pubDate>Fri, 11 Sep 2009 10:21:15 GMT</pubDate>
		<lastBuildDate>Fri, 11 Sep 2009 10:21:15 GMT</lastBuildDate>
		<docs>http://blogs.law.harvard.edu/tech/rss</docs>
		<generator>MHonArc RSS 2.0 RCFile</generator>
		<managingEditor>webmaster@eclipse.org (Webmaster)</managingEditor>
		<webMaster>webmaster@eclipse.org (Webmaster)</webMaster>
		<image>
			<title>news.eclipse.stp.sca-tools</title>
			<url>http://www.eclipse.org/eclipse.org-common/themes/Phoenix/images/eclipse_home_header.jpg</url>
			<link>http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.stp.sca-tools/maillist.html</link>
		</image>
 

	<item>
		<title>[news.eclipse.stp.sca-tools] A video of SCA Tools</title>
		<link>http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.stp.sca-tools/msg00149.html</link>
		<description>Hi, I made a video (about 7 minutes) showing some features of SCA Tools. This video is available here: http://wiki.eclipse.org/STP/SCA_Project#Tutorials Clic on the last item of the section SCA Tools users (SCA Tools 2.0.1 Quick Tour). You're wellcome to d...</description>
		<content:encoded><![CDATA[<pre style="margin: 0em;">Hi,</pre><br>
<tt>I made a video (about 7 minutes) showing some features of SCA Tools.<br>
This video is available here:<br>
<a  href="http://wiki.eclipse.org/STP/SCA_Project#Tutorials">http://wiki.eclipse.org/STP/SCA_Project#Tutorials</a><br>
Clic on the last item of the section SCA Tools users (SCA Tools 2.0.1 
Quick Tour).</tt><br>
<br>
<pre style="margin: 0em;">You're wellcome to do other videos on SCA Tools and to share them with us.</pre><br>
<pre style="margin: 0em;">Regards,</pre><br>
<pre style="margin: 0em;">Stephane Drapeau
Obeo</pre><br>
]]></content:encoded>
		<pubDate>Fri, 11 Sep 2009 10:14:34 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.stp.sca-tools/msg00149.html</guid>
		<author>Stephane.Drapeau@xxxxxxx (Stephane Drapeau)</author>
	</item>


	<item>
		<title>[news.eclipse.stp.sca-tools] Re: help:cant get gallileo eclipse STP	tuscany v1 or v2 m3 working</title>
		<link>http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.stp.sca-tools/msg00148.html</link>
		<description>Hi William, William Woodman a &amp;#xC3;crit : Yes, it is normal. When mapping Java to XML (and vice-versa), Java package names are written in the reversed order to generate the target namespace. Vincent. -- Vincent Zurczak EBM WebSourcing </description>
		<content:encoded><![CDATA[<pre style="margin: 0em;">Hi William,</pre><br>
<pre style="margin: 0em;"><br>William Woodman a &#xC3;crit :</pre><br>
<blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><tt>whats wierd is that the generated targetNamespace in the WSDL is the 
Reverse of my source path i.e. <a  href="http://helloWorld.org.will">http://helloWorld.org.will</a></tt><br>
<br>
<tt>is that what it should do ?  i'd have expected it to come out like in 
the same order as the path.  Is this just another ideosyncratic tuscany 
v1.5 ' feature' or as expected?
</tt></blockquote><pre style="margin: 0em;"><br></pre><br>
<tt>Yes, it is normal.<br>
When mapping Java to XML (and vice-versa), Java package names are 
written in the reversed order to generate the target namespace.</tt><br>
<br>
<pre style="margin: 0em;"><br>      Vincent.</pre><br>
<pre style="margin: 0em;"><br>--
Vincent Zurczak
EBM WebSourcing
+33 (0) 4 38 12 91 72</pre><br>
]]></content:encoded>
		<pubDate>Fri, 04 Sep 2009 14:21:35 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.stp.sca-tools/msg00148.html</guid>
		<author>vincent.zurczak@xxxxxxx (Vincent Zurczak)</author>
	</item>
	<item>
		<title>[news.eclipse.stp.sca-tools] Re: help:cant get gallileo eclipse STP tuscany v1 or v2 m3 working</title>
		<link>http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.stp.sca-tools/msg00147.html</link>
		<description>stephanie nearly there i think. I did what you suggested, i created some directory structure for my interface and the implementation code in a directory will/org/helloWorld below the eclipse src file. put the exlpicit package statement at the top of the so...</description>
		<content:encoded><![CDATA[<tt>stephanie </tt><br>
<br>
<tt>nearly there i think.  I did what you suggested, </tt><br>
<br>
<pre style="margin: 0em;">i created some directory structure for my interface and the implementation code in a directory will/org/helloWorld below the eclipse src file.</pre><br>
<pre style="margin: 0em;">put the exlpicit package statement at the top of the source files - like this for the interface</pre><br>
<pre style="margin: 0em;">package will.org.helloWorld;</pre><br>
<pre style="margin: 0em;">import org.osoa.sca.annotations.*;</pre><br>
<pre style="margin: 0em;">@Remotable</pre><br>
<tt>public interface HelloWorld 
{<br>
	<br>
	String helloWorld ();<br>
	<br>
}</tt><br>
<br>
<tt>i modified the .composite file as follows to put in the fully qualified path (i also set the targetNamespace to be the same for good measure </tt><br>
<br>
<tt>&lt;sca:composite xmlns:sawsdl=&quot;<a  href="http://www.w3.org/ns/sawsdl&quot">http://www.w3.org/ns/sawsdl&quot</a>; 
	xmlns:sca=&quot;<a  href="http://www.osoa.org/xmlns/sca/1.0&quot">http://www.osoa.org/xmlns/sca/1.0&quot</a>; 
	name=&quot;demoSCA&quot; 
	targetNamespace=&quot;<a  href="http://will.org.helloWorld&quot">http://will.org.helloWorld&quot</a>;&gt;<br>
 &lt;sca:component name=&quot;HelloWorldComponent&quot;&gt;<br>
   &lt;sca:implementation.java class=&quot;will.org.helloWorld.HelloWorldImpl&quot;/&gt;<br>
   &lt;sca:service name=&quot;HelloWorld&quot;/&gt;<br>
 &lt;/sca:component&gt;<br>
 &lt;sca:service name=&quot;HelloWorld&quot; promote=&quot;HelloWorldComponent/HelloWorld&quot;&gt;<br>
   &lt;sca:binding.ws uri=&quot;<a  href="http://localhost:8080/HelloWorld&quot;/">http://localhost:8080/HelloWorld&quot;/</a>&gt;<br>
   &lt;sca:binding.sca/&gt;<br>
 &lt;/sca:service&gt;<br>
&lt;/sca:composite&gt;</tt><br>
<br>
<pre style="margin: 0em;">I then re ran the test and pointed the browser at the URI and whoopee as you suggested the wsdl is now aautomagically generated.</pre><br>
<pre style="margin: 0em;">whats wierd is that the generated targetNamespace in the WSDL is the Reverse of my source path i.e. <a  href="http://helloWorld.org.will">http://helloWorld.org.will</a></pre><br>
<pre style="margin: 0em;">is that what it should do ?  i'd have expected it to come out like in the same order as the path.  Is this just another ideosyncratic tuscany v1.5 ' feature' or as expected?</pre><br>
<tt>generated WSDL </tt><br>
<br>
<tt> &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; ?&gt; 
- &lt;wsdl:definitions name=&quot;HelloWorldService&quot; targetNamespace=&quot;<a  href="http://helloWorld.org.will/&quot">http://helloWorld.org.will/&quot</a>; xmlns:tns=&quot;<a  href="http://helloWorld.org.will/&quot">http://helloWorld.org.will/&quot</a>; xmlns:wsdl=&quot;<a  href="http://schemas.xmlsoap.org/wsdl/&quot">http://schemas.xmlsoap.org/wsdl/&quot</a>; xmlns:xs=&quot;<a  href="http://www.w3.org/2001/XMLSchema&quot">http://www.w3.org/2001/XMLSchema&quot</a>; xmlns:SOAP=&quot;<a  href="http://schemas.xmlsoap.org/wsdl/soap/&quot">http://schemas.xmlsoap.org/wsdl/soap/&quot</a>; xmlns:SOAP11=&quot;<a  href="http://schemas.xmlsoap.org/wsdl/soap/&quot">http://schemas.xmlsoap.org/wsdl/soap/&quot</a>;&gt;<br>
- &lt;wsdl:types&gt;<br>
- &lt;xs:schema attributeFormDefault=&quot;qualified&quot; elementFormDefault=&quot;unqualified&quot; targetNamespace=&quot;<a  href="http://helloWorld.org.will/&quot">http://helloWorld.org.will/&quot</a>; xmlns:xs=&quot;<a  href="http://www.w3.org/2001/XMLSchema&quot">http://www.w3.org/2001/XMLSchema&quot</a>;&gt;<br>
- &lt;xs:element name=&quot;helloWorld&quot;&gt;<br>
 &lt;xs:complexType /&gt; 
 &lt;/xs:element&gt;<br>
- &lt;xs:element name=&quot;helloWorldResponse&quot;&gt;<br>
- &lt;xs:complexType&gt;<br>
- &lt;xs:sequence&gt;<br>
 &lt;xs:element minOccurs=&quot;0&quot; name=&quot;return&quot; nillable=&quot;true&quot; type=&quot;xs:string&quot; /&gt; 
 &lt;/xs:sequence&gt;<br>
 &lt;/xs:complexType&gt;<br>
 &lt;/xs:element&gt;<br>
 &lt;/xs:schema&gt;<br>
 &lt;/wsdl:types&gt;<br>
- &lt;wsdl:message name=&quot;helloWorld&quot;&gt;<br>
 &lt;wsdl:part name=&quot;helloWorld&quot; element=&quot;tns:helloWorld&quot; /&gt; 
 &lt;/wsdl:message&gt;<br>
- &lt;wsdl:message name=&quot;helloWorldResponse&quot;&gt;<br>
 &lt;wsdl:part name=&quot;helloWorldResponse&quot; element=&quot;tns:helloWorldResponse&quot; /&gt; 
 &lt;/wsdl:message&gt;<br>
- &lt;wsdl:portType name=&quot;HelloWorld&quot;&gt;<br>
- &lt;wsdl:operation name=&quot;helloWorld&quot;&gt;<br>
 &lt;wsdl:input message=&quot;tns:helloWorld&quot; /&gt; 
 &lt;wsdl:output message=&quot;tns:helloWorldResponse&quot; /&gt; 
 &lt;/wsdl:operation&gt;<br>
 &lt;/wsdl:portType&gt;<br>
- &lt;wsdl:binding name=&quot;HelloWorldBinding&quot; type=&quot;tns:HelloWorld&quot;&gt;<br>
 &lt;SOAP:binding style=&quot;document&quot; transport=&quot;<a  href="http://schemas.xmlsoap.org/soap/http&quot">http://schemas.xmlsoap.org/soap/http&quot</a>; /&gt; 
- &lt;wsdl:operation name=&quot;helloWorld&quot;&gt;<br>
 &lt;SOAP:operation /&gt; 
- &lt;wsdl:input&gt;<br>
 &lt;SOAP:body use=&quot;literal&quot; /&gt; 
 &lt;/wsdl:input&gt;<br>
- &lt;wsdl:output&gt;<br>
 &lt;SOAP:body use=&quot;literal&quot; /&gt; 
 &lt;/wsdl:output&gt;<br>
 &lt;/wsdl:operation&gt;<br>
 &lt;/wsdl:binding&gt;<br>
- &lt;wsdl:service name=&quot;HelloWorldService&quot;&gt;<br>
- &lt;wsdl:port name=&quot;HelloWorldPort&quot; binding=&quot;tns:HelloWorldBinding&quot;&gt;<br>
 &lt;SOAP:address location=&quot;<a  href="http://10.215.2.56:8080/HelloWorld&quot">http://10.215.2.56:8080/HelloWorld&quot</a>; /&gt; 
 &lt;/wsdl:port&gt;<br>
 &lt;/wsdl:service&gt;<br>
 &lt;/wsdl:definitions&gt;</tt><br>
<br>
<tt>thanks one more time in advance </tt><br>
<br>
]]></content:encoded>
		<pubDate>Fri, 04 Sep 2009 13:01:23 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.stp.sca-tools/msg00147.html</guid>
		<author>will.woodman@xxxxxxx (William Woodman)</author>
	</item>
	<item>
		<title>[news.eclipse.stp.sca-tools] Re: help:cant get gallileo eclipse STP	tuscany v1 or v2 m3 working</title>
		<link>http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.stp.sca-tools/msg00146.html</link>
		<description>Will, Have you defined your service interface in a Java package? If not, move the interface in a package named &amp;quot;test&amp;quot; for example. Tuscany computes namespaces of the generated WSDL from the Java package names. I hope this will help you. Stephane Drapeau Ob...</description>
		<content:encoded><![CDATA[<pre style="margin: 0em;">Will,</pre><br>
<tt>Have you defined your service interface in a Java package?<br>
If not, move the interface in a package named &quot;test&quot; for example.<br>
Tuscany computes namespaces of the generated WSDL from the Java package 
names.</tt><br>
<br>
<pre style="margin: 0em;">I hope this will help you.</pre><br>
<pre style="margin: 0em;">Stephane Drapeau
Obeo</pre><br>
<tt>William Woodman a &#xC3;crit :
</tt><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;">Stepanie</pre><br>
<tt>thanks for that i'll check with the tuscany guys -<br>
however have you any idea why my web service doesnt work properly - see 
previous post?</tt><br>
<br>
<pre style="margin: 0em;">Will</pre><br>
<br>
</blockquote><br>
]]></content:encoded>
		<pubDate>Fri, 04 Sep 2009 08:40:03 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.stp.sca-tools/msg00146.html</guid>
		<author>Stephane.Drapeau@xxxxxxx (Stephane Drapeau)</author>
	</item>


	<item>
		<title>[news.eclipse.stp.sca-tools] Re: help:cant get gallileo eclipse STP tuscany v1 or v2 m3 working</title>
		<link>http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.stp.sca-tools/msg00145.html</link>
		<description>Stepanie thanks for that i'll check with the tuscany guys - however have you any idea why my web service doesnt work properly - see previous post? Will </description>
		<content:encoded><![CDATA[<pre style="margin: 0em;">Stepanie</pre><br>
<tt>thanks for that i'll check with the tuscany guys - </tt><br>
<br>
<pre style="margin: 0em;">however have you any idea why my web service doesnt work properly - see previous post?</pre><br>
<pre style="margin: 0em;">Will</pre><br>
<pre style="margin: 0em;"><br></pre><br>
]]></content:encoded>
		<pubDate>Thu, 03 Sep 2009 17:28:38 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.stp.sca-tools/msg00145.html</guid>
		<author>will.woodman@xxxxxxx (William Woodman)</author>
	</item>
	<item>
		<title>[news.eclipse.stp.sca-tools] Re: help:cant get gallileo eclipse STP	tuscany v1 or v2 m3 working</title>
		<link>http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.stp.sca-tools/msg00144.html</link>
		<description>From my point of view, this is not a problem that comes from the SCA specifications. I think that the getService method provided by Tuscany has a bug. getService(HelloWorld.class, &amp;quot;HelloWorld&amp;quot;) should work if HelloWorld is promoted in the composite. Better...</description>
		<content:encoded><![CDATA[<tt>From my point of view, this is not a problem that comes from the SCA 
specifications.  I think that the getService method provided by Tuscany 
has a bug.<br>
getService(HelloWorld.class, &quot;HelloWorld&quot;) should work if HelloWorld is 
promoted in the composite.<br>
Better to ask directly to the Tuscany community.</tt><br>
<br>
<pre style="margin: 0em;">Stephane Drapeau
Obeo</pre><br>
<tt><br>William Woodman a &#xC3;crit :
</tt><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><pre style="margin: 0em;">Stephanie thanks for that seems a bit weird but it worked this time .</pre><br>
<tt>query really on hiding the details.  by having to specify 
domain.getService(HelloWorld.class, &quot;HelloWorldComponent/HelloWorld&quot;)</tt><br>
<br>
<tt>the client has to understand which component in the composite offers the 
service - and that should surely be explicit from the service defn  on 
the composite and the promotion/wiring details in the scdl file. 
whys does a client have to know the component - when all they are 
transacting is with the retuerned service (a interface proxy)<br>
seems weird - is there a good reason for this in the SCA specs?</tt><br>
<br>
<tt>however thanks for getting me started - it was beginningt to drive me 
not so slowly nuts<br>
Will  :p
</tt></blockquote><br>
]]></content:encoded>
		<pubDate>Thu, 03 Sep 2009 16:19:47 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.stp.sca-tools/msg00144.html</guid>
		<author>Stephane.Drapeau@xxxxxxx (Stephane Drapeau)</author>
	</item>
	<item>
		<title>[news.eclipse.stp.sca-tools] Re: help:cant get gallileo eclipse STP tuscany v1 or v2 m3 working</title>
		<link>http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.stp.sca-tools/msg00143.html</link>
		<description>one more question on same area. tried to now expose the service as a web service - i followed the example in the tuscany basic user guide - however the expected response doesnt come back modified the scdl spec as follows &amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8...</description>
		<content:encoded><![CDATA[<pre style="margin: 0em;">one more question on same area.</pre><br>
<tt>tried to now expose the service as a web service - i followed the example in the tuscany basic user guide - however the expected response doesnt come back </tt><br>
<br>
<tt>modified the scdl spec as follows </tt><br>
<br>
<tt><br>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;<br>
&lt;sca:composite xmlns:sawsdl=&quot;<a  href="http://www.w3.org/ns/sawsdl&quot">http://www.w3.org/ns/sawsdl&quot</a>; 
	xmlns:sca=&quot;<a  href="http://www.osoa.org/xmlns/sca/1.0&quot">http://www.osoa.org/xmlns/sca/1.0&quot</a>; 
	name=&quot;demoSCA&quot; 
	targetNamespace=&quot;<a  href="http://will.org/demoSCA&quot">http://will.org/demoSCA&quot</a>;&gt;<br>
 &lt;sca:component name=&quot;HelloWorldComponent&quot;&gt;<br>
   &lt;sca:implementation.java class=&quot;HelloWorldImpl&quot;/&gt;<br>
   &lt;sca:service name=&quot;HelloWorld&quot;/&gt;<br>
 &lt;/sca:component&gt;<br>
 &lt;sca:service name=&quot;HelloWorld&quot; promote=&quot;HelloWorldComponent/HelloWorld&quot;&gt;<br>
   &lt;sca:binding.ws uri=&quot;<a  href="http://localhost:8080/HelloWorld&quot;/">http://localhost:8080/HelloWorld&quot;/</a>&gt;<br>
   &lt;sca:binding.sca/&gt;<br>
 &lt;/sca:service&gt;<br>
&lt;/sca:composite&gt;</tt><br>
<br>
<tt>this starts up okay - but when i point the browser a the URI </tt><br>
<br>
<tt><a  href="http://localhost:8080/HelloWorld?/wsdl">http://localhost:8080/HelloWorld?/wsdl</a>  </tt><br>
<br>
<tt>i get the following where the targetNamespace is &quot;&quot;, and i get an error i cant see off to the right </tt><br>
<br>
<tt><br>//browser response cut and paste 
The XML page cannot be displayed 
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later. </tt><br>
<br>
<pre style="margin: 0em;"><br>------------------------------------------------------------ --------------------</pre><br>
<pre style="margin: 0em;">The operation completed successfully. Error processing resource '<a  href="http://localhost:8080/HelloWorld?wsdl">http://localhost:8080/HelloWorld?wsdl</a>'. Line 2, Position ...</pre><br>
<pre style="margin: 0em;">&lt;wsdl:definitions name=&quot;HelloWorldService&quot; targetNamespace=&quot;&quot; xmlns:tns=&quot;&quot; xmlns:wsdl=&quot;<a  href="http://schemas.xmlsoap.org/wsdl/&quot">http://schemas.xmlsoap.org/wsdl/&quot</a>; ...</pre><br>
<pre style="margin: 0em;"><br></pre><br>
<br>
]]></content:encoded>
		<pubDate>Thu, 03 Sep 2009 15:51:02 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.stp.sca-tools/msg00143.html</guid>
		<author>will.woodman@xxxxxxx (William Woodman)</author>
	</item>
	<item>
		<title>[news.eclipse.stp.sca-tools] Re: help:cant get gallileo eclipse STP tuscany v1 or v2 m3 working</title>
		<link>http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.stp.sca-tools/msg00142.html</link>
		<description>Stephanie thanks for that seems a bit weird but it worked this time . query really on hiding the details. by having to specify domain.getService(HelloWorld.class, &amp;quot;HelloWorldComponent/HelloWorld&amp;quot;) the client has to understand which component in the composi...</description>
		<content:encoded><![CDATA[<pre style="margin: 0em;">Stephanie thanks for that seems a bit weird but it worked this time .</pre><br>
<tt>query really on hiding the details.  by having to specify 
domain.getService(HelloWorld.class, &quot;HelloWorldComponent/HelloWorld&quot;)</tt><br>
<br>
<tt>the client has to understand which component in the composite offers the service - and that should surely be explicit from the service defn  on the composite and the promotion/wiring details in the scdl file.  </tt><br>
<br>
<tt>whys does a client have to know the component - when all they are transacting is with the retuerned service (a interface proxy) </tt><br>
<br>
<pre style="margin: 0em;">seems weird - is there a good reason for this in the SCA specs?</pre><br>
<tt>however thanks for getting me started - it was beginningt to drive me not so slowly nuts </tt><br>
<br>
<tt>Will  :p </tt><br>
<br>
]]></content:encoded>
		<pubDate>Thu, 03 Sep 2009 14:44:00 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.stp.sca-tools/msg00142.html</guid>
		<author>will.woodman@xxxxxxx (William Woodman)</author>
	</item>
	<item>
		<title>[news.eclipse.stp.sca-tools] Re: help:cant get gallileo eclipse STP	tuscany v1 or v2 m3 working</title>
		<link>http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.stp.sca-tools/msg00141.html</link>
		<description>Looking at your code, I think that your error comes from the second attribute of the getService method. You're right, the second attribute is the name of the service, but you must write it as &amp;quot;component name/service name&amp;quot;. As the component has only one ser...</description>
		<content:encoded><![CDATA[<tt>Looking at your code, I think that your error comes from the second 
attribute of the getService method.</tt><br>
<br>
<pre style="margin: 0em;">&gt; HelloWorld hello = domain.getService(HelloWorld.class,
&gt; &quot;HelloWorld&quot;);</pre><br>
<tt>You're right, the second attribute is the name of the service, but you 
must write it as &quot;component name/service name&quot;.<br>
As the component has only one service, you can also use only the 
component name.</tt><br>
<br>
<tt>So try:<br>
HelloWorld hello = domain.getService(HelloWorld.class, 
&quot;HelloWorldComponent/HelloWorld&quot;);</tt><br>
<br>
<tt>or<br>
HelloWorld hello = domain.getService(HelloWorld.class, 
&quot;HelloWorldComponent&quot;);</tt><br>
<br>
<pre style="margin: 0em;"><br>Stephane Drapeau
Obeo</pre><br>
<tt><br>William Woodman a &#xC3;crit :
</tt><blockquote style="border-left: #5555EE solid 0.2em; margin: 0em; padding-left: 0.85em"><tt>I hope that worked - i've tried to attached and uploaded - however there 
no real indication of success.</tt><br>
<br>
<tt>just incase heres the copies of simplest version (all at top level /src 
) (project called demoV1SCA in eclipse)</tt><br>
<br>
<tt>demoSCA.composite :<br>
&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;<br>
&lt;sca:composite xmlns:sawsdl=&quot;<a  href="http://www.w3.org/ns/sawsdl&quot">http://www.w3.org/ns/sawsdl&quot</a>; 
xmlns:sca=&quot;<a  href="http://www.osoa.org/xmlns/sca/1.0&quot">http://www.osoa.org/xmlns/sca/1.0&quot</a>; name=&quot;demoSCA&quot; 
targetNamespace=&quot;<a  href="http://will.org/demoSCA&quot">http://will.org/demoSCA&quot</a>;&gt;<br>
 &lt;sca:component name=&quot;HelloWorldComponent&quot;&gt;<br>
   &lt;sca:implementation.java class=&quot;HelloWorldImpl&quot;/&gt;<br>
   &lt;sca:service name=&quot;HelloWorld&quot;/&gt;<br>
 &lt;/sca:component&gt;<br>
 &lt;sca:service name=&quot;HelloWorld&quot; promote=&quot;HelloWorldComponent/HelloWorld&quot;/&gt;<br>
&lt;/sca:composite&gt;</tt><br>
<br>
<pre style="margin: 0em;">client to start the test demoV1Main.java
import org.apache.tuscany.sca.host.embedded.SCADomain;</pre><br>
<pre style="margin: 0em;">public class demoV1Main {</pre><br>
<tt>    /**<br>
     * @param args<br>
     */<br>
    public static void main(String[] args)     {<br>
        // TODO Auto-generated method stub<br>
    
        //create new Tuscany node        </tt><br>
<br>
<pre style="margin: 0em;">        System.out.println(&quot;starting new domain\n&quot;);</pre><br>
<tt>        // Locate the service using SCA APIs<br>
        SCADomain domain = SCADomain.newInstance(&quot;demoSCA.composite&quot;);<br>
       
        System.out.println(&quot;lookup service\n&quot;);<br>
        HelloWorld hello = domain.getService(HelloWorld.class, 
&quot;HelloWorld&quot;);<br>
                     // Calculate<br>
       System.out.println(&quot;say &quot; + hello.helloWorld());<br>
       try<br>
       {<br>
           System.in.read();<br>
       } catch (Exception e)<br>
       {<br>
           System.exit(0);<br>
       }</tt><br>
<br>
<pre style="margin: 0em;">       SCADomain.removeInstance(domain);
   }</pre><br>
<pre style="margin: 0em;"><br>}</pre><br>
<pre style="margin: 0em;"><br>HelloWorld.java - interface spec import org.osoa.sca.annotations.*;</pre><br>
<pre style="margin: 0em;">@Remotable</pre><br>
<tt>public interface HelloWorld {<br>
    
    String helloWorld ();<br>
    
}</tt><br>
<br>
<pre style="margin: 0em;"><br>HelloWorldImpl.java - component implementation
import org.osoa.sca.annotations.*;</pre><br>
<pre style="margin: 0em;">@Service (HelloWorld.class)
@Scope (&quot;COMPOSITE&quot;)</pre><br>
<pre style="margin: 0em;">public class HelloWorldImpl implements HelloWorld
{
    public String helloWorld ()
    {
        return &quot;hello William&quot;;
    }
}</pre><br>
<tt><br>classpath setting in gallileo eclipse project<br>
&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;<br>
&lt;classpath&gt;<br>
    &lt;classpathentry kind=&quot;src&quot; path=&quot;src&quot;/&gt;<br>
    &lt;classpathentry kind=&quot;con&quot; path=&quot; 
org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.inte 
rnal.debug.ui.launcher.StandardVMType/JavaSE-1.6 &quot;/&gt;<br>
    &lt;classpathentry kind=&quot;lib&quot; path=&quot; 
C:/eclipse/eclipse/plugins/org.eclipse.stp.sca.osoa.java_2.0 
.0.200906170710.jar &quot;/&gt;<br>
    &lt;classpathentry kind=&quot;con&quot; 
path=&quot;org.eclipse.jdt.USER_LIBRARY/tuscany v1 libs&quot;/&gt;<br>
    &lt;classpathentry kind=&quot;output&quot; path=&quot;bin&quot;/&gt;<br>
&lt;/classpath&gt;</tt><br>
<br>
<tt>help that helps show what i have
</tt></blockquote><br>
]]></content:encoded>
		<pubDate>Thu, 03 Sep 2009 12:38:58 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.stp.sca-tools/msg00141.html</guid>
		<author>Stephane.Drapeau@xxxxxxx (Stephane Drapeau)</author>
	</item>
	<item>
		<title>[news.eclipse.stp.sca-tools] Re: help:cant get gallileo eclipse STP tuscany v1 or v2 m3 working</title>
		<link>http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.stp.sca-tools/msg00140.html</link>
		<description>I hope that worked - i've tried to attached and uploaded - however there no real indication of success. just incase heres the copies of simplest version (all at top level /src ) (project called demoV1SCA in eclipse) demoSCA.composite : &amp;lt;?xml version=ot;1.0...</description>
		<content:encoded><![CDATA[<pre style="margin: 0em;">I hope that worked - i've tried to attached and uploaded - however there no real indication of success.</pre><br>
<pre style="margin: 0em;">just incase heres the copies of simplest version (all at top level /src ) (project called demoV1SCA in eclipse)</pre><br>
<pre style="margin: 0em;">demoSCA.composite :
&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;sca:composite xmlns:sawsdl=&quot;<a  href="http://www.w3.org/ns/sawsdl&quot">http://www.w3.org/ns/sawsdl&quot</a>; xmlns:sca=&quot;<a  href="http://www.osoa.org/xmlns/sca/1.0&quot">http://www.osoa.org/xmlns/sca/1.0&quot</a>; name=&quot;demoSCA&quot; targetNamespace=&quot;<a  href="http://will.org/demoSCA&quot">http://will.org/demoSCA&quot</a>;&gt;
 &lt;sca:component name=&quot;HelloWorldComponent&quot;&gt;
   &lt;sca:implementation.java class=&quot;HelloWorldImpl&quot;/&gt;
   &lt;sca:service name=&quot;HelloWorld&quot;/&gt;
 &lt;/sca:component&gt;
 &lt;sca:service name=&quot;HelloWorld&quot; promote=&quot;HelloWorldComponent/HelloWorld&quot;/&gt;
&lt;/sca:composite&gt;</pre><br>
<tt>client to start the test 
demoV1Main.java<br>
import org.apache.tuscany.sca.host.embedded.SCADomain;</tt><br>
<br>
<tt>public class demoV1Main 
{</tt><br>
<br>
<tt>	/**<br>
	 * @param args<br>
	 */<br>
	public static void main(String[] args) 
	{<br>
		// TODO Auto-generated method stub<br>
	<br>
		//create new Tuscany node 
		</tt><br>
<br>
<pre style="margin: 0em;">		System.out.println(&quot;starting new domain\n&quot;);</pre><br>
<tt>		// Locate the service using SCA APIs<br>
		SCADomain domain = SCADomain.newInstance(&quot;demoSCA.composite&quot;);<br>
		<br>
		System.out.println(&quot;lookup service\n&quot;);<br>
		HelloWorld hello = domain.getService(HelloWorld.class, &quot;HelloWorld&quot;);<br>
       
       
       // Calculate<br>
       System.out.println(&quot;say &quot; + hello.helloWorld());<br>
       try<br>
       {<br>
       	System.in.read();<br>
       } catch (Exception e)<br>
       {<br>
       	System.exit(0);<br>
       }</tt><br>
<br>
<pre style="margin: 0em;">       SCADomain.removeInstance(domain);
   }</pre><br>
<pre style="margin: 0em;"><br>}</pre><br>
<tt><br>HelloWorld.java - interface spec 
import org.osoa.sca.annotations.*;</tt><br>
<br>
<pre style="margin: 0em;">@Remotable</pre><br>
<tt>public interface HelloWorld 
{<br>
	<br>
	String helloWorld ();<br>
	<br>
}</tt><br>
<br>
<tt><br>HelloWorldImpl.java - component implementation </tt><br>
<br>
<pre style="margin: 0em;">import org.osoa.sca.annotations.*;</pre><br>
<pre style="margin: 0em;">@Service (HelloWorld.class)
@Scope (&quot;COMPOSITE&quot;)</pre><br>
<pre style="margin: 0em;">public class HelloWorldImpl implements HelloWorld
{
	public String helloWorld ()
	{
		return &quot;hello William&quot;;
	}
}</pre><br>
<pre style="margin: 0em;"><br>classpath setting in gallileo eclipse project
&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;classpath&gt;
	&lt;classpathentry kind=&quot;src&quot; path=&quot;src&quot;/&gt;
	&lt;classpathentry kind=&quot;con&quot; path=&quot; org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.inte rnal.debug.ui.launcher.StandardVMType/JavaSE-1.6 &quot;/&gt;
	&lt;classpathentry kind=&quot;lib&quot; path=&quot; C:/eclipse/eclipse/plugins/org.eclipse.stp.sca.osoa.java_2.0 .0.200906170710.jar &quot;/&gt;
	&lt;classpathentry kind=&quot;con&quot; path=&quot;org.eclipse.jdt.USER_LIBRARY/tuscany v1 libs&quot;/&gt;
	&lt;classpathentry kind=&quot;output&quot; path=&quot;bin&quot;/&gt;
&lt;/classpath&gt;</pre><br>
<tt>help that helps show what i have </tt><br>
<br>
]]></content:encoded>
		<pubDate>Thu, 03 Sep 2009 11:50:44 GMT</pubDate>
		<guid isPermaLink="true">http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.stp.sca-tools/msg00140.html</guid>
		<author>will.woodman@xxxxxxx (William Woodman)</author>
	</item>

 
	</channel>
	</rss>
<!-- MHonArc v2.6.10 -->
