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 />

6–20<br />

Exporting a Web service<br />

You can export an existing Web service definition to save its deployment information,<br />

properties, <strong>and</strong> other settings. This creates a Web Service Definition (WSD) XML file with a<br />

name in the form filename.wsd, with a filename that you specify. You can use this file to copy<br />

(import) the Web service to another WSA instance or to save it as a backup for the Web service<br />

definition.<br />

To export a Web service:<br />

1. Click Resources in the management console menu bar. The main resource types appear in<br />

the list frame.<br />

2. Exp<strong>and</strong> the Web Services Adapter folder, <strong>and</strong> select the instance where the Web service<br />

you want to export is deployed. The Details page for that instance appears.<br />

3. Click Export.<br />

4. Type the path <strong>and</strong> file name, ending in .wsd, of the file for the Web service you want to<br />

export.<br />

5. Click Submit. A confirmation message appears.<br />

Importing a Web service to a Web Services Adapter<br />

instance<br />

You can import a Web service to any available WSA instance using the Web Service<br />

Description (WSD) file saved during a previous export of the Web service. The import function<br />

generates the appropriate Web service properties (WebServiceFriendlyName.props), WSAD,<br />

<strong>and</strong> WSDL files to duplicate the original Web service in the context of the selected WSA<br />

instance. However, a Web service always imports with a disabled status to prevent premature<br />

or unintended client access.<br />

To import a Web service:<br />

1. Click Resources in the management console menu bar. The main resource types appear in<br />

the list frame.<br />

2. Exp<strong>and</strong> the Web Services Adapter folder, <strong>and</strong> select the instance where you want to<br />

import the Web service. The Details page for that instance appears.<br />

3. Click Import.<br />

4. Type the path name of the .wsd file for the Web service you want to import.<br />

5. Choose Submit. Verify that the information shown (<strong>and</strong> which is based on information in<br />

the WSD file) is correct. You can modify information in the following fields:<br />

• Name — The name used to identify the Web service <strong>and</strong> to name the Web service<br />

files that are deployed to the WSA instance.<br />

• Web Service Namespace — Any value you choose to uniquely qualify the names<br />

for operations <strong>and</strong> parameters used to define the Web service.

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

Saved successfully!

Ooh no, something went wrong!