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 2006/04/24 07:23:07 UTC

[jira] Assigned: (TUSCANY-76) Need a specifcation of how WSDL elements used in an SCA assembly get resolved

     [ http://issues.apache.org/jira/browse/TUSCANY-76?page=all ]

Jean-Sebastien Delfino reassigned TUSCANY-76:
---------------------------------------------

    Assign To: Michael John Edwards

> Need a specifcation of how WSDL elements used in an SCA assembly  get resolved
> ------------------------------------------------------------------------------
>
>          Key: TUSCANY-76
>          URL: http://issues.apache.org/jira/browse/TUSCANY-76
>      Project: Tuscany
>         Type: New Feature

>   Components: Specification
>     Reporter: Jean-Sebastien Delfino
>     Assignee: Michael John Edwards

>
> The SCA 0.9 assembly spec references WSDL portTypes and ports by namespace + local name. The specification does not make any statement about how an SCA runtime or SCA tooling is supposed to resolve these WSDL elements.
> I think we have a number of options here:
> - define name mapping rules between WSDL namespaces and names and WSDL file locations, allowing a runtime and tooling to derive the location of the WSDL files from their namespaces for example (similar to the Java package -> location mapping rules)
> - introduce a way to associate a WSDL namespace to a particular file or collection of files (similar to a WSDL <import>)
> As a temporary solution until the spec resolves this issue, In Tuscany we have introduced an SCDL extension for this. The app developer must add a <import.wsdl namespace="namespace of the particular wsdl" location="location of wsdl file"> element to his sca.module, sca.fragment or sca.subsystem SCA assembly file. The <import.wsdl> element makes the referenced WSDL available within the scope of the particular SCA assembly.
> The BigBank sample contains an example of this.
> This Tuscany extension can be used to cover most scenarios for now but will not address well scenarios where you want to share a .componentType that uses a WSDL portType in two different modules. You'd have to repeat the same <wsdl.import> in the two modules.
> So we need the SCA assembly spec to address this issue and then adjust our implementation to what the spec will define.

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