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.

Web Access: HTTP POST JSON: Web 2.0, provides a direct way to parse messages<br />

into JavaScript objects.<br />

All service bindings are based on HTTP and, <strong>for</strong> demonstration purposes, we use cURL as<br />

a lightweight, simple to use HTTP client.<br />

Note:<br />

cURL is a command-line tool <strong>for</strong> transferring files <strong>with</strong> URL syntax. Using the cURL<br />

command line, a URL must be used to define where to get or send the file that is specified in<br />

the command line. cURL is free software that is distributed under the MIT License and<br />

supports several data transfer protocols. cURL compiles and runs under a wide variety of<br />

operating systems. cURL uses a portable library and programming interface named libcurl,<br />

which provides an interface to the most common Internet protocols, such as HTTP/HTTPS,<br />

FTP/SFTP, LDAP, DICT, TELNET, and FILE.<br />

Consult and download all documentation and binaries from the cURL Website at the URL<br />

address:<br />

http://curl.haxx.se/<br />

E.1.1 Default XML message schemas<br />

To test the SOAP over HTTP and HTTP POST (XML) binding you need to know the<br />

structure (XML schema) of the request message. This in<strong>for</strong>mation is contained in the<br />

WSDL file, but you can also separately generate the XML schema <strong>for</strong> every operation in<br />

the web service, as follows:<br />

1. Right-click on the web service operation from <strong>with</strong>in the <strong>Data</strong> Project Explorer and<br />

select Manage XSLT…. Figure E.1 shows this <strong>for</strong> theRankEmployee operation<br />

used in Chapter 10.

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

Saved successfully!

Ooh no, something went wrong!