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 303<br />

Figure 10.19 – Locating the WSDL file <strong>for</strong> the SimpleService<br />

You will find a SimpleService.wsdl file that represents the WSDL file <strong>for</strong> your service.<br />

You can also retrieve the WSDL document using a URL after the web service was<br />

deployed on an application server. The URL is:<br />

http(s)://:///wsdl<br />

In the case of theSimpleService, the URL would look like this:<br />

http://server:8080/WebServicesBookSimpleService/wsdl<br />

Explaining the structure of a WSDL document in detail is beyond the scope of this book.<br />

You should know that the WSDL contains all the in<strong>for</strong>mation a web service client needs to<br />

start an operation of your web service. This includes the operation names, XML schemas<br />

<strong>for</strong> input and output messages and, service endpoint definitions.<br />

Note:<br />

<strong>Data</strong> <strong>Studio</strong> also includes a WSDL editor. You open the editor by double-clicking the<br />

WSDL document.

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

Saved successfully!

Ooh no, something went wrong!