When using iWay Telnet Designer in RPC mode, iWay Telnet
Designer automatically creates an XML document for the RPC session
that is saved. This XML document is a script that is based on the
saved session. You can create an iWay Business Service (web service)
for the iWay Emulation Adapter (3270/5250) using this generated XML
document.
x
Procedure: How to Create an iWay Business Service
To
create an iWay Business Service using an XML document generated
by iWay Telnet Designer:
-
Follow the
instructions in Using Remote Procedure Call Mode, to generate an RPC session. An
XML document of this session is automatically generated.
-
Open iWay
Explorer, create, and then connect to an emulation adapter (Telnet)
target node.
For more information, follow the steps in How to Import a Telnet Project.
-
In the left
pane, expand the target node, followed by the Generated
Scripts node.
-
To generate
the request and response schema, select the XML document that corresponds
to your RPC session.
The Request Schema and Response Schema tabs appear in the
right pane. To view the XML for each schema type, click the appropriate
tab.
-
Right-click
the XML document from which you want to create a business service
and select Create Web Service.
The Create Web Service dialog is displayed.
-
Perform
the following steps:
-
From the Existing Service Names drop-down list, select either <new
service> or an existing service.
-
If you are creating a new service, specify a service name.
This name identifies the web service in the list of services under
the Business Services node.
-
Enter a brief description for the service (optional).
-
Click Next.
The License and Method dialog is displayed.
-
Perform
the following steps:
-
In the License Name field, select one or more license codes
to assign to the web service. To make multiple selections, press
the Ctrl key and click the licenses.
-
In the Method Name field, enter a descriptive name
for the method.
-
In the Method Description field, enter a brief description
of the method.
-
Click OK.
iWay Explorer switches the view to the Business Services
node, and the new iWay Business Service (web service) appears in
the left pane.