Figure 9-19 Web Service settings

6.In the Web Service setup window, click Next to accept defaults.

7.Then choose the DADX file in which the Web service is based, click Next.

8.After doing so, we need to set the database name, the user ID and the password to access the database. Also, change the jdbc driver if necessary, click Next.

9.In the Binding Proxy Generation, click Finish to accept defaults.

We also need to modify the namespacetable.nst file in order to add a mapping entry.

10.Double-click namespacetable.nst in your TravelGroup folder.

11.Add a mapping entry for passegerList.dtd, as shown in Example 9-7.

Example 9-7 namspacetable mapping entry

<mapping dtdid="passengerList.dtd" namespace="http://www.airline.com/passengerList.dtd" location="/passengerList.dtd/XSD"/>

206 The XML Files: Development of XML/XSL Applications Using WebSphere Studio

Page 222
Image 222
IBM Version 5 manual Web Service settings, Example 9-7 namspacetable mapping entry