AnsweredAssumed Answered

How to call a Web Service in Activiti?

Question asked by zlatan316 on Sep 1, 2014
Latest reply on Sep 2, 2014 by zlatan316
Hi,

I'm trying to read some data from a Sharepoint and have created a Java class that can do this outside of Activiti.

I am now trying to get this to work within Activiti, but I keep getting the below error:

08:42:27,658 [http-8080-4] INFO  org.activiti.engine.impl.bpmn.deployer.BpmnDeployer  - Processing resource LiveSharepointReader.bpmn20.xml
08:42:27,801 [http-8080-4] ERROR org.activiti.engine.impl.interceptor.CommandContext  - Error while closing command context
org.activiti.engine.ActivitiException: Errors while parsing:
Could not find importer for type http://schemas.xmlsoap.org/wsdl/ | line 3 | column 5
Could not import item of type http://schemas.xmlsoap.org/wsdl/ | line 3 | column 5


The code I added to my BPMN XML is as below

<import importType="http://schemas.xmlsoap.org/wsdl/"
          location="https://sp.kompany.com/sites/Global/_vti_bin/Lists.asmx?wsdl"
          namespace="http://schemas.microsoft.com/sharepoint/soap/" />


Can anyone tell where I am going wrong, or if there is an easy way to run a Web Service in Activiti?

With Regards

Outcomes