Lou Amodeo wrote:
I am reading the WS Binding Specification and am trying to understand the
meaning of the wsdl.service form of the WSDL Element's URI and to what
extent and how it is supported in Tuscany? Thanks for your help.
Service:
39 <WSDL-namespace-URI>#wsdl.service(<service-name>)
40 In this case, all the endpoints in the WSDL Service that have equivalent
PortTypes with
41 the SCA service or reference must be available to the SCA service or
reference.
To answer this, I'll start by talking about SCA services, as
the meaning in this case seems clearer.
Suppose the WSDL document for an SCA service refers to a WSDL
service Service1 that has WSDL ports Port1, Port2 and Port3.
Port1 and Port3 use bindings that refer to PortType1, and Port2
uses a binding that refers to PortType2. The interface of the
SCA service is either the WSDL interface PortType1, or a Java
interface that's equivalent to PortType1. In this case, the
SCA service would be listening on both Port1 and Port3 (but
not Port2).
I'm having trouble applying this to references, though. A
reference would normally only invoke via one port. I'm not sure
how an SCA reference that specifies the WSDL service described
above could make use of both Port1 amd Port3.
Simon