A Blueriq 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)
Encore
Import the attached branch in Blueriq Encore. The branch contains two projects, one internal library and three external libraries.
The two 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.
Web service security stub
The web service security stub application can be downloaded here (in parts):
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.