<?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 How to call a Web Service in Activiti? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-call-a-web-service-in-activiti/m-p/205225#M158355</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'm trying to read some data from a Sharepoint and have created a Java class that can do this outside of Activiti.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am now trying to get this to work within Activiti, but I keep getting the below error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;08:42:27,658 [http-8080-4] INFO&amp;nbsp; org.activiti.engine.impl.bpmn.deployer.BpmnDeployer&amp;nbsp; - Processing resource LiveSharepointReader.bpmn20.xml&lt;BR /&gt;08:42:27,801 [http-8080-4] ERROR org.activiti.engine.impl.interceptor.CommandContext&amp;nbsp; - Error while closing command context&lt;BR /&gt;org.activiti.engine.ActivitiException: Errors while parsing:&lt;BR /&gt;Could not find importer for type &lt;A href="http://schemas.xmlsoap.org/wsdl/" rel="nofollow noopener noreferrer"&gt;http://schemas.xmlsoap.org/wsdl/&lt;/A&gt; | line 3 | column 5&lt;BR /&gt;Could not import item of type &lt;A href="http://schemas.xmlsoap.org/wsdl/" rel="nofollow noopener noreferrer"&gt;http://schemas.xmlsoap.org/wsdl/&lt;/A&gt; | line 3 | column 5&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The code I added to my BPMN XML is as below&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt; &amp;lt;import importType="&lt;A href="http://schemas.xmlsoap.org/wsdl/" rel="nofollow noopener noreferrer"&gt;http://schemas.xmlsoap.org/wsdl/&lt;/A&gt;"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; location="&lt;A href="https://sp.kompany.com/sites/Global/_vti_bin/Lists.asmx?wsdl" rel="nofollow noopener noreferrer"&gt;https://sp.kompany.com/sites/Global/_vti_bin/Lists.asmx?wsdl&lt;/A&gt;"&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; namespace="&lt;A href="http://schemas.microsoft.com/sharepoint/soap/" rel="nofollow noopener noreferrer"&gt;http://schemas.microsoft.com/sharepoint/soap/&lt;/A&gt;" /&amp;gt;&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone tell where I am going wrong, or if there is an easy way to run a Web Service in Activiti?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;With Regards&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Sep 2014 20:01:07 GMT</pubDate>
    <dc:creator>zlatan316</dc:creator>
    <dc:date>2014-09-01T20:01:07Z</dc:date>
    <item>
      <title>How to call a Web Service in Activiti?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-call-a-web-service-in-activiti/m-p/205225#M158355</link>
      <description>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&amp;nbsp; org.activiti.engine.impl.bpmn.deployer.BpmnDeployer&amp;nbsp; - Process</description>
      <pubDate>Mon, 01 Sep 2014 20:01:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-call-a-web-service-in-activiti/m-p/205225#M158355</guid>
      <dc:creator>zlatan316</dc:creator>
      <dc:date>2014-09-01T20:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to call a Web Service in Activiti?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-call-a-web-service-in-activiti/m-p/205226#M158356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I don´t think is a good idea to import the wsdl definition directly into the bpm definition. I do a lot of WS calls from my flows, but I´ve always used custom Java classes invoked as aSystem Task or Groovy scripts.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Sep 2014 01:16:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-call-a-web-service-in-activiti/m-p/205226#M158356</guid>
      <dc:creator>pmsevestre</dc:creator>
      <dc:date>2014-09-02T01:16:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to call a Web Service in Activiti?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-call-a-web-service-in-activiti/m-p/205227#M158357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Would you be able to provide a working example of a Web Service being called as a Service Task within Activiti? I've tried doing this but I keep getting a "401 - Unauthroized" error when the code tries to authenticate the Web Service.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Sep 2014 09:16:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-call-a-web-service-in-activiti/m-p/205227#M158357</guid>
      <dc:creator>zlatan316</dc:creator>
      <dc:date>2014-09-02T09:16:45Z</dc:date>
    </item>
  </channel>
</rss>

