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.

Chapter 10 – Developing data web services 309<br />

3. You may notice (Figure 10.25) that the <strong>for</strong>m-based response looks a bit strange. Not all<br />

columns <strong>for</strong> a product catalog item are displayed.<br />

Figure 10.25 – A stored procedure response <strong>with</strong> result set in the Form view<br />

4. But when switching to the SOAP message source view (Figure 10.26) you can see that<br />

all the data is present.<br />

Figure 10.26 – A stored procedure response <strong>with</strong> result set in the Source view<br />

The reason that you don’t see all the columns in the Form view is because the <strong>DB2</strong> catalog<br />

does not contain metadata <strong>for</strong> stored procedure result sets. There<strong>for</strong>e data web services<br />

can only apply a very generic result set schema, which may not contain enough in<strong>for</strong>mation

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

Saved successfully!

Ooh no, something went wrong!