<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Problems with Actitivi 5.9 and Web Service calls in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/problems-with-actitivi-5-9-and-web-service-calls/m-p/101552#M70522</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I´m using the Activiti 5.10 and I have the same problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When I´m goint to deploy the process I get the error: &lt;/SPAN&gt;&lt;STRONG&gt; "could not find importer for type http //&lt;A href="http://schemas.xmlsoap.org/wsdl/" rel="nofollow noopener noreferrer"&gt;schemas.xmlsoap.org/wsdl/&lt;/A&gt;"&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I´ve attached the unit Test for this process, this page does not allow me to upload the files, so here we go…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#######################&amp;nbsp; UNIT TEST #############################&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;package org.activiti.designer.test;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;import static org.junit.Assert.*;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;import java.util.HashMap;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;import java.util.Map;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;import java.io.FileInputStream;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;import org.activiti.engine.RepositoryService;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;import org.activiti.engine.RuntimeService;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;import org.activiti.engine.runtime.ProcessInstance;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;import org.activiti.engine.test.ActivitiRule;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;import org.junit.Rule;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;import org.junit.Test;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;public class ProcessTestProcess1 {&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; private String filename = "D:/ws.bpmn";&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; @Rule&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; public ActivitiRule activitiRule = new ActivitiRule();&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; @Test&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; public void startProcess() throws Exception {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; RepositoryService repositoryService = activitiRule.getRepositoryService();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; repositoryService.createDeployment().addInputStream("process1.bpmn20.xml",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; new FileInputStream(filename)).deploy();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; RuntimeService runtimeService = activitiRule.getRuntimeService();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Map&amp;lt;String, Object&amp;gt; variableMap = new HashMap&amp;lt;String, Object&amp;gt;();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; variableMap.put("name", "Activiti");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; ProcessInstance processInstance = runtimeService.startProcessInstanceByKey("process1", variableMap);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; assertNotNull(processInstance.getId());&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; System.out.println("id " + processInstance.getId() + " "&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; + processInstance.getProcessDefinitionId());&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#############################################################################################&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 07 Oct 2012 15:05:34 GMT</pubDate>
    <dc:creator>jurtiaga</dc:creator>
    <dc:date>2012-10-07T15:05:34Z</dc:date>
    <item>
      <title>Problems with Actitivi 5.9 and Web Service calls</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problems-with-actitivi-5-9-and-web-service-calls/m-p/101549#M70519</link>
      <description>Hi.Hi would like to use the standard BPMN way to call web services (no specific clients).My BPMN is something like this:&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&amp;lt;definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" &amp;nbsp;</description>
      <pubDate>Tue, 08 May 2012 13:52:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problems-with-actitivi-5-9-and-web-service-calls/m-p/101549#M70519</guid>
      <dc:creator>erny18031</dc:creator>
      <dc:date>2012-05-08T13:52:15Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with Actitivi 5.9 and Web Service calls</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problems-with-actitivi-5-9-and-web-service-calls/m-p/101550#M70520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you create a unit test that reproduces this error?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2012 16:01:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problems-with-actitivi-5-9-and-web-service-calls/m-p/101550#M70520</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2012-05-08T16:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with Actitivi 5.9 and Web Service calls</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problems-with-actitivi-5-9-and-web-service-calls/m-p/101551#M70521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; I am trying to test a public webservice by invoking it from webservice task. I have modified the .bpmn xml with the entries.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;could anyone share a example on how to invoke a public webservice and how to test it,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also can we create 2 service task and link them to pass the output of 1 service as input to another.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2012 06:36:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problems-with-actitivi-5-9-and-web-service-calls/m-p/101551#M70521</guid>
      <dc:creator>mss21</dc:creator>
      <dc:date>2012-09-18T06:36:25Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with Actitivi 5.9 and Web Service calls</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problems-with-actitivi-5-9-and-web-service-calls/m-p/101552#M70522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I´m using the Activiti 5.10 and I have the same problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When I´m goint to deploy the process I get the error: &lt;/SPAN&gt;&lt;STRONG&gt; "could not find importer for type http //&lt;A href="http://schemas.xmlsoap.org/wsdl/" rel="nofollow noopener noreferrer"&gt;schemas.xmlsoap.org/wsdl/&lt;/A&gt;"&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I´ve attached the unit Test for this process, this page does not allow me to upload the files, so here we go…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#######################&amp;nbsp; UNIT TEST #############################&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;package org.activiti.designer.test;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;import static org.junit.Assert.*;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;import java.util.HashMap;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;import java.util.Map;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;import java.io.FileInputStream;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;import org.activiti.engine.RepositoryService;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;import org.activiti.engine.RuntimeService;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;import org.activiti.engine.runtime.ProcessInstance;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;import org.activiti.engine.test.ActivitiRule;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;import org.junit.Rule;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;import org.junit.Test;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;public class ProcessTestProcess1 {&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; private String filename = "D:/ws.bpmn";&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; @Rule&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; public ActivitiRule activitiRule = new ActivitiRule();&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; @Test&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; public void startProcess() throws Exception {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; RepositoryService repositoryService = activitiRule.getRepositoryService();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; repositoryService.createDeployment().addInputStream("process1.bpmn20.xml",&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; new FileInputStream(filename)).deploy();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; RuntimeService runtimeService = activitiRule.getRuntimeService();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Map&amp;lt;String, Object&amp;gt; variableMap = new HashMap&amp;lt;String, Object&amp;gt;();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; variableMap.put("name", "Activiti");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; ProcessInstance processInstance = runtimeService.startProcessInstanceByKey("process1", variableMap);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; assertNotNull(processInstance.getId());&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; System.out.println("id " + processInstance.getId() + " "&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; + processInstance.getProcessDefinitionId());&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#############################################################################################&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Oct 2012 15:05:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problems-with-actitivi-5-9-and-web-service-calls/m-p/101552#M70522</guid>
      <dc:creator>jurtiaga</dc:creator>
      <dc:date>2012-10-07T15:05:34Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with Actitivi 5.9 and Web Service calls</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/problems-with-actitivi-5-9-and-web-service-calls/m-p/101553#M70523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Try adding activiti-cxf as a dependency, the webservice-parsing is handled by this class: org.activiti.engine.impl.webservice.CxfWSDLImporter&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Oct 2012 07:33:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/problems-with-actitivi-5-9-and-web-service-calls/m-p/101553#M70523</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2012-10-09T07:33:28Z</dc:date>
    </item>
  </channel>
</rss>

