SCA Java binding endpoints (TUSCANY) created by ant
   http://cwiki.apache.org/confluence/display/TUSCANY/SCA+Java+binding+endpoints

Content:
---------------------------------------------------------------------

{section:border=false}
{column:width=15%}
{include: SCA Java Subproject Menu}
{include: Java SCA Menu New}
{column}
{column:width=85%}

h3. SCA binding endpoints

The value of the endpoint URI used by an SCA service or reference binding is 
defined in the varrious [SCA 
Specifications|http://www.osoa.org/display/Main/Service+Component+Architecture+Specifications].
 The Assembly specification, page 53, section 1.7.2 "Form of the URI of a 
Deployed Binding" defines the overall rules, and specific binding 
specifications may modify or add addtional rules, for example, the Web service 
binding specifiction on page 3, section 2.1.1 "Endpoint URI resolution" adds 
further web service related endpoint rules.

The Tuscany runtime and binding implementations aim to all work consistently so 
that once you understand the basic endpoint URI rules and conventions it should 
be easy to determine an actual endpoint from reading the composite SCDL.  

h4. Some examples 

The following composite fragment would result in the web service address of 
http://localhost:8080/MyService
{code}
<composite xmlns="http://www.osoa.org/xmlns/sca/1.0";
           name="MyComposite">

    <service name="MyService" promote="SomeComponent">
       <binding.ws/>
    </service>

    . . .

</composite>
{code}

The following composite fragment would result in the web service address of 
http://localhost:8080/MyComponent/MyService
{code}
<composite xmlns="http://www.osoa.org/xmlns/sca/1.0";
           name="MyComposite">

    <component name="MyComponent">
        <service name="MyService">
           <binding.ws/>
        </service>
        . . .
    </component>

</composite>
{code}



{column}
{section}

---------------------------------------------------------------------
CONFLUENCE INFORMATION
This message is automatically generated by Confluence

Unsubscribe or edit your notifications preferences
   http://cwiki.apache.org/confluence/users/viewnotifications.action

If you think it was sent incorrectly contact one of the administrators
   http://cwiki.apache.org/confluence/administrators.action

If you want more information on Confluence, or have a bug to report see
   http://www.atlassian.com/software/confluence



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to