AnsweredAssumed Answered

Activiti error when running a WebService

Question asked by zlatan316 on Sep 4, 2014
Latest reply on Sep 8, 2014 by trademak
Hello,

I am trying to use a WebService to retrieve a CopySoap client which is able to give me functionality to interface with SharePoint. I however keep getting the following error when it tries to retrieve it. Below is the relevant debug stacetrack:


Creating a CopySoap instance…
Sep 4, 2014 6:44:06 PM com.sun.xml.internal.ws.model.RuntimeModeler getRequestWrapperClass
INFO: Dynamically creating request wrapper Class com.microsoft.sharepoint.webservices.GetItem
06:44:06,487 [http-8080-2] ERROR org.activiti.engine.impl.interceptor.CommandContext  - Error while closing command context
java.lang.IllegalArgumentException: Not creating ASM Type for type = byte[]
   at com.sun.xml.internal.ws.model.WrapperBeanGenerator.getASMType(WrapperBeanGenerator.java:434)
   at com.sun.xml.internal.ws.model.WrapperBeanGenerator.collectRequestWrapperMembers(WrapperBeanGenerator.java:297)
   at com.sun.xml.internal.ws.model.WrapperBeanGenerator.createRequestWrapperBean(WrapperBeanGenerator.java:239)
   at com.sun.xml.internal.ws.model.RuntimeModeler.getRequestWrapperClass(RuntimeModeler.java:279)
   at com.sun.xml.internal.ws.model.RuntimeModeler.processDocWrappedMethod(RuntimeModeler.java:673)
   at com.sun.xml.internal.ws.model.RuntimeModeler.processMethod(RuntimeModeler.java:611)
   at com.sun.xml.internal.ws.model.RuntimeModeler.processClass(RuntimeModeler.java:400)
   at com.sun.xml.internal.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:239)
   at com.sun.xml.internal.ws.client.WSServiceDelegate.createSEIPortInfo(WSServiceDelegate.java:710)
   at com.sun.xml.internal.ws.client.WSServiceDelegate.addSEI(WSServiceDelegate.java:698)
   at com.sun.xml.internal.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:330)
   at com.sun.xml.internal.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:313)
   at com.sun.xml.internal.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:295)
   at javax.xml.ws.Service.getPort(Service.java:112)
   at actuals.com.microsoft.sharepoint.webservices.Copy.getCopySoap(Copy.java:56)
   at loadconfig.SharePointConnection.getCopySoap(SharePointConnection.java:100)
   at loadconfig.LoadConfig.createSOAPObjects(LoadConfig.java:190)
   at sharepointlistrunner.SharePointRunner.execute(SharePointRunner.java:31)


Does anyone know why byte[] types may cause an issue in Activiti? This code works fine when I run locally off Eclipse.

With Regards

Outcomes