How to use the Web Services tester

Web Services tester is HTTP based tool that allows you to test both IFS activities/services and
external Web Services.

Contents

Overview

Web Services tester is located in Solution Manager / Integration folder.

How to test a BizApi using direct access

  1. Press the button Create BizApi Request

     
  2. - Select the actual BizApi
    - Select envelope = SOAP_SIMPLE
    - Mark the checkbox Use SOAP Action

    Press OK
     
  3. Url, SOAP Action and a proposal to Request is now automatically created.
    Edit the Request to some relevant values.


     
  4. Enter User ID and Password

     
  5. Make the HTTP invocation.


    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.

    If a response error will a System Exception Error window popup.



     

How to test a BizApi through IFS Connect and Message Routing

Using IFS XML format

  1. Press the button Create BizApi Request

     
  2. - Select the actual BizApi
    - Select envelope = SOAP_IFS or leave this field blank
    - Unmark the checkbox Use SOAP Action

    Press OK
  3. Enter the Url.
    Make sure that SOAP Action is blank. Then will the message be directed to IFS Connect.
    Edit the Request to some relevant values.


     
  4. Enter User ID and Password

     
  5. Make the HTTP invocation.


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


    If a response error will a System Exception Error window popup.


     

Using another formats

  1. Press the button Create Request from File

    Browse and select the actual file.
     
  2. Enter the Url.
    Make sure that SOAP Action is blank. Then will the message be directed to IFS Connect.
    Edit the Request to some relevant values.
     
  3. Enter User ID and Password

     
  4. Make the HTTP invocation.


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

How to test an Activity

  1. Press the button Create Activity Request

     
  2. - Select the actual Activity
    - Specify the Operation

    Press OK
     
  3. Url, SOAP Action and a proposal to Request is now automatically created.
    Edit the Request to some relevant values.

     
  4. Enter User ID and Password


     
  5. Make the HTTP invocation.


    The Request will now be sent to the SOAP Gateway that will execute the Activity.
    The Response from the Activity will be shown in the Response window.
     

How to start to process an outbound BizApi from Connectivity Outbox

An asynchronous BizApi that is posted to Connectivity outbox can starts to process by
following the sequence below.
Note!  If this should work must the scheduled tasks for outbound BizApi's be suspended.
If not then will the scheduled task fetch the message.
 

  1. Press the button Create Activity Request

     
  2. - Select Activity ConnectivityProcessingHandler
    - Set operation to ProcessOutboundBizapi

    Press OK
     
  3. Url, SOAP Action is now automatically created.
    Edit the Request.
    - Set BIZAPI_NAME
    - Set MEDIA_CODE (CONNECT if message is created from PLAP)
    - Set CLASS_ID (CONNECT_MSG if message is created from PLAP)


     
  4. Enter User ID and Password

     
  5. Make the HTTP invocation.


    Following will now be processed:
    - The message is fetched from Connectivity Outbox
    - The outbound BizApi will be invoked with input from the content of Connectivity Outbox
    - The response from the BizApi will be posted to some queue.
    To the OUT1 queue if a matching routing rule is find and to the ERROR queue
    if no matching rule is found.

     
     
  6. Search for the ApplicationMessageID


     
  7. Open the message and look at the Request in the Message Body.

     



 

How to test an external Web Service

  1. Press the button Create BizApi Request

     
  2. - Select the actual outbound BizApi
    - Select some envelope if it should be used
    - Select some transformer if it should be used for transformation to another format
    - Unmark the checkbox Use SOAP Action

    Press OK
     
  3. Enter Url and SOAP Action for the external Web Service.

     
  4. Enter User ID and Password

     
  5. Make the HTTP invocation.


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