12.07.2015 Views

Using SOAP and Web Services with Ensemble - InterSystems ...

Using SOAP and Web Services with Ensemble - InterSystems ...

Using SOAP and Web Services with Ensemble - InterSystems ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Table of ContentsAbout This Book ................................................................................................................................ 11 About <strong>SOAP</strong> <strong>and</strong> <strong>Web</strong> <strong>Services</strong> ..................................................................................................... 31.1 <strong>Ensemble</strong> Support for <strong>Web</strong> <strong>Services</strong> ...................................................................................... 31.2 <strong>Ensemble</strong> Support for <strong>Web</strong> Clients ........................................................................................ 51.2.1 The <strong>SOAP</strong> Client Wizard ............................................................................................. 51.2.2 The Proxy Client .......................................................................................................... 61.2.3 The Business Operation of an <strong>Ensemble</strong> <strong>Web</strong> Client .................................................. 71.3 Specific St<strong>and</strong>ards Supported in <strong>Ensemble</strong> ........................................................................... 82 Creating an <strong>Ensemble</strong> <strong>Web</strong> Service .............................................................................................. 92.1 Overall Behavior .................................................................................................................... 92.2 Basic Requirements ............................................................................................................. 112.2.1 Development Tasks .................................................................................................... 112.2.2 Configuration Tasks ................................................................................................... 132.3 Defining <strong>Web</strong> Methods for Use in <strong>Ensemble</strong> ...................................................................... 142.3.1 Basic Steps of a <strong>Web</strong> Method .................................................................................... 142.3.2 Returning Faults to the Caller .................................................................................... 152.3.3 Example ..................................................................................................................... 162.3.4 Note About Class Queries .......................................................................................... 162.4 Implementing the OnProcessInput Method ......................................................................... 172.4.1 Creating Request <strong>and</strong> Response Classes .................................................................... 182.4.2 <strong>Using</strong> the SendRequestSync Method ......................................................................... 182.4.3 <strong>Using</strong> the SendRequestAsync Method ...................................................................... 192.4.4 Example ..................................................................................................................... 192.5 Viewing the WSDL .............................................................................................................. 202.6 Example ............................................................................................................................... 212.7 Creating a Switch in OnProcessInput .................................................................................. 232.8 Enabling <strong>SOAP</strong> Sessions ..................................................................................................... 242.9 Additional Options ............................................................................................................... 243 Creating an <strong>Ensemble</strong> <strong>Web</strong> Client .............................................................................................. 273.1 Overview .............................................................................................................................. 273.2 Basic Steps ........................................................................................................................... 293.2.1 Development Tasks .................................................................................................... 293.2.2 Configuration Tasks ................................................................................................... 293.3 <strong>Using</strong> the <strong>SOAP</strong> Client Wizard ............................................................................................ 303.3.1 Generated Classes <strong>and</strong> XMLKEEPCLASS ............................................................... 303.3.2 <strong>Using</strong> the Process Method ......................................................................................... 30<strong>Using</strong> <strong>SOAP</strong> <strong>and</strong> <strong>Web</strong> <strong>Services</strong> <strong>with</strong> <strong>Ensemble</strong>iii

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

Saved successfully!

Ooh no, something went wrong!