Testing Proxy Services

You can test the following types of proxy services: any XML, any SOAP, Messaging, XML, and SOAP. You can test SOAP proxy services with Web Service Security (WSS) policies. See Web Service Security in Configuring Proxy Services Test Data.

Note: When the test console invokes a proxy with HTTP custom token authentication, the authentication check is not done.
WARNING: Testing proxy services with the direct call option enabled bypasses some important security steps, including access control. BEA Systems recommends that you not use the test service in production systems.
  1. Click Activate under Change Center to enable the test feature in the console.
  2. You can test proxy services from the Resource Browser or Project Explorer.

  3. Select Resource Browser > Proxy Services to display the Summary of Proxy Services page.
  4. Under Actions, click the Launch Test Console icon associated with the proxy service you want to test.
  5. The test console opens the Proxy Service Testing page. For example, using the examples provided with the product (see AquaLogic Service Bus Examples), click the icon associated with the LoanGateway1 proxy service.

    Note: In a clustered domain, you cannot use the test console to test any configured business service or proxy service which routes to a business service.
  6. For SOAP and XML services, select the WSDL operation you want to test.
  7. Configure the test data for the proxy service. This must be the data that the proxy service expects from the client.
  8. By default, both test configuration options, Direct Call and Include Tracing, are enabled. You can clear the Direct Call option, which also clears the Include Tracing option. By doing so, testing is performed using the indirect call method where the message is sent through the transport layer.

    You can use the Direct Call option (leave Direct Call selected) and disable tracing; simply clear the Include Tracing check box.

  9. Click Execute. The Proxy Service Testing page displays the results. For information about interpreting the test results, see Viewing Proxy Services Test Results.
  10. To run the test again, click Back. Repeat steps 5-8.