Updating Web Services Connection Information

How to:

This section describes how to use Web service providers in iWay Service Manager to update connection information for Web services.

Use the following URL to access iBSP configuration services:

http://localhost:port/admin/iwconfig.ibs

where:

localhost

Is the host machine where iWay Service Manager is installed. The default value is localhost.

port

Is the SOAP port where iWay Business Service Provider is listening. The default port is 9000.

The iWay Business Service Provider (iBSP) configuration services page opens.


Top of page

x
Procedure: How to Update Web Services Connection Information

To update Web services connection information:

  1. In the iBSP configuration services page, scroll down and click the SETMTHCONNECTION link, as shown in the following image.

    The SETMTHCONNECTION page opens, as shown in the following image.

  2. Copy the following sample XML request document that is provided and paste it into the input xml field:
    <SETMTHCONNECTION xmlns="urn:schemas-iwaysoftwarecom:dec2002:iwse:af">
     <servicename>demo</servicename>
      <methodname>demo</methodname>
       <descriptor>
        <option title="">
         <group title="">
      <param label="User" name="user" required="true" type="" value=""/>
       <param label="PWD" name="password" required="true" type="" value=""/>
      <param label="Conn" name="conn" required="true" type="" value=""/>
         </group>
        </option>
       </descriptor>
    </SETMTHCONNECTION>
  3. In the <servicename> tag, replace the sample value demo with the name of the Web service you want to modify.
  4. In the <methodname> tag, replace the sample value demo with the name of the Web Service method you want to modify.
  5. Modify the following tags by specifying a new user name and password value:
    <param label="User" name="user" required="true" type="" value="User_Test"/>
    <param label="PWD" name="password" required="true" type="" value="UT1000"/>

  6. Click Invoke.

    A response document is displayed as shown in the following image.

  7. To verify the connection information changes you made to your Web service use the GETMETHODCONNECTION method.
  8. Click the GETMTHCONNECTION link as shown in the following image.

    The GETMTHCONNECTION page opens.

    GETMTHCONNECTION is a method that can be used to retrieve the connection information for a Web service method.

  9. Enter values for the following parameters:
    • servicename - The name of the Web Service.
    • methodname - The name of the Web Service method.
  10. Click Invoke.

    The result is displayed, as shown in the following image.

    Notice the user name is User_Test and the password is UT1000, which reflects the values that were specified for the SETMTHCONNECTION method.


iWay Software