You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by ant elder <an...@apache.org> on 2007/07/19 09:32:33 UTC

Re: svn commit: r557494 - in /incubator/tuscany/java/sca/samples: calculator-rmi-reference/src/main/resources/ calculator-rmi-service/src/main/resources/ calculator-script/src/main/resources/ calculator-webapp/src/main/resources/ calculator/src/main/

Do we really need these, line 1033 of the assembly spec says the
targetNamespace is optional, and the samples don't use the sample
namespace?  As they're samples isn't it good to keep the XML as bare and
simple as possible?

   ...ant

On 7/19/07, lresende@apache.org <lr...@apache.org> wrote:
>
> Author: lresende
> Date: Wed Jul 18 22:33:05 2007
> New Revision: 557494
>
> URL: http://svn.apache.org/viewvc?view=rev&rev=557494
> Log:
> TUSCANY-1330 - Adding targetNameSpace to sample composites
>
> Modified:
>
>     incubator/tuscany/java/sca/samples/calculator-rmi-reference/src/main/resources/CalculatorRMIReference.composite
>
>     incubator/tuscany/java/sca/samples/calculator-rmi-service/src/main/resources/CalculatorRMIServer.composite
>
>     incubator/tuscany/java/sca/samples/calculator-script/src/main/resources/Calculator.composite
>
>     incubator/tuscany/java/sca/samples/calculator-webapp/src/main/resources/Calculator.composite
>
>     incubator/tuscany/java/sca/samples/calculator/src/main/resources/Calculator.composite
>
>     incubator/tuscany/java/sca/samples/chat-webapp/src/main/resources/chat.composite
>
>     incubator/tuscany/java/sca/samples/das-service-web/src/main/resources/dasservice.composite
>
>     incubator/tuscany/java/sca/samples/das-service/src/main/resources/dasservice.composite
>
>     incubator/tuscany/java/sca/samples/helloworld-dojo/src/main/resources/jsonrpc.composite
>
>     incubator/tuscany/java/sca/samples/helloworld-jsonrpc/src/main/resources/jsonrpc.composite
>
>     incubator/tuscany/java/sca/samples/implementation-notification/src/test/resources/TrafficAdvisoryNotification.composite
>
>     incubator/tuscany/java/sca/samples/simple-bigbank-spring/src/main/resources/StockQuote.composite
>
>     incubator/tuscany/java/sca/samples/simple-bigbank/src/main/resources/StockQuote.composite
>
>     incubator/tuscany/java/sca/samples/web-resource/src/main/resources/WebResource.composite
>
> Modified:
> incubator/tuscany/java/sca/samples/calculator-rmi-reference/src/main/resources/CalculatorRMIReference.composite
> URL:
> http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/calculator-rmi-reference/src/main/resources/CalculatorRMIReference.composite?view=diff&rev=557494&r1=557493&r2=557494
>
> ==============================================================================
> ---
> incubator/tuscany/java/sca/samples/calculator-rmi-reference/src/main/resources/CalculatorRMIReference.composite
> (original)
> +++
> incubator/tuscany/java/sca/samples/calculator-rmi-reference/src/main/resources/CalculatorRMIReference.composite
> Wed Jul 18 22:33:05 2007
> @@ -18,6 +18,8 @@
>   * under the License.
> -->
> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
> +           targetNamespace="http://sample"
> +           xmlns:sample="http://sample"
>             name="Calculator">
>
>      <component name="CalculatorServiceComponent">
>
> Modified:
> incubator/tuscany/java/sca/samples/calculator-rmi-service/src/main/resources/CalculatorRMIServer.composite
> URL:
> http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/calculator-rmi-service/src/main/resources/CalculatorRMIServer.composite?view=diff&rev=557494&r1=557493&r2=557494
>
> ==============================================================================
> ---
> incubator/tuscany/java/sca/samples/calculator-rmi-service/src/main/resources/CalculatorRMIServer.composite
> (original)
> +++
> incubator/tuscany/java/sca/samples/calculator-rmi-service/src/main/resources/CalculatorRMIServer.composite
> Wed Jul 18 22:33:05 2007
> @@ -18,6 +18,8 @@
>   * under the License.
> -->
> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
> +           targetNamespace="http://sample"
> +           xmlns:sample="http://sample"
>             name="Calculator">
>
>      <component name="CalculatorServiceComponent">
>
> Modified:
> incubator/tuscany/java/sca/samples/calculator-script/src/main/resources/Calculator.composite
> URL:
> http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/calculator-script/src/main/resources/Calculator.composite?view=diff&rev=557494&r1=557493&r2=557494
>
> ==============================================================================
> ---
> incubator/tuscany/java/sca/samples/calculator-script/src/main/resources/Calculator.composite
> (original)
> +++
> incubator/tuscany/java/sca/samples/calculator-script/src/main/resources/Calculator.composite
> Wed Jul 18 22:33:05 2007
> @@ -18,6 +18,8 @@
>   * under the License.
> -->
> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
> +           targetNamespace="http://sample"
> +           xmlns:sample="http://sample"
>             name="Calculator">
>
>      <component name="CalculatorServiceComponent">
>
> Modified:
> incubator/tuscany/java/sca/samples/calculator-webapp/src/main/resources/Calculator.composite
> URL:
> http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/calculator-webapp/src/main/resources/Calculator.composite?view=diff&rev=557494&r1=557493&r2=557494
>
> ==============================================================================
> ---
> incubator/tuscany/java/sca/samples/calculator-webapp/src/main/resources/Calculator.composite
> (original)
> +++
> incubator/tuscany/java/sca/samples/calculator-webapp/src/main/resources/Calculator.composite
> Wed Jul 18 22:33:05 2007
> @@ -18,6 +18,8 @@
>   * under the License.
> -->
> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
> +           targetNamespace="http://sample"
> +           xmlns:sample="http://sample"
>             name="Calculator">
>
>      <component name="CalculatorServiceComponent">
>
> Modified:
> incubator/tuscany/java/sca/samples/calculator/src/main/resources/Calculator.composite
> URL:
> http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/calculator/src/main/resources/Calculator.composite?view=diff&rev=557494&r1=557493&r2=557494
>
> ==============================================================================
> ---
> incubator/tuscany/java/sca/samples/calculator/src/main/resources/Calculator.composite
> (original)
> +++
> incubator/tuscany/java/sca/samples/calculator/src/main/resources/Calculator.composite
> Wed Jul 18 22:33:05 2007
> @@ -18,6 +18,8 @@
>   * under the License.
> -->
> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
> +           targetNamespace="http://sample"
> +           xmlns:sample="http://sample"
>             name="Calculator">
>
>      <component name="CalculatorServiceComponent">
>
> Modified:
> incubator/tuscany/java/sca/samples/chat-webapp/src/main/resources/chat.composite
> URL:
> http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/chat-webapp/src/main/resources/chat.composite?view=diff&rev=557494&r1=557493&r2=557494
>
> ==============================================================================
> ---
> incubator/tuscany/java/sca/samples/chat-webapp/src/main/resources/chat.composite
> (original)
> +++
> incubator/tuscany/java/sca/samples/chat-webapp/src/main/resources/chat.composite
> Wed Jul 18 22:33:05 2007
> @@ -18,6 +18,8 @@
>   * under the License.
> -->
> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
> +           targetNamespace="http://sample"
> +           xmlns:sample="http://sample"
>             name="Chat">
>
>      <service name="ChatService" promote="ChatComponent">
>
> Modified:
> incubator/tuscany/java/sca/samples/das-service-web/src/main/resources/dasservice.composite
> URL:
> http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/das-service-web/src/main/resources/dasservice.composite?view=diff&rev=557494&r1=557493&r2=557494
>
> ==============================================================================
> ---
> incubator/tuscany/java/sca/samples/das-service-web/src/main/resources/dasservice.composite
> (original)
> +++
> incubator/tuscany/java/sca/samples/das-service-web/src/main/resources/dasservice.composite
> Wed Jul 18 22:33:05 2007
> @@ -18,9 +18,9 @@
>   * under the License.
> -->
> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
> -               targetNamespace="http://sample"
> -               xmlns:sample="http://sample"
> -            name="DASService">
> +           targetNamespace="http://das-service"
> +           xmlns:das-service="http://das-service"
> +           name="DASService">
>
>      <service name="DASService"  promote="DASServiceComponent">
>          <interface.java interface="das.DASService"/>
>
> Modified:
> incubator/tuscany/java/sca/samples/das-service/src/main/resources/dasservice.composite
> URL:
> http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/das-service/src/main/resources/dasservice.composite?view=diff&rev=557494&r1=557493&r2=557494
>
> ==============================================================================
> ---
> incubator/tuscany/java/sca/samples/das-service/src/main/resources/dasservice.composite
> (original)
> +++
> incubator/tuscany/java/sca/samples/das-service/src/main/resources/dasservice.composite
> Wed Jul 18 22:33:05 2007
> @@ -18,8 +18,9 @@
>   * under the License.
> -->
> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
> -               targetNamespace="http://DASService"
> -            name="DASService">
> +           targetNamespace="http://das-service"
> +           xmlns:das-service="http://das-service"
> +           name="DASService">
>
>      <service name="DASService"  promote="DASServiceComponent">
>          <interface.java interface="das.DASService"/>
>
> Modified:
> incubator/tuscany/java/sca/samples/helloworld-dojo/src/main/resources/jsonrpc.composite
> URL:
> http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/helloworld-dojo/src/main/resources/jsonrpc.composite?view=diff&rev=557494&r1=557493&r2=557494
>
> ==============================================================================
> ---
> incubator/tuscany/java/sca/samples/helloworld-dojo/src/main/resources/jsonrpc.composite
> (original)
> +++
> incubator/tuscany/java/sca/samples/helloworld-dojo/src/main/resources/jsonrpc.composite
> Wed Jul 18 22:33:05 2007
> @@ -19,8 +19,8 @@
> -->
>
> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
> -      targetNamespace="http://sample"
> -      xmlns:sample="http://sample"
> +           targetNamespace="http://sample"
> +           xmlns:sample="http://sample"
>             name="helloworldjsonrpc">
>
>         <service name="HelloWorldService"
> promote="HelloWorldJSONServiceComponent/HelloWorldService">
>
> Modified:
> incubator/tuscany/java/sca/samples/helloworld-jsonrpc/src/main/resources/jsonrpc.composite
> URL:
> http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/helloworld-jsonrpc/src/main/resources/jsonrpc.composite?view=diff&rev=557494&r1=557493&r2=557494
>
> ==============================================================================
> ---
> incubator/tuscany/java/sca/samples/helloworld-jsonrpc/src/main/resources/jsonrpc.composite
> (original)
> +++
> incubator/tuscany/java/sca/samples/helloworld-jsonrpc/src/main/resources/jsonrpc.composite
> Wed Jul 18 22:33:05 2007
> @@ -19,8 +19,8 @@
> -->
>
> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
> -      targetNamespace="http://sample"
> -      xmlns:sample="http://sample"
> +           targetNamespace="http://sample"
> +           xmlns:sample="http://sample"
>             name="helloworldjsonrpc">
>
>         <service name="HelloWorldService"
> promote="HelloWorldJSONServiceComponent/HelloWorldService">
>
> Modified:
> incubator/tuscany/java/sca/samples/implementation-notification/src/test/resources/TrafficAdvisoryNotification.composite
> URL:
> http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/implementation-notification/src/test/resources/TrafficAdvisoryNotification.composite?view=diff&rev=557494&r1=557493&r2=557494
>
> ==============================================================================
> ---
> incubator/tuscany/java/sca/samples/implementation-notification/src/test/resources/TrafficAdvisoryNotification.composite
> (original)
> +++
> incubator/tuscany/java/sca/samples/implementation-notification/src/test/resources/TrafficAdvisoryNotification.composite
> Wed Jul 18 22:33:05 2007
> @@ -19,6 +19,8 @@
> -->
>
> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
> +           targetNamespace="http://sample"
> +           xmlns:sample="http://sample"
>             name="TrafficAdvisoryNotificationLocalComposite">
>
>      <component name="TrafficAdvisoryProducer">
>
> Modified:
> incubator/tuscany/java/sca/samples/simple-bigbank-spring/src/main/resources/StockQuote.composite
> URL:
> http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/simple-bigbank-spring/src/main/resources/StockQuote.composite?view=diff&rev=557494&r1=557493&r2=557494
>
> ==============================================================================
> ---
> incubator/tuscany/java/sca/samples/simple-bigbank-spring/src/main/resources/StockQuote.composite
> (original)
> +++
> incubator/tuscany/java/sca/samples/simple-bigbank-spring/src/main/resources/StockQuote.composite
> Wed Jul 18 22:33:05 2007
> @@ -1,7 +1,25 @@
> <?xml version="1.0" encoding="UTF-8"?>
> +<!--
> + * Licensed to the Apache Software Foundation (ASF) under one
> + * or more contributor license agreements.  See the NOTICE file
> + * distributed with this work for additional information
> + * regarding copyright ownership.  The ASF licenses this file
> + * to you under the Apache License, Version 2.0 (the
> + * "License"); you may not use this file except in compliance
> + * with the License.  You may obtain a copy of the License at
> + *
> + *   http://www.apache.org/licenses/LICENSE-2.0
> + *
> + * Unless required by applicable law or agreed to in writing,
> + * software distributed under the License is distributed on an
> + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
> + * KIND, either express or implied.  See the License for the
> + * specific language governing permissions and limitations
> + * under the License.
> +-->
> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
> -       targetNamespace="http://stockquote"
> -    name="StockQuote">
> +          targetNamespace="http://stockquote"
> +           name="StockQuote">
>
>      <service name="StockQuoteService"
> promote="StockQuoteServiceComponent"/>
>
>
> Modified:
> incubator/tuscany/java/sca/samples/simple-bigbank/src/main/resources/StockQuote.composite
> URL:
> http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/simple-bigbank/src/main/resources/StockQuote.composite?view=diff&rev=557494&r1=557493&r2=557494
>
> ==============================================================================
> ---
> incubator/tuscany/java/sca/samples/simple-bigbank/src/main/resources/StockQuote.composite
> (original)
> +++
> incubator/tuscany/java/sca/samples/simple-bigbank/src/main/resources/StockQuote.composite
> Wed Jul 18 22:33:05 2007
> @@ -1,7 +1,26 @@
> <?xml version="1.0" encoding="UTF-8"?>
> +<!--
> + * Licensed to the Apache Software Foundation (ASF) under one
> + * or more contributor license agreements.  See the NOTICE file
> + * distributed with this work for additional information
> + * regarding copyright ownership.  The ASF licenses this file
> + * to you under the Apache License, Version 2.0 (the
> + * "License"); you may not use this file except in compliance
> + * with the License.  You may obtain a copy of the License at
> + *
> + *   http://www.apache.org/licenses/LICENSE-2.0
> + *
> + * Unless required by applicable law or agreed to in writing,
> + * software distributed under the License is distributed on an
> + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
> + * KIND, either express or implied.  See the License for the
> + * specific language governing permissions and limitations
> + * under the License.
> +-->
> +
> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
> -       targetNamespace="http://stockquote"
> -    name="StockQuote">
> +          targetNamespace="http://stockquote"
> +           name="StockQuote">
>
>      <service name="StockQuoteService"
> promote="StockQuoteServiceComponent"/>
>
>
> Modified:
> incubator/tuscany/java/sca/samples/web-resource/src/main/resources/WebResource.composite
> URL:
> http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/web-resource/src/main/resources/WebResource.composite?view=diff&rev=557494&r1=557493&r2=557494
>
> ==============================================================================
> ---
> incubator/tuscany/java/sca/samples/web-resource/src/main/resources/WebResource.composite
> (original)
> +++
> incubator/tuscany/java/sca/samples/web-resource/src/main/resources/WebResource.composite
> Wed Jul 18 22:33:05 2007
> @@ -18,8 +18,8 @@
>      * under the License.
> -->
> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
> -       targetNamespace="http://web"
> -    name="WebResource">
> +          targetNamespace="http://web"
> +           name="WebResource">
>
>         <service name="WebResource" promote="WebResourceComponent">
>                 <binding.resource uri="http://localhost:8083/myWeb"/>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-commits-help@ws.apache.org
>
>

Removing targetNamespace from the simple samples? Re: svn commit: r557494 - in /incubator/tuscany/java/sca/samples: calculator-rmi-reference/src/main/resources/ calculator-rmi-service/src/main/resources/ calculator-script/src/main/resources/ calculator-webapp/src/main/resources/ calculator/src/main/

Posted by Jean-Sebastien Delfino <js...@apache.org>.
Mike Edwards wrote:
> Luciano Resende wrote:
>> The targetNameSpace were only added on the Calculator and Chat
>> samples, as suggested on the JIRA 1330. The other changes were merely
>> cosmetic (such as alignments) or adding missing headers on some
>> composite files.
>>
>> What's the suggestion here ? To remove the targetNamespace from the
>> Calculator samples ?
> Umm, sheepish grin.....
>
> This has revealed an erratum in the spec.  The Assembly spec 
> contradicts itself by saying that the targetNamespace attribute on a 
> composite is optional (line 1033) but in the XSD and in the 
> pseudo-schema, it says that it is required.
>
> Oh well, I'll raise this with the spec group and get a resolution....
>
> My own opinion is that targetNamespace is essential only if there is a 
> desire to share the composite between contributions, since then there 
> must be a means to find the composite from a "remote" place.  However, 
> other spec team members may prefer the "required" approach to avoid 
> errors....
>
> I certainly was arguing to remove the targetNamespace from the 
> samples, since it had no use (didn't show anything useful in terms of 
> those samples).
>
>>
>> On 7/19/07, Mike Edwards <mi...@gmail.com> wrote:
>>> Folks,
>>>
>>> I tend to agree with Ant.  The namespace gets necessary once we get 
>>> into
>>>   inter-contribution sharing of artifacts and then the namespace is
>>> essential, but I dont think it is necessary or useful in the simpler
>>> examples.
>>>
>>> I DO think we need to add the XSD location for the SCA namespace,
>>> however - this is useful for tooling using the composite files, for
>>> example.  This is covered by JIRA 1443.
>>>
>>> Yours,  Mike.
>>>
>>> ant elder wrote:
>>> > Do we really need these, line 1033 of the assembly spec says the
>>> > targetNamespace is optional, and the samples don't use the sample
>>> > namespace?  As they're samples isn't it good to keep the XML as 
>>> bare and
>>> > simple as possible?
>>> >
>>> >   ...ant
>
> Yours,  Mike.
>

I agree that the less we require in SCA assembly XML the better. However 
I'm not sure that more options make the programming model simpler. 
Actually, I had not realized that the namespace was optional, but making 
it optional raises some questions:

- when do we recommend an app developer to use a namespace or not?

- how does an app developer reference a composite with no namespace in 
<implementation.composite name="???"/>? I'm not talking cross 
contributions here, I'm asking about the simple case where everything is 
in one contribution.

- what steps does an app developer need to go through if he didn't 
initially use a namespace and eventually changes his mind (because he 
starts to use a composite)?

Are there simple answers to these questions?

With respect to repeating the location of the SCA XSD in all composites 
to make some tools happy, I added a comment to TUSCANY-1389 [1]: The app 
developer just needs to register the SCA XSD in his tool's XML catalog. 
BTW I'm not seeing many WSDLs and XSDs out there referencing the 
location of the XMLSchema for WSDL or XSD... but I've seen many people 
do what I'm suggesting in TUSCANY-1389. I think it's better than asking 
app developers to repeat the location of the XSDs all over the place in 
their development artifacts to make some IDE tools happy.

[1] https://issues.apache.org/jira/browse/TUSCANY-1389

-- 
Jean-Sebastien


---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


Re: svn commit: r557494 - in /incubator/tuscany/java/sca/samples: calculator-rmi-reference/src/main/resources/ calculator-rmi-service/src/main/resources/ calculator-script/src/main/resources/ calculator-webapp/src/main/resources/ calculator/src/main/

Posted by Mike Edwards <mi...@gmail.com>.
Luciano Resende wrote:
> The targetNameSpace were only added on the Calculator and Chat
> samples, as suggested on the JIRA 1330. The other changes were merely
> cosmetic (such as alignments) or adding missing headers on some
> composite files.
> 
> What's the suggestion here ? To remove the targetNamespace from the
> Calculator samples ?
Umm, sheepish grin.....

This has revealed an erratum in the spec.  The Assembly spec contradicts 
itself by saying that the targetNamespace attribute on a composite is 
optional (line 1033) but in the XSD and in the pseudo-schema, it says 
that it is required.

Oh well, I'll raise this with the spec group and get a resolution....

My own opinion is that targetNamespace is essential only if there is a 
desire to share the composite between contributions, since then there 
must be a means to find the composite from a "remote" place.  However, 
other spec team members may prefer the "required" approach to avoid 
errors....

I certainly was arguing to remove the targetNamespace from the samples, 
since it had no use (didn't show anything useful in terms of those samples).

> 
> On 7/19/07, Mike Edwards <mi...@gmail.com> wrote:
>> Folks,
>>
>> I tend to agree with Ant.  The namespace gets necessary once we get into
>>   inter-contribution sharing of artifacts and then the namespace is
>> essential, but I dont think it is necessary or useful in the simpler
>> examples.
>>
>> I DO think we need to add the XSD location for the SCA namespace,
>> however - this is useful for tooling using the composite files, for
>> example.  This is covered by JIRA 1443.
>>
>> Yours,  Mike.
>>
>> ant elder wrote:
>> > Do we really need these, line 1033 of the assembly spec says the
>> > targetNamespace is optional, and the samples don't use the sample
>> > namespace?  As they're samples isn't it good to keep the XML as bare 
>> and
>> > simple as possible?
>> >
>> >   ...ant

Yours,  Mike.

---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


Re: svn commit: r557494 - in /incubator/tuscany/java/sca/samples: calculator-rmi-reference/src/main/resources/ calculator-rmi-service/src/main/resources/ calculator-script/src/main/resources/ calculator-webapp/src/main/resources/ calculator/src/main/

Posted by Luciano Resende <lu...@gmail.com>.
The targetNameSpace were only added on the Calculator and Chat
samples, as suggested on the JIRA 1330. The other changes were merely
cosmetic (such as alignments) or adding missing headers on some
composite files.

What's the suggestion here ? To remove the targetNamespace from the
Calculator samples ?

On 7/19/07, Mike Edwards <mi...@gmail.com> wrote:
> Folks,
>
> I tend to agree with Ant.  The namespace gets necessary once we get into
>   inter-contribution sharing of artifacts and then the namespace is
> essential, but I dont think it is necessary or useful in the simpler
> examples.
>
> I DO think we need to add the XSD location for the SCA namespace,
> however - this is useful for tooling using the composite files, for
> example.  This is covered by JIRA 1443.
>
> Yours,  Mike.
>
> ant elder wrote:
> > Do we really need these, line 1033 of the assembly spec says the
> > targetNamespace is optional, and the samples don't use the sample
> > namespace?  As they're samples isn't it good to keep the XML as bare and
> > simple as possible?
> >
> >   ...ant
> >
> > On 7/19/07, lresende@apache.org <lr...@apache.org> wrote:
> >>
> >> Author: lresende
> >> Date: Wed Jul 18 22:33:05 2007
> >> New Revision: 557494
> >>
> >> URL: http://svn.apache.org/viewvc?view=rev&rev=557494
> >> Log:
> >> TUSCANY-1330 - Adding targetNameSpace to sample composites
> >>
> >> Modified:
> >>
> >>
> >> incubator/tuscany/java/sca/samples/calculator-rmi-reference/src/main/resources/CalculatorRMIReference.composite
> >>
> >>
> >>
> >> incubator/tuscany/java/sca/samples/calculator-rmi-service/src/main/resources/CalculatorRMIServer.composite
> >>
> >>
> >>
> >> incubator/tuscany/java/sca/samples/calculator-script/src/main/resources/Calculator.composite
> >>
> >>
> >>
> >> incubator/tuscany/java/sca/samples/calculator-webapp/src/main/resources/Calculator.composite
> >>
> >>
> >>
> >> incubator/tuscany/java/sca/samples/calculator/src/main/resources/Calculator.composite
> >>
> >>
> >>
> >> incubator/tuscany/java/sca/samples/chat-webapp/src/main/resources/chat.composite
> >>
> >>
> >>
> >> incubator/tuscany/java/sca/samples/das-service-web/src/main/resources/dasservice.composite
> >>
> >>
> >>
> >> incubator/tuscany/java/sca/samples/das-service/src/main/resources/dasservice.composite
> >>
> >>
> >>
> >> incubator/tuscany/java/sca/samples/helloworld-dojo/src/main/resources/jsonrpc.composite
> >>
> >>
> >>
> >> incubator/tuscany/java/sca/samples/helloworld-jsonrpc/src/main/resources/jsonrpc.composite
> >>
> >>
> >>
> >> incubator/tuscany/java/sca/samples/implementation-notification/src/test/resources/TrafficAdvisoryNotification.composite
> >>
> >>
> >>
> >> incubator/tuscany/java/sca/samples/simple-bigbank-spring/src/main/resources/StockQuote.composite
> >>
> >>
> >>
> >> incubator/tuscany/java/sca/samples/simple-bigbank/src/main/resources/StockQuote.composite
> >>
> >>
> >>
> >> incubator/tuscany/java/sca/samples/web-resource/src/main/resources/WebResource.composite
> >>
> >>
> >> Modified:
> >> incubator/tuscany/java/sca/samples/calculator-rmi-reference/src/main/resources/CalculatorRMIReference.composite
> >>
> >> URL:
> >> http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/calculator-rmi-reference/src/main/resources/CalculatorRMIReference.composite?view=diff&rev=557494&r1=557493&r2=557494
> >>
> >>
> >> ==============================================================================
> >>
> >> ---
> >> incubator/tuscany/java/sca/samples/calculator-rmi-reference/src/main/resources/CalculatorRMIReference.composite
> >>
> >> (original)
> >> +++
> >> incubator/tuscany/java/sca/samples/calculator-rmi-reference/src/main/resources/CalculatorRMIReference.composite
> >>
> >> Wed Jul 18 22:33:05 2007
> >> @@ -18,6 +18,8 @@
> >>   * under the License.
> >> -->
> >> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
> >> +           targetNamespace="http://sample"
> >> +           xmlns:sample="http://sample"
> >>             name="Calculator">
> >>
> >>      <component name="CalculatorServiceComponent">
> >>
> >> Modified:
> >> incubator/tuscany/java/sca/samples/calculator-rmi-service/src/main/resources/CalculatorRMIServer.composite
> >>
> >> URL:
> >> http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/calculator-rmi-service/src/main/resources/CalculatorRMIServer.composite?view=diff&rev=557494&r1=557493&r2=557494
> >>
> >>
> >> ==============================================================================
> >>
> >> ---
> >> incubator/tuscany/java/sca/samples/calculator-rmi-service/src/main/resources/CalculatorRMIServer.composite
> >>
> >> (original)
> >> +++
> >> incubator/tuscany/java/sca/samples/calculator-rmi-service/src/main/resources/CalculatorRMIServer.composite
> >>
> >> Wed Jul 18 22:33:05 2007
> >> @@ -18,6 +18,8 @@
> >>   * under the License.
> >> -->
> >> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
> >> +           targetNamespace="http://sample"
> >> +           xmlns:sample="http://sample"
> >>             name="Calculator">
> >>
> >>      <component name="CalculatorServiceComponent">
> >>
> >> Modified:
> >> incubator/tuscany/java/sca/samples/calculator-script/src/main/resources/Calculator.composite
> >>
> >> URL:
> >> http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/calculator-script/src/main/resources/Calculator.composite?view=diff&rev=557494&r1=557493&r2=557494
> >>
> >>
> >> ==============================================================================
> >>
> >> ---
> >> incubator/tuscany/java/sca/samples/calculator-script/src/main/resources/Calculator.composite
> >>
> >> (original)
> >> +++
> >> incubator/tuscany/java/sca/samples/calculator-script/src/main/resources/Calculator.composite
> >>
> >> Wed Jul 18 22:33:05 2007
> >> @@ -18,6 +18,8 @@
> >>   * under the License.
> >> -->
> >> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
> >> +           targetNamespace="http://sample"
> >> +           xmlns:sample="http://sample"
> >>             name="Calculator">
> >>
> >>      <component name="CalculatorServiceComponent">
> >>
> >> Modified:
> >> incubator/tuscany/java/sca/samples/calculator-webapp/src/main/resources/Calculator.composite
> >>
> >> URL:
> >> http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/calculator-webapp/src/main/resources/Calculator.composite?view=diff&rev=557494&r1=557493&r2=557494
> >>
> >>
> >> ==============================================================================
> >>
> >> ---
> >> incubator/tuscany/java/sca/samples/calculator-webapp/src/main/resources/Calculator.composite
> >>
> >> (original)
> >> +++
> >> incubator/tuscany/java/sca/samples/calculator-webapp/src/main/resources/Calculator.composite
> >>
> >> Wed Jul 18 22:33:05 2007
> >> @@ -18,6 +18,8 @@
> >>   * under the License.
> >> -->
> >> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
> >> +           targetNamespace="http://sample"
> >> +           xmlns:sample="http://sample"
> >>             name="Calculator">
> >>
> >>      <component name="CalculatorServiceComponent">
> >>
> >> Modified:
> >> incubator/tuscany/java/sca/samples/calculator/src/main/resources/Calculator.composite
> >>
> >> URL:
> >> http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/calculator/src/main/resources/Calculator.composite?view=diff&rev=557494&r1=557493&r2=557494
> >>
> >>
> >> ==============================================================================
> >>
> >> ---
> >> incubator/tuscany/java/sca/samples/calculator/src/main/resources/Calculator.composite
> >>
> >> (original)
> >> +++
> >> incubator/tuscany/java/sca/samples/calculator/src/main/resources/Calculator.composite
> >>
> >> Wed Jul 18 22:33:05 2007
> >> @@ -18,6 +18,8 @@
> >>   * under the License.
> >> -->
> >> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
> >> +           targetNamespace="http://sample"
> >> +           xmlns:sample="http://sample"
> >>             name="Calculator">
> >>
> >>      <component name="CalculatorServiceComponent">
> >>
> >> Modified:
> >> incubator/tuscany/java/sca/samples/chat-webapp/src/main/resources/chat.composite
> >>
> >> URL:
> >> http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/chat-webapp/src/main/resources/chat.composite?view=diff&rev=557494&r1=557493&r2=557494
> >>
> >>
> >> ==============================================================================
> >>
> >> ---
> >> incubator/tuscany/java/sca/samples/chat-webapp/src/main/resources/chat.composite
> >>
> >> (original)
> >> +++
> >> incubator/tuscany/java/sca/samples/chat-webapp/src/main/resources/chat.composite
> >>
> >> Wed Jul 18 22:33:05 2007
> >> @@ -18,6 +18,8 @@
> >>   * under the License.
> >> -->
> >> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
> >> +           targetNamespace="http://sample"
> >> +           xmlns:sample="http://sample"
> >>             name="Chat">
> >>
> >>      <service name="ChatService" promote="ChatComponent">
> >>
> >> Modified:
> >> incubator/tuscany/java/sca/samples/das-service-web/src/main/resources/dasservice.composite
> >>
> >> URL:
> >> http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/das-service-web/src/main/resources/dasservice.composite?view=diff&rev=557494&r1=557493&r2=557494
> >>
> >>
> >> ==============================================================================
> >>
> >> ---
> >> incubator/tuscany/java/sca/samples/das-service-web/src/main/resources/dasservice.composite
> >>
> >> (original)
> >> +++
> >> incubator/tuscany/java/sca/samples/das-service-web/src/main/resources/dasservice.composite
> >>
> >> Wed Jul 18 22:33:05 2007
> >> @@ -18,9 +18,9 @@
> >>   * under the License.
> >> -->
> >> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
> >> -               targetNamespace="http://sample"
> >> -               xmlns:sample="http://sample"
> >> -            name="DASService">
> >> +           targetNamespace="http://das-service"
> >> +           xmlns:das-service="http://das-service"
> >> +           name="DASService">
> >>
> >>      <service name="DASService"  promote="DASServiceComponent">
> >>          <interface.java interface="das.DASService"/>
> >>
> >> Modified:
> >> incubator/tuscany/java/sca/samples/das-service/src/main/resources/dasservice.composite
> >>
> >> URL:
> >> http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/das-service/src/main/resources/dasservice.composite?view=diff&rev=557494&r1=557493&r2=557494
> >>
> >>
> >> ==============================================================================
> >>
> >> ---
> >> incubator/tuscany/java/sca/samples/das-service/src/main/resources/dasservice.composite
> >>
> >> (original)
> >> +++
> >> incubator/tuscany/java/sca/samples/das-service/src/main/resources/dasservice.composite
> >>
> >> Wed Jul 18 22:33:05 2007
> >> @@ -18,8 +18,9 @@
> >>   * under the License.
> >> -->
> >> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
> >> -               targetNamespace="http://DASService"
> >> -            name="DASService">
> >> +           targetNamespace="http://das-service"
> >> +           xmlns:das-service="http://das-service"
> >> +           name="DASService">
> >>
> >>      <service name="DASService"  promote="DASServiceComponent">
> >>          <interface.java interface="das.DASService"/>
> >>
> >> Modified:
> >> incubator/tuscany/java/sca/samples/helloworld-dojo/src/main/resources/jsonrpc.composite
> >>
> >> URL:
> >> http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/helloworld-dojo/src/main/resources/jsonrpc.composite?view=diff&rev=557494&r1=557493&r2=557494
> >>
> >>
> >> ==============================================================================
> >>
> >> ---
> >> incubator/tuscany/java/sca/samples/helloworld-dojo/src/main/resources/jsonrpc.composite
> >>
> >> (original)
> >> +++
> >> incubator/tuscany/java/sca/samples/helloworld-dojo/src/main/resources/jsonrpc.composite
> >>
> >> Wed Jul 18 22:33:05 2007
> >> @@ -19,8 +19,8 @@
> >> -->
> >>
> >> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
> >> -      targetNamespace="http://sample"
> >> -      xmlns:sample="http://sample"
> >> +           targetNamespace="http://sample"
> >> +           xmlns:sample="http://sample"
> >>             name="helloworldjsonrpc">
> >>
> >>         <service name="HelloWorldService"
> >> promote="HelloWorldJSONServiceComponent/HelloWorldService">
> >>
> >> Modified:
> >> incubator/tuscany/java/sca/samples/helloworld-jsonrpc/src/main/resources/jsonrpc.composite
> >>
> >> URL:
> >> http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/helloworld-jsonrpc/src/main/resources/jsonrpc.composite?view=diff&rev=557494&r1=557493&r2=557494
> >>
> >>
> >> ==============================================================================
> >>
> >> ---
> >> incubator/tuscany/java/sca/samples/helloworld-jsonrpc/src/main/resources/jsonrpc.composite
> >>
> >> (original)
> >> +++
> >> incubator/tuscany/java/sca/samples/helloworld-jsonrpc/src/main/resources/jsonrpc.composite
> >>
> >> Wed Jul 18 22:33:05 2007
> >> @@ -19,8 +19,8 @@
> >> -->
> >>
> >> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
> >> -      targetNamespace="http://sample"
> >> -      xmlns:sample="http://sample"
> >> +           targetNamespace="http://sample"
> >> +           xmlns:sample="http://sample"
> >>             name="helloworldjsonrpc">
> >>
> >>         <service name="HelloWorldService"
> >> promote="HelloWorldJSONServiceComponent/HelloWorldService">
> >>
> >> Modified:
> >> incubator/tuscany/java/sca/samples/implementation-notification/src/test/resources/TrafficAdvisoryNotification.composite
> >>
> >> URL:
> >> http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/implementation-notification/src/test/resources/TrafficAdvisoryNotification.composite?view=diff&rev=557494&r1=557493&r2=557494
> >>
> >>
> >> ==============================================================================
> >>
> >> ---
> >> incubator/tuscany/java/sca/samples/implementation-notification/src/test/resources/TrafficAdvisoryNotification.composite
> >>
> >> (original)
> >> +++
> >> incubator/tuscany/java/sca/samples/implementation-notification/src/test/resources/TrafficAdvisoryNotification.composite
> >>
> >> Wed Jul 18 22:33:05 2007
> >> @@ -19,6 +19,8 @@
> >> -->
> >>
> >> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
> >> +           targetNamespace="http://sample"
> >> +           xmlns:sample="http://sample"
> >>             name="TrafficAdvisoryNotificationLocalComposite">
> >>
> >>      <component name="TrafficAdvisoryProducer">
> >>
> >> Modified:
> >> incubator/tuscany/java/sca/samples/simple-bigbank-spring/src/main/resources/StockQuote.composite
> >>
> >> URL:
> >> http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/simple-bigbank-spring/src/main/resources/StockQuote.composite?view=diff&rev=557494&r1=557493&r2=557494
> >>
> >>
> >> ==============================================================================
> >>
> >> ---
> >> incubator/tuscany/java/sca/samples/simple-bigbank-spring/src/main/resources/StockQuote.composite
> >>
> >> (original)
> >> +++
> >> incubator/tuscany/java/sca/samples/simple-bigbank-spring/src/main/resources/StockQuote.composite
> >>
> >> Wed Jul 18 22:33:05 2007
> >> @@ -1,7 +1,25 @@
> >> <?xml version="1.0" encoding="UTF-8"?>
> >> +<!--
> >> + * Licensed to the Apache Software Foundation (ASF) under one
> >> + * or more contributor license agreements.  See the NOTICE file
> >> + * distributed with this work for additional information
> >> + * regarding copyright ownership.  The ASF licenses this file
> >> + * to you under the Apache License, Version 2.0 (the
> >> + * "License"); you may not use this file except in compliance
> >> + * with the License.  You may obtain a copy of the License at
> >> + *
> >> + *   http://www.apache.org/licenses/LICENSE-2.0
> >> + *
> >> + * Unless required by applicable law or agreed to in writing,
> >> + * software distributed under the License is distributed on an
> >> + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
> >> + * KIND, either express or implied.  See the License for the
> >> + * specific language governing permissions and limitations
> >> + * under the License.
> >> +-->
> >> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
> >> -       targetNamespace="http://stockquote"
> >> -    name="StockQuote">
> >> +          targetNamespace="http://stockquote"
> >> +           name="StockQuote">
> >>
> >>      <service name="StockQuoteService"
> >> promote="StockQuoteServiceComponent"/>
> >>
> >>
> >> Modified:
> >> incubator/tuscany/java/sca/samples/simple-bigbank/src/main/resources/StockQuote.composite
> >>
> >> URL:
> >> http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/simple-bigbank/src/main/resources/StockQuote.composite?view=diff&rev=557494&r1=557493&r2=557494
> >>
> >>
> >> ==============================================================================
> >>
> >> ---
> >> incubator/tuscany/java/sca/samples/simple-bigbank/src/main/resources/StockQuote.composite
> >>
> >> (original)
> >> +++
> >> incubator/tuscany/java/sca/samples/simple-bigbank/src/main/resources/StockQuote.composite
> >>
> >> Wed Jul 18 22:33:05 2007
> >> @@ -1,7 +1,26 @@
> >> <?xml version="1.0" encoding="UTF-8"?>
> >> +<!--
> >> + * Licensed to the Apache Software Foundation (ASF) under one
> >> + * or more contributor license agreements.  See the NOTICE file
> >> + * distributed with this work for additional information
> >> + * regarding copyright ownership.  The ASF licenses this file
> >> + * to you under the Apache License, Version 2.0 (the
> >> + * "License"); you may not use this file except in compliance
> >> + * with the License.  You may obtain a copy of the License at
> >> + *
> >> + *   http://www.apache.org/licenses/LICENSE-2.0
> >> + *
> >> + * Unless required by applicable law or agreed to in writing,
> >> + * software distributed under the License is distributed on an
> >> + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
> >> + * KIND, either express or implied.  See the License for the
> >> + * specific language governing permissions and limitations
> >> + * under the License.
> >> +-->
> >> +
> >> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
> >> -       targetNamespace="http://stockquote"
> >> -    name="StockQuote">
> >> +          targetNamespace="http://stockquote"
> >> +           name="StockQuote">
> >>
> >>      <service name="StockQuoteService"
> >> promote="StockQuoteServiceComponent"/>
> >>
> >>
> >> Modified:
> >> incubator/tuscany/java/sca/samples/web-resource/src/main/resources/WebResource.composite
> >>
> >> URL:
> >> http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/web-resource/src/main/resources/WebResource.composite?view=diff&rev=557494&r1=557493&r2=557494
> >>
> >>
> >> ==============================================================================
> >>
> >> ---
> >> incubator/tuscany/java/sca/samples/web-resource/src/main/resources/WebResource.composite
> >>
> >> (original)
> >> +++
> >> incubator/tuscany/java/sca/samples/web-resource/src/main/resources/WebResource.composite
> >>
> >> Wed Jul 18 22:33:05 2007
> >> @@ -18,8 +18,8 @@
> >>      * under the License.
> >> -->
> >> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
> >> -       targetNamespace="http://web"
> >> -    name="WebResource">
> >> +          targetNamespace="http://web"
> >> +           name="WebResource">
> >>
> >>         <service name="WebResource" promote="WebResourceComponent">
> >>                 <binding.resource uri="http://localhost:8083/myWeb"/>
> >>
> >>
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
> >> For additional commands, e-mail: tuscany-commits-help@ws.apache.org
> >>
> >>
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>
>


-- 
Luciano Resende
Apache Tuscany Committer
http://people.apache.org/~lresende
http://lresende.blogspot.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


Re: svn commit: r557494 - in /incubator/tuscany/java/sca/samples: calculator-rmi-reference/src/main/resources/ calculator-rmi-service/src/main/resources/ calculator-script/src/main/resources/ calculator-webapp/src/main/resources/ calculator/src/main/

Posted by Mike Edwards <mi...@gmail.com>.
Folks,

I tend to agree with Ant.  The namespace gets necessary once we get into 
  inter-contribution sharing of artifacts and then the namespace is 
essential, but I dont think it is necessary or useful in the simpler 
examples.

I DO think we need to add the XSD location for the SCA namespace, 
however - this is useful for tooling using the composite files, for 
example.  This is covered by JIRA 1443.

Yours,  Mike.

ant elder wrote:
> Do we really need these, line 1033 of the assembly spec says the
> targetNamespace is optional, and the samples don't use the sample
> namespace?  As they're samples isn't it good to keep the XML as bare and
> simple as possible?
> 
>   ...ant
> 
> On 7/19/07, lresende@apache.org <lr...@apache.org> wrote:
>>
>> Author: lresende
>> Date: Wed Jul 18 22:33:05 2007
>> New Revision: 557494
>>
>> URL: http://svn.apache.org/viewvc?view=rev&rev=557494
>> Log:
>> TUSCANY-1330 - Adding targetNameSpace to sample composites
>>
>> Modified:
>>
>>     
>> incubator/tuscany/java/sca/samples/calculator-rmi-reference/src/main/resources/CalculatorRMIReference.composite 
>>
>>
>>     
>> incubator/tuscany/java/sca/samples/calculator-rmi-service/src/main/resources/CalculatorRMIServer.composite 
>>
>>
>>     
>> incubator/tuscany/java/sca/samples/calculator-script/src/main/resources/Calculator.composite 
>>
>>
>>     
>> incubator/tuscany/java/sca/samples/calculator-webapp/src/main/resources/Calculator.composite 
>>
>>
>>     
>> incubator/tuscany/java/sca/samples/calculator/src/main/resources/Calculator.composite 
>>
>>
>>     
>> incubator/tuscany/java/sca/samples/chat-webapp/src/main/resources/chat.composite 
>>
>>
>>     
>> incubator/tuscany/java/sca/samples/das-service-web/src/main/resources/dasservice.composite 
>>
>>
>>     
>> incubator/tuscany/java/sca/samples/das-service/src/main/resources/dasservice.composite 
>>
>>
>>     
>> incubator/tuscany/java/sca/samples/helloworld-dojo/src/main/resources/jsonrpc.composite 
>>
>>
>>     
>> incubator/tuscany/java/sca/samples/helloworld-jsonrpc/src/main/resources/jsonrpc.composite 
>>
>>
>>     
>> incubator/tuscany/java/sca/samples/implementation-notification/src/test/resources/TrafficAdvisoryNotification.composite 
>>
>>
>>     
>> incubator/tuscany/java/sca/samples/simple-bigbank-spring/src/main/resources/StockQuote.composite 
>>
>>
>>     
>> incubator/tuscany/java/sca/samples/simple-bigbank/src/main/resources/StockQuote.composite 
>>
>>
>>     
>> incubator/tuscany/java/sca/samples/web-resource/src/main/resources/WebResource.composite 
>>
>>
>> Modified:
>> incubator/tuscany/java/sca/samples/calculator-rmi-reference/src/main/resources/CalculatorRMIReference.composite 
>>
>> URL:
>> http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/calculator-rmi-reference/src/main/resources/CalculatorRMIReference.composite?view=diff&rev=557494&r1=557493&r2=557494 
>>
>>
>> ============================================================================== 
>>
>> ---
>> incubator/tuscany/java/sca/samples/calculator-rmi-reference/src/main/resources/CalculatorRMIReference.composite 
>>
>> (original)
>> +++
>> incubator/tuscany/java/sca/samples/calculator-rmi-reference/src/main/resources/CalculatorRMIReference.composite 
>>
>> Wed Jul 18 22:33:05 2007
>> @@ -18,6 +18,8 @@
>>   * under the License.
>> -->
>> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
>> +           targetNamespace="http://sample"
>> +           xmlns:sample="http://sample"
>>             name="Calculator">
>>
>>      <component name="CalculatorServiceComponent">
>>
>> Modified:
>> incubator/tuscany/java/sca/samples/calculator-rmi-service/src/main/resources/CalculatorRMIServer.composite 
>>
>> URL:
>> http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/calculator-rmi-service/src/main/resources/CalculatorRMIServer.composite?view=diff&rev=557494&r1=557493&r2=557494 
>>
>>
>> ============================================================================== 
>>
>> ---
>> incubator/tuscany/java/sca/samples/calculator-rmi-service/src/main/resources/CalculatorRMIServer.composite 
>>
>> (original)
>> +++
>> incubator/tuscany/java/sca/samples/calculator-rmi-service/src/main/resources/CalculatorRMIServer.composite 
>>
>> Wed Jul 18 22:33:05 2007
>> @@ -18,6 +18,8 @@
>>   * under the License.
>> -->
>> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
>> +           targetNamespace="http://sample"
>> +           xmlns:sample="http://sample"
>>             name="Calculator">
>>
>>      <component name="CalculatorServiceComponent">
>>
>> Modified:
>> incubator/tuscany/java/sca/samples/calculator-script/src/main/resources/Calculator.composite 
>>
>> URL:
>> http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/calculator-script/src/main/resources/Calculator.composite?view=diff&rev=557494&r1=557493&r2=557494 
>>
>>
>> ============================================================================== 
>>
>> ---
>> incubator/tuscany/java/sca/samples/calculator-script/src/main/resources/Calculator.composite 
>>
>> (original)
>> +++
>> incubator/tuscany/java/sca/samples/calculator-script/src/main/resources/Calculator.composite 
>>
>> Wed Jul 18 22:33:05 2007
>> @@ -18,6 +18,8 @@
>>   * under the License.
>> -->
>> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
>> +           targetNamespace="http://sample"
>> +           xmlns:sample="http://sample"
>>             name="Calculator">
>>
>>      <component name="CalculatorServiceComponent">
>>
>> Modified:
>> incubator/tuscany/java/sca/samples/calculator-webapp/src/main/resources/Calculator.composite 
>>
>> URL:
>> http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/calculator-webapp/src/main/resources/Calculator.composite?view=diff&rev=557494&r1=557493&r2=557494 
>>
>>
>> ============================================================================== 
>>
>> ---
>> incubator/tuscany/java/sca/samples/calculator-webapp/src/main/resources/Calculator.composite 
>>
>> (original)
>> +++
>> incubator/tuscany/java/sca/samples/calculator-webapp/src/main/resources/Calculator.composite 
>>
>> Wed Jul 18 22:33:05 2007
>> @@ -18,6 +18,8 @@
>>   * under the License.
>> -->
>> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
>> +           targetNamespace="http://sample"
>> +           xmlns:sample="http://sample"
>>             name="Calculator">
>>
>>      <component name="CalculatorServiceComponent">
>>
>> Modified:
>> incubator/tuscany/java/sca/samples/calculator/src/main/resources/Calculator.composite 
>>
>> URL:
>> http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/calculator/src/main/resources/Calculator.composite?view=diff&rev=557494&r1=557493&r2=557494 
>>
>>
>> ============================================================================== 
>>
>> ---
>> incubator/tuscany/java/sca/samples/calculator/src/main/resources/Calculator.composite 
>>
>> (original)
>> +++
>> incubator/tuscany/java/sca/samples/calculator/src/main/resources/Calculator.composite 
>>
>> Wed Jul 18 22:33:05 2007
>> @@ -18,6 +18,8 @@
>>   * under the License.
>> -->
>> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
>> +           targetNamespace="http://sample"
>> +           xmlns:sample="http://sample"
>>             name="Calculator">
>>
>>      <component name="CalculatorServiceComponent">
>>
>> Modified:
>> incubator/tuscany/java/sca/samples/chat-webapp/src/main/resources/chat.composite 
>>
>> URL:
>> http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/chat-webapp/src/main/resources/chat.composite?view=diff&rev=557494&r1=557493&r2=557494 
>>
>>
>> ============================================================================== 
>>
>> ---
>> incubator/tuscany/java/sca/samples/chat-webapp/src/main/resources/chat.composite 
>>
>> (original)
>> +++
>> incubator/tuscany/java/sca/samples/chat-webapp/src/main/resources/chat.composite 
>>
>> Wed Jul 18 22:33:05 2007
>> @@ -18,6 +18,8 @@
>>   * under the License.
>> -->
>> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
>> +           targetNamespace="http://sample"
>> +           xmlns:sample="http://sample"
>>             name="Chat">
>>
>>      <service name="ChatService" promote="ChatComponent">
>>
>> Modified:
>> incubator/tuscany/java/sca/samples/das-service-web/src/main/resources/dasservice.composite 
>>
>> URL:
>> http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/das-service-web/src/main/resources/dasservice.composite?view=diff&rev=557494&r1=557493&r2=557494 
>>
>>
>> ============================================================================== 
>>
>> ---
>> incubator/tuscany/java/sca/samples/das-service-web/src/main/resources/dasservice.composite 
>>
>> (original)
>> +++
>> incubator/tuscany/java/sca/samples/das-service-web/src/main/resources/dasservice.composite 
>>
>> Wed Jul 18 22:33:05 2007
>> @@ -18,9 +18,9 @@
>>   * under the License.
>> -->
>> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
>> -               targetNamespace="http://sample"
>> -               xmlns:sample="http://sample"
>> -            name="DASService">
>> +           targetNamespace="http://das-service"
>> +           xmlns:das-service="http://das-service"
>> +           name="DASService">
>>
>>      <service name="DASService"  promote="DASServiceComponent">
>>          <interface.java interface="das.DASService"/>
>>
>> Modified:
>> incubator/tuscany/java/sca/samples/das-service/src/main/resources/dasservice.composite 
>>
>> URL:
>> http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/das-service/src/main/resources/dasservice.composite?view=diff&rev=557494&r1=557493&r2=557494 
>>
>>
>> ============================================================================== 
>>
>> ---
>> incubator/tuscany/java/sca/samples/das-service/src/main/resources/dasservice.composite 
>>
>> (original)
>> +++
>> incubator/tuscany/java/sca/samples/das-service/src/main/resources/dasservice.composite 
>>
>> Wed Jul 18 22:33:05 2007
>> @@ -18,8 +18,9 @@
>>   * under the License.
>> -->
>> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
>> -               targetNamespace="http://DASService"
>> -            name="DASService">
>> +           targetNamespace="http://das-service"
>> +           xmlns:das-service="http://das-service"
>> +           name="DASService">
>>
>>      <service name="DASService"  promote="DASServiceComponent">
>>          <interface.java interface="das.DASService"/>
>>
>> Modified:
>> incubator/tuscany/java/sca/samples/helloworld-dojo/src/main/resources/jsonrpc.composite 
>>
>> URL:
>> http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/helloworld-dojo/src/main/resources/jsonrpc.composite?view=diff&rev=557494&r1=557493&r2=557494 
>>
>>
>> ============================================================================== 
>>
>> ---
>> incubator/tuscany/java/sca/samples/helloworld-dojo/src/main/resources/jsonrpc.composite 
>>
>> (original)
>> +++
>> incubator/tuscany/java/sca/samples/helloworld-dojo/src/main/resources/jsonrpc.composite 
>>
>> Wed Jul 18 22:33:05 2007
>> @@ -19,8 +19,8 @@
>> -->
>>
>> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
>> -      targetNamespace="http://sample"
>> -      xmlns:sample="http://sample"
>> +           targetNamespace="http://sample"
>> +           xmlns:sample="http://sample"
>>             name="helloworldjsonrpc">
>>
>>         <service name="HelloWorldService"
>> promote="HelloWorldJSONServiceComponent/HelloWorldService">
>>
>> Modified:
>> incubator/tuscany/java/sca/samples/helloworld-jsonrpc/src/main/resources/jsonrpc.composite 
>>
>> URL:
>> http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/helloworld-jsonrpc/src/main/resources/jsonrpc.composite?view=diff&rev=557494&r1=557493&r2=557494 
>>
>>
>> ============================================================================== 
>>
>> ---
>> incubator/tuscany/java/sca/samples/helloworld-jsonrpc/src/main/resources/jsonrpc.composite 
>>
>> (original)
>> +++
>> incubator/tuscany/java/sca/samples/helloworld-jsonrpc/src/main/resources/jsonrpc.composite 
>>
>> Wed Jul 18 22:33:05 2007
>> @@ -19,8 +19,8 @@
>> -->
>>
>> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
>> -      targetNamespace="http://sample"
>> -      xmlns:sample="http://sample"
>> +           targetNamespace="http://sample"
>> +           xmlns:sample="http://sample"
>>             name="helloworldjsonrpc">
>>
>>         <service name="HelloWorldService"
>> promote="HelloWorldJSONServiceComponent/HelloWorldService">
>>
>> Modified:
>> incubator/tuscany/java/sca/samples/implementation-notification/src/test/resources/TrafficAdvisoryNotification.composite 
>>
>> URL:
>> http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/implementation-notification/src/test/resources/TrafficAdvisoryNotification.composite?view=diff&rev=557494&r1=557493&r2=557494 
>>
>>
>> ============================================================================== 
>>
>> ---
>> incubator/tuscany/java/sca/samples/implementation-notification/src/test/resources/TrafficAdvisoryNotification.composite 
>>
>> (original)
>> +++
>> incubator/tuscany/java/sca/samples/implementation-notification/src/test/resources/TrafficAdvisoryNotification.composite 
>>
>> Wed Jul 18 22:33:05 2007
>> @@ -19,6 +19,8 @@
>> -->
>>
>> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
>> +           targetNamespace="http://sample"
>> +           xmlns:sample="http://sample"
>>             name="TrafficAdvisoryNotificationLocalComposite">
>>
>>      <component name="TrafficAdvisoryProducer">
>>
>> Modified:
>> incubator/tuscany/java/sca/samples/simple-bigbank-spring/src/main/resources/StockQuote.composite 
>>
>> URL:
>> http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/simple-bigbank-spring/src/main/resources/StockQuote.composite?view=diff&rev=557494&r1=557493&r2=557494 
>>
>>
>> ============================================================================== 
>>
>> ---
>> incubator/tuscany/java/sca/samples/simple-bigbank-spring/src/main/resources/StockQuote.composite 
>>
>> (original)
>> +++
>> incubator/tuscany/java/sca/samples/simple-bigbank-spring/src/main/resources/StockQuote.composite 
>>
>> Wed Jul 18 22:33:05 2007
>> @@ -1,7 +1,25 @@
>> <?xml version="1.0" encoding="UTF-8"?>
>> +<!--
>> + * Licensed to the Apache Software Foundation (ASF) under one
>> + * or more contributor license agreements.  See the NOTICE file
>> + * distributed with this work for additional information
>> + * regarding copyright ownership.  The ASF licenses this file
>> + * to you under the Apache License, Version 2.0 (the
>> + * "License"); you may not use this file except in compliance
>> + * with the License.  You may obtain a copy of the License at
>> + *
>> + *   http://www.apache.org/licenses/LICENSE-2.0
>> + *
>> + * Unless required by applicable law or agreed to in writing,
>> + * software distributed under the License is distributed on an
>> + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
>> + * KIND, either express or implied.  See the License for the
>> + * specific language governing permissions and limitations
>> + * under the License.
>> +-->
>> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
>> -       targetNamespace="http://stockquote"
>> -    name="StockQuote">
>> +          targetNamespace="http://stockquote"
>> +           name="StockQuote">
>>
>>      <service name="StockQuoteService"
>> promote="StockQuoteServiceComponent"/>
>>
>>
>> Modified:
>> incubator/tuscany/java/sca/samples/simple-bigbank/src/main/resources/StockQuote.composite 
>>
>> URL:
>> http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/simple-bigbank/src/main/resources/StockQuote.composite?view=diff&rev=557494&r1=557493&r2=557494 
>>
>>
>> ============================================================================== 
>>
>> ---
>> incubator/tuscany/java/sca/samples/simple-bigbank/src/main/resources/StockQuote.composite 
>>
>> (original)
>> +++
>> incubator/tuscany/java/sca/samples/simple-bigbank/src/main/resources/StockQuote.composite 
>>
>> Wed Jul 18 22:33:05 2007
>> @@ -1,7 +1,26 @@
>> <?xml version="1.0" encoding="UTF-8"?>
>> +<!--
>> + * Licensed to the Apache Software Foundation (ASF) under one
>> + * or more contributor license agreements.  See the NOTICE file
>> + * distributed with this work for additional information
>> + * regarding copyright ownership.  The ASF licenses this file
>> + * to you under the Apache License, Version 2.0 (the
>> + * "License"); you may not use this file except in compliance
>> + * with the License.  You may obtain a copy of the License at
>> + *
>> + *   http://www.apache.org/licenses/LICENSE-2.0
>> + *
>> + * Unless required by applicable law or agreed to in writing,
>> + * software distributed under the License is distributed on an
>> + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
>> + * KIND, either express or implied.  See the License for the
>> + * specific language governing permissions and limitations
>> + * under the License.
>> +-->
>> +
>> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
>> -       targetNamespace="http://stockquote"
>> -    name="StockQuote">
>> +          targetNamespace="http://stockquote"
>> +           name="StockQuote">
>>
>>      <service name="StockQuoteService"
>> promote="StockQuoteServiceComponent"/>
>>
>>
>> Modified:
>> incubator/tuscany/java/sca/samples/web-resource/src/main/resources/WebResource.composite 
>>
>> URL:
>> http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/web-resource/src/main/resources/WebResource.composite?view=diff&rev=557494&r1=557493&r2=557494 
>>
>>
>> ============================================================================== 
>>
>> ---
>> incubator/tuscany/java/sca/samples/web-resource/src/main/resources/WebResource.composite 
>>
>> (original)
>> +++
>> incubator/tuscany/java/sca/samples/web-resource/src/main/resources/WebResource.composite 
>>
>> Wed Jul 18 22:33:05 2007
>> @@ -18,8 +18,8 @@
>>      * under the License.
>> -->
>> <composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
>> -       targetNamespace="http://web"
>> -    name="WebResource">
>> +          targetNamespace="http://web"
>> +           name="WebResource">
>>
>>         <service name="WebResource" promote="WebResourceComponent">
>>                 <binding.resource uri="http://localhost:8083/myWeb"/>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: tuscany-commits-unsubscribe@ws.apache.org
>> For additional commands, e-mail: tuscany-commits-help@ws.apache.org
>>
>>
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org