Try OpenEdge Now
skip to main content
Managed Adapters Guide
Web Service Managed Adapter : Using the Web Service Adapter : Configuring the Web Service Adapter : Defining the security settings : Supporting passing of session tokens to Web Services
Supporting passing of session tokens to Web Services
If a Web Service is protected by SiteMinder or a similar type of security and requires you to pass cookie information in addition to the security measures of entering your user name and password, the Web Service Adapter provides session token support. By default, the session support is disabled and hidden.
Follow the steps to enable session token support, as follows:
1. Configure the Web Service Managed Adapter workstep (without session token), and click OK to close the Map Configurator.
2. Save the project.
3. From the Window menu, select Show View > Other > Navigator. The Navigator pane appears on the left.
4. Right-click the project node in the Navigator pane and select Build Project. The maps directory appears in the Navigator pane. You may have to refresh the Navigator pane to see the directory.
5. From the maps directory, select the workstep for which you want to enable session cookies and open the config.xml file.
6. Change the value of the "SESSION_TOKEN_SUPPORT" parameter to "true", as shown in bold in the following code sample:
<configform synchronous="true" version="1.2">
    <block title="Inputs" description="Inputs" hidden="false">
        <param name="SESSION_TOKEN_SUPPORT" access="enable"
            type="java.lang.String" value="true"/>
    <block title="Outputs" description="Outputs" hidden="false">
7. Save and close config.xml.