Web service business objects are generated from WSDL documents. This section shows you how to select and specify the source of a WSDL document in the Configure Agent window of the ODA.
The WSDL document may reside on the local file system or at a URL location on the web or in a UDDI registry--you specify where the WSDL document resides and the WSDL ODA retrieves it. (A complete WSDL service description may consist of more than one document.)
As shown in Figure 65 above:
The ODA then retrieves the list of web services from the WSDL document, resolving the URLs of imported documents. The WSDL_URL property also allows you to specify the location of the WSDL file on the local file system using URL syntax (for example: file:///C:/test.wsdl) or an absolute path (for example: C:\test.wsdl). You must ensure that the ODA has access to this document and its dependencies (all the imported documents).
The WSDL_URL property is enabled for transformation of bidirectional languages.
The ODA queries the URL for the web service provider and retrieves the list of services defined in the WSDL at this URL location and then displays the list of operations for the expanded port, as shown in Figure 66.
The ODA can also retrieve a WSDL document from a UDDI registry instead of a URL location. For this to occur:
The WSDL ODA uses these properties, which are described in Table 47, to connect to the UDDI registry.
The ODA queries the UDDI registry for the web service provider and retrieves the list of services matching the web service parameter you specified. The WSDL ODA displays the list of services offered by the web service provider in a window like that shown in Figure 66 When the UDDI query returns more than one match, the WSDL ODA displays them appended with an underscore (_) and a sequence number. For example: StockQuoteService_1, StockQuoteService_2, and so on.