You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Jean-Sebastien Delfino (JIRA)" <tu...@ws.apache.org> on 2007/01/16 07:35:27 UTC

[jira] Commented: (TUSCANY-660) Should not have to repeat a definition to publish it out of a composite

    [ https://issues.apache.org/jira/browse/TUSCANY-660?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12465069 ] 

Jean-Sebastien Delfino commented on TUSCANY-660:
------------------------------------------------

This has been raised to the OSOA spec collaboration.

> Should not have to repeat a <service> definition to publish it out of a composite
> ---------------------------------------------------------------------------------
>
>                 Key: TUSCANY-660
>                 URL: https://issues.apache.org/jira/browse/TUSCANY-660
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Specification
>    Affects Versions: Cpp-current
>            Reporter: Jean-Sebastien Delfino
>         Assigned To: Jean-Sebastien Delfino
>             Fix For: Cpp-M3
>
>
> I'm trying to build a reasonably complex scenario with SCA (0.95), and 
> wondering why I have to repeat myself so many times when I define 
> services.
> Let's imagine that I want to build a simple Quoting service application.
> Here's what I'll want to 
> do:
> Step 1. define a Quote component type, in the component type define a 
> service, give it a name, specify its interface.
> Step 2. create a component of that type in a composite, indicate that I 
> want my service visible outside the composite
> Step 3. take my composite to a system, configure an instance of it, bind 
> my service to a SOAP endpoint
> Here's what it looks like with SCA 0.95:
> Step 1:
> Quote.componentType
> <componentType ...>
>   <service name="QuoteService">
>     <interface.wsdl 
> interface="http://www.whatever.org/QuoteService/#wsdl.portType(Quote)"/>
>   </service>
>   ...
> </componentType>
> Step 2:
> QuotingEngine.composite
> <composite...>
>   <service name="QuoteService">
>     <interface.wsdl 
> interface="http://www.whatever.org/QuoteService/#wsdl.portType(Quote)"/>
>     <reference>QuotingEngineGorpImpl/QuoteService</reference>
>   </service>
>   ...
> </composite>
> Step 2:
> MyDeployedAndConfiguredQuotingSystem.composite
> <composite...>
>   <service name="QuoteService">
>     <interface.wsdl 
> interface="http://www.whatever.org/QuoteService/#wsdl.portType(Quote)"/>
>     <binding.ws 
> port="http://www.whatever.org/QuoteService/#wsdl.endpoint(QuoteService/QuoteSOAPPort)"/>
>     <reference>MyDeployedQuotingEngine/QuoteService</reference>
>   </service>
>   ...
> </composite>
> Why do I need to repeat the definition of 
> QuoteService three times in this example?
> The SCA specification 
> should not force me to repeat service definitions just to
> publish/promote them out of a composite.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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