Project: talendesb
Issue TESB-1824: tESBConsumer Job with WSDL referenced as file fails at deployment with FileNotFoundException
I set WSDL file location in tESBConsumer component to local file. When I try to run exported job at another machine I got Exception in component tESBConsumer_1 javax.wsdl.WSDLException: WSDLException: faultCode=Cannot parse cervice WSDL or WSDL is not accessible: D:/talend/tesb-r t-se/job/controller/src/main/test/job/CustomerService.wsdl: javax.wsdl.WSDLException: WSDLException: faultCode=OTHER_ERR OR: Unable to resolve imported document at 'D:/talend/tesb-rt-se/job/controller/src/main/test/job/CustomerService.wsdl'. : java.io.FileNotFoundException: This file was not found: file:/D:/talend/tesb-rt-se/job/controller/src/main/test/job/Cu stomerService.wsdl at org.talend.ws.helper.ServiceDiscoveryHelper.init(ServiceDiscoveryHelper.java:105) at org.talend.ws.helper.ServiceDiscoveryHelper.(ServiceDiscoveryHelper.java:83) at org.talend.ws.helper.ServiceDiscoveryHelper.(ServiceDiscoveryHelper.java:70) at test.consumerjob_0_1.ConsumerJob.tFixedFlowInput_1Process(ConsumerJob.java:1253) at test.consumerjob_0_1.ConsumerJob.runJobInTOS(ConsumerJob.java:1852) at test.consumerjob_0_1.ConsumerJob.runJob(ConsumerJob.java:1756) at org.talend.esb.job.controller.internal.TalendJobLauncher$1.run(TalendJobLauncher.java:65) at java.lang.Thread.run(Thread.java:662) Caused by: javax.wsdl.WSDLException: WSDLException: faultCode=OTHER_ERROR: Unable to resolve imported document at 'D:/ta lend/tesb-rt-se/job/controller/src/main/test/job/CustomerService.wsdl'.: java.io.FileNotFoundException: This file was no t found: file:/D:/talend/tesb-rt-se/job/controller/src/main/test/job/CustomerService.wsdl at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source) at com.ibm.wsdl.xml.WSDLReaderImpl.readWSDL(Unknown Source) at org.talend.ws.helper.ServiceDiscoveryHelper.init(ServiceDiscoveryHelper.java:100) ... 7 more Caused by: java.io.FileNotFoundException: This file was not found: file:/D:/talend/tesb-rt-se/job/controller/src/main/te st/job/CustomerService.wsdl at com.ibm.wsdl.util.StringUtils.getContentAsInputStream(Unknown Source) ... 10 more
Story points: 2