< Previous | Next >

Create an XML firewall service

Launch the DataPower console and create an XML firewall service. Then create a style policy for the service.

  1. Switch to Appliances tab of the DataPower Appliance view.
  2. Select the appliance that you created earlier, right-click, and select Launch Console.
    Launch Console
  3. If you are prompted by a security alert, click Yes to proceed.
  4. At the WebSphere DataPower login prompt, provide a userid and password and click Login.
    WebSphere DataPower Login screen
    The WebSphere DataPower console opens showing the control panel.
    DataPower control panel
  5. Configure a pass thru XML firewall with the following properties:
    Option Description
    Firewall Name SampleHelloWorldDataFirewall
    Firewall type loopback-proxy
    Request type XML
    Note: You may need to edit the XML Firewall after you create it, in order to set the request type to XML.

    The following image shows the configured XML firewall.

    Picture of Config XML Firewall page
  6. Configure a style policy and a rule for the XML service. Create a new rule with the direction Client to Server and the following actions in order from client to server: validate, transform and validate.
    Completed rule flow
  7. Configure the first Validate action with the following properties:
    Property Value
    Input INPUT
    Schema Validation Method Validate Document via schema URL
    Schema URL A path to the library that you uploaded to DataPower (for example local:///anita); fullname.xsd.
    SOAP Validation body
    Asynchronous off
  8. Configure the Transform action with the following properties:
    Property Value
    Input auto
    Document Processing Instructions Use XSLT specified in this action
    Processing Control File A path to the library that you uploaded to DataPower (for example local:///anita); fullname_map.xsl.
    URL Rewrite Policy none
    Asynchronous off
    Output auto
  9. Configure the last Validate action with the following properties:
    Property Value
    Input auto
    Document Processing Instructions Validate Document via schema URL
    Processing Control File A path to the library that you uploaded to DataPower (for example local:///anita); title_firstname_lastname.xsd.
    SOAP Validation Body
    Asynchronous off
    Output OUTPUT
  10. Apply the policy.
  11. Verify that the policy and the firewall are up and running.
< Previous | Next >