You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

Unable to render {include} The included page could not be found.
Unable to render {include} The included page could not be found.

SCA binding endpoints

The value of the endpoint URI used by an SCA service or reference binding is defined in the varrious SCA 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.

Some examples

The following composite fragment would result in the web service address of http://localhost:8080/MyService

<composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
           name="MyComposite">

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

    . . .

</composite>

The following composite fragment would result in the web service address of http://localhost:8080/MyComponent/MyService

<composite xmlns="http://www.osoa.org/xmlns/sca/1.0"
           name="MyComposite">

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

</composite>
  • No labels