16.10.2015 Views

Getting Started with IBM Data Studio for DB2

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

E.5.4 <strong>Data</strong> web services artifacts<br />

Appendix E – Advanced topics <strong>for</strong> developing data web services 389<br />

File name<br />

WebServiceSimpleServiceWeb//WebC<br />

ontent/WEB-INF/config.xml<br />

WebServiceSimpleServiceWeb//WebC<br />

ontent/WEB-INF/lib/dswsRuntime.jar<br />

WebServiceSimpleServiceWeb//WebC<br />

ontent/WEB-<br />

INF/wsdl/SimpleService.wsdl<br />

WebServiceSimpleServiceWeb<br />

/WEB/WebContent/WEB-INF/xslt<br />

Table E.5 – <strong>Data</strong> web services artifacts<br />

Description<br />

<strong>Data</strong> web service configuration file. You can<br />

find the mapping between operation names<br />

and SQL statements as well as references to<br />

XSL scripts and namespace declarations in<br />

here.<br />

The generic data web service Java runtime<br />

library.<br />

The generated WSDL file <strong>for</strong> your web service.<br />

A folder which holds the XSL stylesheet you<br />

assigned to your operations <strong>for</strong> input/output<br />

message trans<strong>for</strong>mation.<br />

If you are familiar <strong>with</strong> the generated artifacts you can start to do some customization –<strong>for</strong><br />

example, adding Servlets, JSPs, HTML pages, and advanced configuration like setting up<br />

authentication/authorization, security, etc.<br />

E.6. Selecting a different SOAP framework<br />

The supported SOAP framework depends on the selected application server. You may<br />

have the choice between multiple SOAP frameworks. For WAS CE, the following SOAP<br />

frameworks are supported:<br />

• Apache Axis 1.4 (default) (http://ws.apache.org/axis/)<br />

• Apache Axis 2 (http://ws.apache.org/axis2/)<br />

• JAX-WS (http://jcp.org/en/jsr/detail?id=224)<br />

You can select the SOAP framework by selecting the artifact.soapEngine property in the<br />

Parameters table of the Deploy Web Service window, as shown in Figure E.18.<br />

Figure E.18 – Selecting a SOAP framework in the Deploy Web Service window<br />

The data web services tools do not add any SOAP framework libraries to the web<br />

application. It is expected that the SOAP engine libraries are present at the application<br />

server.

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

Saved successfully!

Ooh no, something went wrong!