Hello,
I work on a project with many Web Services to call. Some of them must be called inside process models using the Call Web Service Smart Service.
I encounter a few issues with that functionnality and would like to have toyr feedback on the best practices or solutions to solve them :
Those two issues are causing a lot of manual treatments and bring a lot of complexity to the environment synchronisation and patches. Am I doing something wrong ?
Thank you for your return !
Discussion posts and replies are publicly visible
If I rightly understand your problem, you are looking to dynamically modify the WSDL URL. You can check the box 'Use a dynamic WSDL URL', and use environment constant for that. While the WSDL URL provided in the smart service is used to identify operations and create CDTs, dynamic URL from constant is used to call at run time.
It would be a one time process to add constants and then you'd be ready to deploy it in multiple environments.
Hope it helps!
We are also using the solution suggested by TJ and it works fine for us. We have a constant called CURRENT_ENVIRONMENT and a rule to set the wsdl URL. The rule, based on the value of CURRENT_ENVIRONMENT sets dinamically the wsdl URL. As Long as you dont update the constant CURRENT_ENVIRONMENT the wsdl URL will be correct in all the Environments.
Thank you @TJ and jesusa583, i'll investigate further the dynamic WSDL