16.10.2015 Views

Getting Started with IBM Data Studio for DB2

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

364 <strong>Getting</strong> <strong>Started</strong> <strong>with</strong> <strong>IBM</strong> <strong>Data</strong> <strong>Studio</strong> <strong>for</strong> <strong>DB2</strong><br />

Figure E.2 – Saving the generated XML schema<br />

3. Click Save. <strong>Data</strong> <strong>Studio</strong> generates the XML schema <strong>for</strong> the selected operation.<br />

Close the Configure XSL Trans<strong>for</strong>mations window and refresh the data<br />

development project by right-clicking the project and selecting Refresh. A new<br />

generated XSD file is stored under the project's XML -> XML Schema folder. The<br />

XSD extension may not be displayed.<br />

4. Now you can use the <strong>Data</strong> <strong>Studio</strong> XML tools to create an XML instance document<br />

from the XML schema using the XML instance generator. Locate the generated<br />

XSD file in the XML -> XML Schema folder. Right-click the XSD file and select<br />

Generate -> XML File.<br />

5. In the New XML File window, select a name and destination <strong>for</strong> the XML file<br />

instance. In Figure E.3, we select SimpleService.RankEmployee.default.xml as the<br />

file name, since we want to create the XML request message <strong>for</strong> the<br />

RankEmployee operation.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!