A studio model that contains two projects where the AQ_SoapServiceClient services are modeled. (Blue)
A soap service with different endpoints that can be called by the projects. (Grey)
The application.properties and keystore. (Pink)
Studio
Import the attached branch (studio branch BQ10, or studio branch BQ14) in Blueriq studio. The branch contains two projects, one internal library and three external libraries. In the picture you can see an overview of the projects.
The two studio projects have the same module structure with different WSDL's. One project contains a WSDL for SOAP 1.1 and the other project contains a WSDL for SOAP 1.2.
Soap service
The soap service application can be downloaded here:
Do not forget to updated the paths for the filesystemconnection connection and the keystore.
Now the project can be started.
Optional Port Change
In case there is a need to change the port number the following needs to be done:
Change the value of property server.port in the application.properties file you just downloaded to the desired port number.
When this port is changed also the connections of the runtime in the application.properties file you just downloaded have to be changed.
Additionally as we are dealing with a WSDL the contract also has to be altered. So the soap service location has to be overruled with the correct URL and port number (search for <soap:address location="..."/>). This location is created when importing the WSDL into Blueriq. To change the WSDL there are two options:
Import a new WSDL with the port number changed beforehand
Provide the actual location as a URL parameter for each AQ_SoapServiceClient call. This is a change to all occurrences of AQ_SoapServiceClient calls in your model.
3 Comments
Felix Janssen
The link to the soap-service application is broken
Unknown User (jp.vossen)
Link is fixed by Geert Graat, thanks!
Deny Raatgever
The soap-service application only works with java 8.