HTTP bindings for imports and exports
HTTP bindings for imports and exports
HTTP bindings for imports and exports
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
© Copyright IBM Corporation 2008. All rights reserved<br />
Part 7: Try out different data <strong>bindings</strong><br />
So far, you have used <strong>HTTP</strong>StreamDataBindingXML <strong>for</strong> the input <strong>and</strong> the output. Hence the <strong>HTTP</strong><br />
request <strong>and</strong> response contain the data payload as XML. Here, you will use XML payload on the <strong>HTTP</strong> request<br />
but receive the <strong>HTTP</strong> response as SOAP payload.<br />
____ 1.<br />
Modify the data <strong>bindings</strong> <strong>for</strong> the <strong>HTTP</strong> Import on the client side:<br />
__ a. In Business Integration view, exp<strong>and</strong> SQuoteClient module <strong>and</strong> double click on Assembly<br />
Diagram (<br />
) to open it in an Assembly Diagram editor<br />
__ b. Select the SQoute<strong>HTTP</strong> import binding, <strong>and</strong> then select the Properties tab at the bottom of the<br />
tool<br />
__ c. In the Properties view, select Method <strong>bindings</strong> <strong>and</strong> then select the ‘Data Serialization’ <strong>for</strong> the<br />
getQuote method<br />
__ d. Click the Browse button <strong>for</strong> the Input data binding. On the ‘Data Binding Selection’ panel, select<br />
the radio button next to ‘Show Data binding class’ <strong>and</strong> then select<br />
‘<strong>HTTP</strong>StreamDataBindingXML’<br />
__ e. Click OK<br />
__ f. Click the Browse button <strong>for</strong> the ‘Output data binding’. On the ‘Data Binding Selection’ panel,<br />
select the radio button <strong>for</strong> ‘Show Data binding class’ <strong>and</strong> then select<br />
‘<strong>HTTP</strong>StreamDataBindingSOAP’<br />
2008 August, 19 IBM WebSphere V 6.1 – Lab exercise Page 33 of 52<br />
SCA <strong>HTTP</strong> binding