Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
Patch Available
Description
Create vtests for service webservice binding as per Web Service Binding Specification Spec v1.00 - Sec 2.1 - lines 26 to 68:
26 2.1 Web Service Binding Schema
27 The Web Service binding element is defined by the following pseudo-schema.
28 <binding.ws wsdlElement="xs:anyURI"?
29 wsdli:wsdlLocation="list of xs:anyURI"?
30 ...>
31 <wsa:EndpointReference>...</wsa:EndpointReference>*
32 ...
33 </binding.ws>
34
35 • /binding.ws/@wsdlElement - optional attribute that specifies the URI of a WSDL element.
36 The use of this attribute indicates that the SCA binding points to the specified element in an
37 existing WSDL document. The URI can have the following forms:
38 o 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.
42 o Port (WSDL 1.1):
43 <WSDL-namespace-URI>#wsdl.port(<service-name>/<port-name>)
44 In this case, the identified port in the WSDL 1.1 Service must have an equivalent
45 PortType with the SCA service or reference.
46 o Endpoint (WSDL 2.0):
47 <WSDL-namespace-URI>#wsdl.endpoint(<service-name>/<endpoint-name>)
48 In this case, the identified endpoint in the WSDL 2.0 Service must have an equivalent
49 PortType with the SCA service or reference.
50 o Binding:
51 <WSDL-namespace-URI>#wsdl.binding(<binding-name>)
52 In this case, the identified WSDL binding must have an equivalent PortType with the SCA
53 service or reference. In this case the endpoint address URI for the SCA service or
54 reference must be provided via the URI attribute on the binding.
55 • /binding.ws/@wsdli:wsdlLocation - optional attribute that specifies the location of the
56 WSDL document. This attribute can be specified in the event that the <WSDL-namespace-
57 URI> in the 'endpoint' attribute is not dereferencable, or when the intended WSDL document
58 is to be found at a different location than the one pointed to by the <WSDL-namespace-
59 URI>. The use of this attribute indicates that the WSDL binding points to an existing WSDL
60 document.
61 • /binding.ws/wsa:EndpointReference - optional WS-Addressing [6] EndpointReference
62 that specifies the endpoint for the service or reference. When this element is present along
63 with the wsdlElement attribute on the parent element, the wsdlElement attribute value MUST
64 be of the 'Binding' form as specified above, i.e. <WSDL-namespace-
65 URI>#wsdl.binding(<binding-name>).
66 • /binding.ws/@
- this is an extensibility mechanism to allow extensibility via
67 attributes.
SCA Service Component Architecture
WS Binding Specification V1.00 March 2 3 007
68 • /binding.ws/any - this is an extensibility mechanism to allow extensibility via elements.