<?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: calling a Webservice in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/calling-a-webservice/m-p/57656#M35101</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have the same problem arno.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If i call the addClasspathResource(xxx) the workflow will get a correct deployment. If i use the method addInputStream() the deployment is not correct.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After deployment with &lt;/SPAN&gt;&lt;STRONG&gt;addClasspathResource()&lt;/STRONG&gt;&lt;SPAN&gt; the following log will be generated:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color:#BF4000;"&gt;26.04.2011 22:23:50 org.activiti.engine.impl.bpmn.deployer.BpmnDeployer deploy&lt;BR /&gt;INFO: Processing resource main/resources/diagrams/SimpleSendReceive@pA.bpmn20.xml&lt;BR /&gt;26.04.2011 22:23:51 org.activiti.engine.impl.bpmn.parser.BpmnParse parseDefinitionsAttributes&lt;BR /&gt;INFO: XMLSchema currently not supported as typeLanguage&lt;BR /&gt;26.04.2011 22:23:51 org.activiti.engine.impl.bpmn.parser.BpmnParse parseDefinitionsAttributes&lt;BR /&gt;INFO: XPath currently not supported as expressionLanguage&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After deployment with &lt;/SPAN&gt;&lt;STRONG&gt;addInputStream() &lt;/STRONG&gt;&lt;SPAN&gt;the following log will be generated:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color:#800000;"&gt;26.04.2011 22:13:21 org.activiti.engine.impl.bpmn.deployer.BpmnDeployer deploy&lt;BR /&gt;INFO: Processing resource SimpleSendReceive@pB&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="text-decoration: underline;"&gt;In ActivitProbe i see also a difference:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;With addClasspathResource() i see my deployment at the DEPLOYMENT tab and my added process.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But with addInputStream() i see only my deployment and no process.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The funny thing is, that the method addClasspathResource calls implicit the method addInputStream(). The only difference is the name of the resource.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;solution:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The name of the resource must end with "bpmn20.xml". When i import a resource than points to an existing file it have always the ending .bpmn20.xml, but i must also use the notation if i will use addString or addInputStream from the deployment service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;@frederikheremans: Inside the deployment service must be an hard query to the resource name. Why?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Apr 2011 21:07:23 GMT</pubDate>
    <dc:creator>peterwanschou</dc:creator>
    <dc:date>2011-04-26T21:07:23Z</dc:date>
    <item>
      <title>calling a Webservice</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/calling-a-webservice/m-p/57651#M35096</link>
      <description>Hello,I'm trying to call a simple webservice by using an Activiti servicetask.It simply doesn't work. Here's the code of my WS:HelloWorldService.java&lt;IMG id="smileytongue" class="emoticon emoticon-smileytongue" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;ackage serverside.service;import javax.jws.WebService;import javax.jws.soap.SOAPBinding;import javax.jws.soap.SOAPBinding.Style;@WebService@SOAPBindi</description>
      <pubDate>Sat, 09 Apr 2011 14:38:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/calling-a-webservice/m-p/57651#M35096</guid>
      <dc:creator>arno1</dc:creator>
      <dc:date>2011-04-09T14:38:01Z</dc:date>
    </item>
    <item>
      <title>Re: calling a Webservice</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/calling-a-webservice/m-p/57652#M35097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The problem that I see with your code is that &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The process is not getting deployed , you need to add to the class path (example below )and you can jus specify the realtive path in your case&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"diagrams/myDiagram.bpmn20.xml"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;// Deploy the process definition&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; repositoryService.createDeployment()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .addClasspathResource("FinancialReportProcess.bpmn20.xml")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .deploy();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;// Start a process instance&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; runtimeService.startProcessInstanceByKey("financialReport");&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Try it out…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;cheers&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Blue&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Apr 2011 20:37:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/calling-a-webservice/m-p/57652#M35097</guid>
      <dc:creator>bluerain</dc:creator>
      <dc:date>2011-04-09T20:37:58Z</dc:date>
    </item>
    <item>
      <title>Re: calling a Webservice</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/calling-a-webservice/m-p/57653#M35098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the answer but I'm working with the addInputStream method, not with the addClasspathResource method.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I know that the tutorial code is working with the addInputStream method if you use it instead of the addClasspathResource - i've tried it out (see this thread: &lt;/SPAN&gt;&lt;A href="http://forums.activiti.org/en/viewtopic.php?f=6&amp;amp;t=1438&amp;amp;p=6005#p6005" rel="nofollow noopener noreferrer"&gt;http://forums.activiti.org/en/viewtopic.php?f=6&amp;amp;t=1438&amp;amp;p=6005#p6005&lt;/A&gt;&lt;SPAN&gt; ). And since I'm using the same method in my above stated problem I'd like to know why there no deployment (or whatever) happens…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Apr 2011 15:21:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/calling-a-webservice/m-p/57653#M35098</guid>
      <dc:creator>arno1</dc:creator>
      <dc:date>2011-04-10T15:21:04Z</dc:date>
    </item>
    <item>
      <title>Re: calling a Webservice</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/calling-a-webservice/m-p/57654#M35099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Strange… If the file doesn't exist, the FileinputStream will throw an exception -&amp;gt; not the case here. Can you check if the resources are present in your DB and the deployment actually contains the resource?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Looks like the BPMNDeployer isnn't picking up the processes in the xml… Maybe something with namespaces?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Apr 2011 06:39:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/calling-a-webservice/m-p/57654#M35099</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2011-04-11T06:39:36Z</dc:date>
    </item>
    <item>
      <title>Re: calling a Webservice</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/calling-a-webservice/m-p/57655#M35100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;everything is there where it should be. it doesn't even work if I try it out with an empty process without any functionality…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Apr 2011 11:24:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/calling-a-webservice/m-p/57655#M35100</guid>
      <dc:creator>arno1</dc:creator>
      <dc:date>2011-04-11T11:24:09Z</dc:date>
    </item>
    <item>
      <title>Re: calling a Webservice</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/calling-a-webservice/m-p/57656#M35101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have the same problem arno.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If i call the addClasspathResource(xxx) the workflow will get a correct deployment. If i use the method addInputStream() the deployment is not correct.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After deployment with &lt;/SPAN&gt;&lt;STRONG&gt;addClasspathResource()&lt;/STRONG&gt;&lt;SPAN&gt; the following log will be generated:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color:#BF4000;"&gt;26.04.2011 22:23:50 org.activiti.engine.impl.bpmn.deployer.BpmnDeployer deploy&lt;BR /&gt;INFO: Processing resource main/resources/diagrams/SimpleSendReceive@pA.bpmn20.xml&lt;BR /&gt;26.04.2011 22:23:51 org.activiti.engine.impl.bpmn.parser.BpmnParse parseDefinitionsAttributes&lt;BR /&gt;INFO: XMLSchema currently not supported as typeLanguage&lt;BR /&gt;26.04.2011 22:23:51 org.activiti.engine.impl.bpmn.parser.BpmnParse parseDefinitionsAttributes&lt;BR /&gt;INFO: XPath currently not supported as expressionLanguage&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After deployment with &lt;/SPAN&gt;&lt;STRONG&gt;addInputStream() &lt;/STRONG&gt;&lt;SPAN&gt;the following log will be generated:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color:#800000;"&gt;26.04.2011 22:13:21 org.activiti.engine.impl.bpmn.deployer.BpmnDeployer deploy&lt;BR /&gt;INFO: Processing resource SimpleSendReceive@pB&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="text-decoration: underline;"&gt;In ActivitProbe i see also a difference:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;With addClasspathResource() i see my deployment at the DEPLOYMENT tab and my added process.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But with addInputStream() i see only my deployment and no process.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The funny thing is, that the method addClasspathResource calls implicit the method addInputStream(). The only difference is the name of the resource.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;solution:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The name of the resource must end with "bpmn20.xml". When i import a resource than points to an existing file it have always the ending .bpmn20.xml, but i must also use the notation if i will use addString or addInputStream from the deployment service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;@frederikheremans: Inside the deployment service must be an hard query to the resource name. Why?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2011 21:07:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/calling-a-webservice/m-p/57656#M35101</guid>
      <dc:creator>peterwanschou</dc:creator>
      <dc:date>2011-04-26T21:07:23Z</dc:date>
    </item>
    <item>
      <title>Re: calling a Webservice</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/calling-a-webservice/m-p/57657#M35102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;ok i think it is clear why … because i can add different resouced with the method addClasspathResource (png etc.)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2011 22:09:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/calling-a-webservice/m-p/57657#M35102</guid>
      <dc:creator>peterwanschou</dc:creator>
      <dc:date>2011-04-26T22:09:35Z</dc:date>
    </item>
  </channel>
</rss>

