30.11.2012 Views

OpenEdge Management and OpenEdge Explorer: Configuration

OpenEdge Management and OpenEdge Explorer: Configuration

OpenEdge Management and OpenEdge Explorer: Configuration

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.

Configuring <strong>OpenEdge</strong> Web Services<br />

Configuring <strong>and</strong> managing Web services<br />

6–2<br />

The Web Services Adapter (WSA) is a Java servlet that exposes <strong>OpenEdge</strong> AppServer<br />

applications as Web services. The WSA is installed <strong>and</strong> runs in the context of a Java servlet<br />

engine (JSE) that runs in the context of a Web server.<br />

To expose AppServer applications as Web services, the WSA serves a dual role:<br />

• As a gateway between the SOAP request messages, which Web services <strong>and</strong> Web service<br />

clients exchange, <strong>and</strong> ABL applications on the AppServer, which execute Web service<br />

requests<br />

• As an application server that hosts, manages, <strong>and</strong> provides communications <strong>and</strong> run-time<br />

support for multiple deployed Web service applications<br />

SOAP-AVM gateway<br />

For any given Web service, the WSA is a gateway between SOAP <strong>and</strong> the ABL Virtual Machine<br />

(AVM) running on the AppServer. As such, the WSA receives Web service method calls <strong>and</strong><br />

parameters sent as SOAP messages from Web service clients <strong>and</strong> converts them into ABL<br />

function <strong>and</strong> procedure calls that the WSA invokes on a specified AppServer. In response, the<br />

WSA also receives the return <strong>and</strong> output parameter values sent from the called ABL functions<br />

<strong>and</strong> procedures on the AppServer <strong>and</strong> converts them into SOAP messages that it sends back to<br />

the calling Web service clients.<br />

Web Service Application Server<br />

The WSA is where you deploy a Web service that you want to make available to clients. Once<br />

deployed, it also allows you to manage the Web service individually <strong>and</strong> as part of a group of<br />

Web services. This includes such options as making Web service definitions available to<br />

potential clients as downloadable Web Services Description Language (WSDL) files <strong>and</strong><br />

making one or more Web services available as applications for access by clients.<br />

To initially create Web service definitions, you use ProxyGen to define an existing set of<br />

AppServer procedures <strong>and</strong> functions in terms of Web service objects. ProxyGen generates a<br />

Web Service Mapping (WSM) file. This WSM file stores the Web service object definitions in<br />

a form similar to a WSDL file, but without the final deployment information targeted to a<br />

specific WSA installation.<br />

Thus, when you deploy a Web service to a WSA, you specify the information including the<br />

WSM file into a WSDL file that a specific WSA can use to provide the Web service definition<br />

to Web service clients. This same process also creates a Web Service Application Descriptor<br />

(WSAD) file that provides the Web service definition to a specific WSA in a form that allows<br />

it to host the deployed Web service <strong>and</strong> manage its run-time behavior.

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

Saved successfully!

Ooh no, something went wrong!