AnsweredAssumed Answered

Invoking a web service dynamically

Question asked by capacia on Apr 6, 2011
Latest reply on Apr 8, 2011 by ronald.van.kuijk
Hi,

I want to invoke a web service within a process. Which web service shall be invoked is not known until runtime. So I need to invoke a dynamic web service.
What do I have to do to invoke a dynamic webservice using a WebService task?

I read the user guide entry about the WebService task. The web service operations and types are imported using the import tag:

<import importType="http://schemas.xmlsoap.org/wsdl/"
        location="http://localhost:63081/counter?wsdl"
        namespace="http://webservice.activiti.org/" />
Is it possible to use variables in this import? I think 'no', because it is defined before the process, isn't it?
What is the way to do this?

Thanks.

Outcomes