Web Services Tester
Web Services tester is a HTTP based tool that allows you to test both IFS
activities/services and
external Web Services.
Contents
Web Services tester is located in Solution Manager > Integration folder.

- Target Applications
The applications you want to test separated with semicolon. Formats
host:port and host:port/module are allowed.

Note: Web Services Tester is one of the internal systems and as
such implies some limitation, e.g. doesn’t work with single-sign-on. By
default the Target Application field is filled with the web server name and
port configured for client accesses that not necessarily is the same as the
one configured for internal systems. If your system is defined with two
different web servers, use the one configured for internal systems here.
- Create Request buttons
There are 3 possibilities to create the xml request.

1) Create Request:
SOAP xml request is automatically created after selecting an activity or service and an operation.
All activities and services in Target Applications are listed.
2) Create Request from File:
By browsing to a file any format can be used as request.
3) Create BizApi request:
Request is automatically created after selecting a BizApi, transformer and envelope.
All BizApi's in Target Applications are listed.
- Url
Defines where to send the message.
URL is automatically created when using
- Create Request
- Create BizApi Request and Use SOAP Action checkbox checked.
Note: If the system is configured with separate web
servers for client accesses and internal systems, the URL must point to the
server configured for internal systems. See the note above about
target application.
- SOAP Action
Defines the SOAP Action which is included in the HTTP header.
SOAP Action
is automatically created when using
- Create Request
- Create BizApi Request and Use SOAP Action checkbox checked.
- User ID and Password
A user and password that have authorities to run the Web Service.
Note: Only Basic authentication is supported.
- Invoke menu
Invokes the HTTP request by using the request from the Request window

- Request window
Shows the request
- Response window
Shows the response from the HTTP invocation
- Choose Create BizApi Request from the RMB menu
- - Select the actual BizApi
- Select envelope = SOAP_SIMPLE
- Mark the checkbox Use SOAP Action
Press OK
- URL, SOAP Action and a proposal to Request are now automatically created.
Enter relevant values in the Request body.

- Enter User ID and Password

- Run the Invoke action.

The request will now be sent to the SOAP Gateway that will execute the BizAPI direct.
The response from the BizApi will be shown in the Response window.
On response error a System Exception Error window will popup.

Using IFS XML format
- Choose Create BizApi Request from the RMB menu
- - Select the actual BizApi
- Select envelope = SOAP_IFS or leave this field blank
- Unmark the checkbox Use SOAP Action

Press OK
- Enter the URL.
Make sure that SOAP Action is blank. The message will be then directed to
IFS Connect.
Enter relevant values in the Request body.

- Enter User ID and Password

- Run the Invoke action.

The
request will be now sent to
IFS Connect which will try to match it against a routing rule.
The response from IFS Connect will be shown in the Response window.

On response error a System Exception Error window will popup.

Using another formats
- Choose Create Request from File from the RMB menu

Browse and select the actual file.
- Enter the URL.
Make sure that SOAP Action field is blank. The message will be then directed to
IFS Connect.

Enter relevant values in the Request body.
- Enter User ID and Password

- Run the Invoke action.

The
request will be now sent to
IFS Connect, which will try to match it against a routing rule.
The response from IFS Connect will be shown in the Response window.
- Choose Create Request from the RMB menu

- - Select the actual activity or service handler
- Specify the Operation

Press OK
- URL, SOAP Action and a proposal to Request are now automatically created.
Enter relevant values in the Request body.

- Enter User ID and Password

- Run the Invoke action.

The request will now be sent to the SOAP Gateway that will execute the
activity or service.
The response will be shown in the Response window.
- Choose Create BizApi Request from the RMB menu
- - Select the actual outbound BizApi
- Select an envelope if it should be used
- Select a transformer if it should be used for transformation to another
format
- Unmark the checkbox Use SOAP Action

Press OK
- Enter URL and SOAP Action for the external Web Service.

- Enter User ID and Password

- Run the Invoke action.

The
request will now be sent to
the external Web Service.
The response will be shown in the Response window.