[resolved] tWebService Error

One Star

[resolved] tWebService Error

hello,
I have to call a web service, for each record read from a table,
then structured my job this way:
tDB2Input ----> tWebService -----> tLogRow
but it returns a strange exception:
----------------------------------------------------------------------------------------------------------------------------------
IOException during exec() of compiler "javac". Check your path environment variable.
12-feb-2013 9.17.00 org.apache.cxf.endpoint.dynamic.DynamicClientFactory createClient
GRAVE: Could not compile java files for file:/C:/Users/bonafe/AppData/Local/Temp/wsdl1360657015551/mainWSDL.wsdl.
Exception in component tWebService_4
java.lang.IllegalStateException: Unable to create JAXBContext for generated packages: "tmp50463651it.icg.pragma.ws.anagrafica" non contiene ObjectFactory.class o jaxb.index
at org.apache.cxf.endpoint.dynamic.DynamicClientFactory.createClient(DynamicClientFactory.java:393)
at org.talend.webservice.helper.ServiceInvokerHelper.createClient(ServiceInvokerHelper.java:143)
at org.talend.webservice.helper.ServiceInvokerHelper.getClient(ServiceInvokerHelper.java:134)
at org.talend.webservice.helper.ServiceInvokerHelper.invoke(ServiceInvokerHelper.java:235)
at interfacce_pragma.import_anagrafiche_bkd_0_1.Import_Anagrafiche_BKD.tDB2Input_1Process(Import_Anagrafiche_BKD.java:2632)
at interfacce_pragma.import_anagrafiche_bkd_0_1.Import_Anagrafiche_BKD.runJobInTOS(Import_Anagrafiche_BKD.java:5610)
at interfacce_pragma.import_anagrafiche_bkd_0_1.Import_Anagrafiche_BKD.main(Import_Anagrafiche_BKD.java:5194)
Caused by: javax.xml.bind.JAXBException: "tmp50463651it.icg.pragma.ws.anagrafica" non contiene ObjectFactory.class o jaxb.index
at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:231)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at javax.xml.bind.ContextFinder.newInstance(Unknown Source)
at javax.xml.bind.ContextFinder.find(Unknown Source)
at javax.xml.bind.JAXBContext.newInstance(Unknown Source)
at org.apache.cxf.endpoint.dynamic.DynamicClientFactory.createClient(DynamicClientFactory.java:390)
... 6 more
--------------------------------------------------------------------------------------------------------------------------------------
Can you tell me what the cause and the solution?
thank you very much.

Accepted Solutions
Community Manager

Re: [resolved] tWebService Error

Hi
This KB article documents the cause and offers solution:
https://community.talend.com/t5/Design-and-Development/IOException-due-to-missing-javac-compiler/ta-...


Shong

----------------------------------------------------------
Talend | Data Agility for Modern Business

All Replies
Community Manager

Re: [resolved] tWebService Error

Hi
This KB article documents the cause and offers solution:
https://community.talend.com/t5/Design-and-Development/IOException-due-to-missing-javac-compiler/ta-...


Shong

----------------------------------------------------------
Talend | Data Agility for Modern Business
One Star

Re: [resolved] tWebService Error

thanks a lot