Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: New logo SOAPUI

If you want to just see a working example of of  Blueriq as a Service (BAAS), you could use the standard example 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:

...

When your Interaction module is ready to handle incoming requests, you still need a way to tell the world which operations you offerare offering: Close your project, edit your project structure and add a Configuration module, in which you define the Web service and its operations. . Open your project again, go to the new Configuration module and create the Web service. Let it refer to the SOAP service in the interaction module to see its operations. You must give properties to each operation that you want to expose, even if you don't refer to a data mapping or a flow. This defines what you expose to the outside world in your runtime dashboard. In this example, the exposed operations are add, subtract, multiply and divide. 

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. In SoapUI, you can create a new project. You will need the URL to your service. To get this URL, go to runtime dashboard, reload your web service project, and expose it as a web service. Now click ‘view WSDL’, copy the URL from the browser tab and paste it into your SoapUI project as “Initial WSDL”. Then create a request for the add operation, fill in x and y, and check if the response delivers the desired result.

You can check the other BAAS visual for a more elaborate example of a BAAS with a data mapping.

Image Removed


 Image Added