<?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 Error at Web Service Invocation at Service Task Activity in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/error-at-web-service-invocation-at-service-task-activity/m-p/175723#M128853</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 built web service client in JAVA and trying to call this web service client java method from Service task. My java class implements "JavaDelegate" interface and implements "execute()" method. I copied web service client code below.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;public class CheckLeaveWSClient implements JavaDelegate {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; public void execute(DelegateExecution execution) throws Exception {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;GetNoOfDaysProxy daysProcxy = new GetNoOfDaysProxy();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;StringHolder cname = new StringHolder("Ram");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;try{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;String result = daysProcxy.processLeave(cname);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;System.out.println(result);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;catch(Exception e){&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;e.printStackTrace();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I deployed the activiti process into activiti explorer. I am getting "couldn't instantiate class CheckLeaveWSClient" message in Activiti Explorer. This message is coming when Activiti engine tries to execute Service task. Please help me to fix this issue. Also I attched the bpmn file and log file (taken from tomcat) for your kind reference.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks and Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Rajendiran R&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Jul 2014 08:24:49 GMT</pubDate>
    <dc:creator>rajendiran</dc:creator>
    <dc:date>2014-07-28T08:24:49Z</dc:date>
    <item>
      <title>Error at Web Service Invocation at Service Task Activity</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-at-web-service-invocation-at-service-task-activity/m-p/175723#M128853</link>
      <description>Hi,I built web service client in JAVA and trying to call this web service client java method from Service task. My java class implements "JavaDelegate" interface and implements "execute()" method. I copied web service client code below.public class CheckLeaveWSClient implements JavaDelegate {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;</description>
      <pubDate>Mon, 28 Jul 2014 08:24:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-at-web-service-invocation-at-service-task-activity/m-p/175723#M128853</guid>
      <dc:creator>rajendiran</dc:creator>
      <dc:date>2014-07-28T08:24:49Z</dc:date>
    </item>
    <item>
      <title>Re: Error at Web Service Invocation at Service Task Activity</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-at-web-service-invocation-at-service-task-activity/m-p/175724#M128854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Did you package the classes needed in a jar and added it to the tomcat class path? Including all dependencies the jar needs…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jul 2014 13:19:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-at-web-service-invocation-at-service-task-activity/m-p/175724#M128854</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2014-07-29T13:19:09Z</dc:date>
    </item>
    <item>
      <title>Re: Error at Web Service Invocation at Service Task Activity</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-at-web-service-invocation-at-service-task-activity/m-p/175725#M128855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dear Mr. Frederikheremans,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I packaged all dependency classes and executed. In Activiti Process Definition, I changed configuration from "Java Class" to "Expression" in Service Task. I created a bean at "activiti-context.xml" to invokde the method "activiti:expression="${callLeaveService.execute(execution)}". Now I am getting the below Exception. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"Caused by: java.lang.UnsupportedClassVersionError: com/nomura/activiti/service/CheckLeaveWSClient : Unsupported major.minor version 51.0 (unable to load class com.nomura.activiti.service.CheckLeaveWSClient)".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am stuck in this from the past 3 days. Please help me to fix this issue. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I also attached activiti-context xml file, error log files from Tomcat and my bpmn file for your reference.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks and Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Rajendiran R&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2014 04:51:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-at-web-service-invocation-at-service-task-activity/m-p/175725#M128855</guid>
      <dc:creator>rajendiran</dc:creator>
      <dc:date>2014-07-30T04:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: Error at Web Service Invocation at Service Task Activity</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-at-web-service-invocation-at-service-task-activity/m-p/175726#M128856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;CODE&gt;Caused by: java.lang.UnsupportedClassVersionError&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;With all due respect: Are you kidding me? You compiled the classes in a more recent Java version than the one you're running the engine on. Please use google/common sense before asking questions on activiti-forum…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2014 14:55:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-at-web-service-invocation-at-service-task-activity/m-p/175726#M128856</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2014-07-30T14:55:34Z</dc:date>
    </item>
    <item>
      <title>Re: Error at Web Service Invocation at Service Task Activity</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-at-web-service-invocation-at-service-task-activity/m-p/175727#M128857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dear Mr. Frederikheremans,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I suspected the same. I changed the java version which is now common between the eclipse and Tomcat (where I have Activiti Engine). But this error still persists.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Moreover people will not shoot any questions with no common sense and I am not kidding also. My apologies if this question is irrelevant to what for Activiti Forum. I will double-check once again and will come back with update.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot for the support.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Rajendiran R&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jul 2014 03:16:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-at-web-service-invocation-at-service-task-activity/m-p/175727#M128857</guid>
      <dc:creator>rajendiran</dc:creator>
      <dc:date>2014-07-31T03:16:56Z</dc:date>
    </item>
    <item>
      <title>Re: Error at Web Service Invocation at Service Task Activity</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/error-at-web-service-invocation-at-service-task-activity/m-p/175728#M128858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Rajendiran, I didn't mean to offend you but we try really hard to answer people's question about Activiti. We're not a java-forum - java.lang.UnsupportedClassVersionError's is a basic Java exception, totally unrelated to Activiti. So best to first check if the error is related specifically to activiti…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jul 2014 07:06:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/error-at-web-service-invocation-at-service-task-activity/m-p/175728#M128858</guid>
      <dc:creator>frederikherema1</dc:creator>
      <dc:date>2014-07-31T07:06:31Z</dc:date>
    </item>
  </channel>
</rss>

