Choosing Functions for a WSDL File

How to:

WebFOCUS Web Services has a Pick Functions option which allows you to pick and choose which functions to include in your WSDL file. You can use this option for both WebFOCUS and Managed Reporting.

Before you can use the Pick Functions option in WebFOCUS Web Services, the administrator must first modify the list of functions in the WebFocusWSConfig.properties file.


Top of page

x
Procedure: How to Modify the List of Functions Using the WebFocusWSConfig.properties File

You can pick functions from a generic set of functions to add to a WSDL file. To disable certain default functions, modify the WebFocusWSConfig.properties file. It is located in the following directory:

drive:\ibi\WebFOCUS77\webapps\webfocus\WEB-INF\classes
  1. Open the WebFocusWSConfig.properties file in Notepad.

    Functions can have the following values:

    checked

    Indicates that the function is checked in the display by default and is enabled.

    unchecked

    Indicates that the function is unchecked in the display by default and is enabled.

    disabled

    Indicates that the function is unchecked in the display and the function is disabled.

    Note that if a function is missing from the WebFocusWSConfig.properties file it is assumed to be checked.

  2. Find the function you would like to change and enter checked, unchecked, or disabled, depending on whether or not you want to display the function.


Example: Using the Pick Functions Option
  1. Navigate to the following URL: http://target_machine[:port]/ibi_html/workbnch/webservice.htm

    You see the Web page for creating a Web Service for WebFOCUS.

  2. In the Access the WebFOCUS server through a Web Service area, click Pick Functions.

    Another page opens in which you can customize the WSDL file by selecting and/or deselecting functions associated with the application.

Target Machine

By default, the WSDL file is created using connection information to WebFOCUS based on the URL entered for the WSDL Creation utility. If a proxy server is being used, you can enter a different target machine and port number. The WSDL file will contain the entered target machine and port number in the WSDL file.


WebFOCUS