Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

If you want to just see a working example of of Blueriq as a Service (BAAS), you could use the standard example project WebCalculator project WebCalculator as a basis for your new project (see the visual SoapUI to example project BAAS). However, if you want a more hands-on experience and construct that BAAS yourself, this is what you could do:

Start with an empty project, and import the WSDL from the WebCalculator example to create your interaction module with 

 

 

When you want to see a basic example of Blueriq as a Service (BAAS), the quickest way is to create a new project, based on the example project(that comes with a standard Blueriq installation).

You will see that this project has a Configuration module in which the Web service and its operations are defined. This is what you expose to the outside world in your runtime dashboard. The project also has an Interaction module, that contains a service model (i.e. a domain model specifically for delivering the service), a Schema set and SOAP service as defined in the WSDL and XSD. When you expose the web service in your runtime dashboard, you can also view this WSDL. In the same Implementation module, some static instances are made for the response. For each operation this web service offers (add, subtract, multiply and divide), the actual calculation is simply done in the default expression of the appropriate attribute. 

You can test if the BaaS works by calling it from SoapUI, a web services testing tool (it can mock both requests and responses) that is easy to download and install.

You can check the other BAAS visuals for modeling your own simple BAAS or a more elaborate example of a BAAS that has a data mapping.