I am trying to understand the .wsdl files generated by JDeveloper in SOA Projects. I noticed that they tend to only contain the types, the portType and the message elements, not however the service or the binding element.
Then I checked the WSDL Schema definition at http://schemas.xmlsoap.org/wsdl/ and noticed that binding and service were both 'key' elements of the wsdl definitions element. Does this mean that service and binding are required elements? If so, how come they are not included in JDeveloper/SOA Suite WSDL files?
[Update]
O.k. I found a partial answer to my question. It turns out when you access the WSDL file via the URL, the binding and the service element are in deed included.
Can anyone provide any more in-depth background information about:
- How this happens?
- Why this is done?
- If (2) is because you want the concrete definitions of your WSDL to be hidden from the developer and handled dynamically by SOA Suite: Concrete examples of how this dynamic binding works and is used in real-world applications... ?