Versions Compared

Key

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

When you want to build a simple Blueriq model for your first call to a SOAP web service (i.e. be the service requestor), you can use the example project WebCalculator (that comes with you can use the example project WebCalculator (that comes with a standard Blueriq installation) to act as the service provider: create a new project based on this example project WebCalculator, save it and go to your runtime dashboard to expose it (if you don’t see the widget, press the button Widgets and check ‘Expose as a webservice’ and save it). When you do that, a button ‘View WSDL’ appears, that enables you to see and save the WSDL. This WSDL contains the communication contract between the service requestor and the service provider.

...

If you want, have a look at the other visual about modeling a service call from a (more realistic) project with separate implementation modules for the business model and the web service model and a data mapping.

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 WebCalculator (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 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 check the other BAAS visuals for a more elaborate picture of what a BaaS can contain.