Versions Compared

Key

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

This chapter describes some tips for using modules in combination with web services.

Blueriq has the option to generate a domain option when importing a WSDL or XSD. This is a very nice feature, as it completely links your entries from the WSDL/XSD to the domain. If you import this into an existing module, where you modeled all created your domain model for your application, then these start to mix with the generated domain from your web service. In the worst case, the same names are used. In When this casehappens, a numbered variant is created when imported. This is starting to become a bit of a mess, during import. This can be confusing and is only useful for small web services. Therefore, we advise to use a separate module for your web service. By doing that, you will cleanly separated separate your business domain from your web service domain. In order to transfer data from one module to another, you have to define a datamapping data mapping between those modules. Here is an overview of steps taken when calling a web service with a datamappingdata mapping.

Image RemovedImage Added

When you use Blueriq as a web service, and you want to use a datamappingdata mapping, you can use specialization to simplify your data mapping. As the domain will be the same in both modules, you only have to create a straightforward 1-to-1 mapping.

6. Knowledge Base Articles

Content Report Table
spacesBKB
labelswebservice, webservices, mapping, datamapping

 

Panel
Section
Column
width50%

 Previous6. Setting up Blueriq as a web service

Column

NextAppendix 1 - Writing your own WSDL