Hi all,
I would like to know if it is possible to consume service from other programming languages into YAWL, python for example?
What is the format of requests for example on interfaceB from the address http: // localhost: 8080/yawl/ib return the method: getAllRunningCases ()?
Has anyone implemented services in other languages? Is the service WSDL or http? This seems confusing, as in the Manual there is an indication to do with WSDL, however in Java language it is done through direct http.
If you can help me clarify these doubts, thank you!

Michael Adams

Tue, 07/21/2020 - 01:45

Yes, all of that information can be accessed via an API. There is a separate client-side API for logs (YLogGatewayCLient), for resource information (ResourceGatewayClient) and for workqueues (WorkQueueGatewayClient). The APIs are REST-like.

You can find the Javadoc here: https://yawlfoundation.github.io/javadoc/index.html

For python, you can call the APIs directly from the yawl library jar with one of the python to java bridges, otherwise you may need to look at the code within those classes to find the parameter names to send to the server side gateways if you want to rewrite the calls in python.

Cheers, Michael