[resolved] ZipException by tWebService

One Star

[resolved] ZipException by tWebService

Hi,
When I running my job, this error occurs.
I can't understand why. This error only occurs when using tWebService component. When I used tSOAP, it can run perfactly.
How can I solve this error?
connecting to socket on port 3602
connected
Exception in component tWebService_1
disconnected
java.lang.RuntimeException: java.util.zip.ZipException: error in opening zip file
at org.apache.cxf.endpoint.dynamic.DynamicClientFactory.createClient(DynamicClientFactory.java:365)
at org.talend.webservice.helper.ServiceInvokerHelper.createClient(ServiceInvokerHelper.java:144)
at org.talend.webservice.helper.ServiceInvokerHelper.getClient(ServiceInvokerHelper.java:135)
at org.talend.webservice.helper.ServiceInvokerHelper.invoke(ServiceInvokerHelper.java:236)
at mtso.civ_webservice_search_0_1.CIV_WebService_Search.tFileInputDelimited_1Process(CIV_WebService_Search.java:1284)
at mtso.civ_webservice_search_0_1.CIV_WebService_Search.runJobInTOS(CIV_WebService_Search.java:1787)
at mtso.civ_webservice_search_0_1.CIV_WebService_Search.main(CIV_WebService_Search.java:1646)
Caused by: java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:215)
at java.util.zip.ZipFile.<init>(ZipFile.java:145)
at java.util.jar.JarFile.<init>(JarFile.java:154)
at java.util.jar.JarFile.<init>(JarFile.java:118)
at org.apache.cxf.endpoint.dynamic.DynamicClientFactory.addClasspathFromManifest(DynamicClientFactory.java:618)
at org.apache.cxf.endpoint.dynamic.DynamicClientFactory.setupClasspath(DynamicClientFactory.java:684)
at org.apache.cxf.endpoint.dynamic.DynamicClientFactory.createClient(DynamicClientFactory.java:363)
... 6 more
Job CIV_WebService_Search ended at 15:15 04/06/2015.

Regards, MayT.
Moderator

Re: [resolved] ZipException by tWebService

Hi,
What's your code in tjava? Usually the tJava has no input or output data flow and is used as a separate subjob. Have you tried to use tjavaRow instead?
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
One Star

Re: [resolved] ZipException by tWebService

Hi Sabrina,
I used tJavaRow and it still have the same error.
My code is like this.
String[] s=new String ;
s=row1.newColumn;
s=row1.newColumn1;
s=row1.newColumn2;
s=row1.newColumn3;
s=row1.newColumn4;
globalMap.put("array",s);
Best regards, MayT.
One Star

Re: [resolved] ZipException by tWebService

Hi,
I don't use tJava and create simple job with tFileInputDelimited,tWebService and tLogRow.
Error is the same and it can't solved until now.
Is there any advice please.
Best regards, MayT.
One Star

Re: [resolved] ZipException by tWebService

Hi,
Solved this error by reinstalling Talend under C: drive.
Best regards, MayT.
One Star

Re: [resolved] ZipException by tWebService

Hi I'm getting the following error when am running the simple job.....twebserviceInput---main--tlogrow.
Exception in component tWebServiceInput_2
java.lang.RuntimeException: not know how to convert 'literal' into org.apache.axis.client.Call@15e2075
at org.talend.DynamicInvoker.getParamData(DynamicInvoker.java:371)
at org.talend.DynamicInvoker.invokeMethod(DynamicInvoker.java:329)
at org.talend.DynamicInvoker.main(DynamicInvoker.java:190)
at org.talend.DynamicInvoker.main(DynamicInvoker.java:131)
at demo.ws_0_1.ws.tWebServiceInput_2Process(ws.java:580)
at demo.ws_0_1.ws.runJobInTOS(ws.java:992)
at demo.ws_0_1.ws.main(ws.java:857)
disconnected
Thanks in advance