Generating an HTML Page with Weather Data from a SOAP Service

In this example, this ultra pipeline generates an HTML page with weather data from a SOAP service.

The pipeline will lookup your location based on your IP address using a rest service and then contact the soap service. The generated page also includes an input for specifying the postal code manually if you want to query another location.


Ultra Pipeline that generates an HTML page with weather data

The Record Replay Snap records the input documents from the feed requests and replays them in Designer so you can work with real Suggest data.

  1. The Record Replay Snap records the input documents from the feed requests and replays them in Designer so you can work with real Suggest data.

    Record Replay Snap capturing and replaying feed requests

  2. The Router Snap validates the request and determines whether the geoIP lookup is needed from the REST Get Snap.

    Router Snap deciding between geoIP lookup and direct path

  3. The XML Generator generates the HTML page, a Mapper Snap does some minor data updates, and a Document to Binary Snap returns the HTML page to the client instead of a JSON-encoded string.

    REST Get for geoIP followed by SOAP call for weather


  4. XML Generator, Mapper, and Document to Binary producing HTML response

  1. Deploy the Pipeline as an Ultra Task.
  2. Verify connectivity and credentials for the REST geoIP service and the SOAP weather service.
  3. Validate that the HTML page renders in the output preview and includes an input for manual postal code queries.
  4. Test both IP-based lookup and manual postal code input paths.