Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
ursa1
Contributor
Contributor

[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.
Labels (4)
1 Solution

Accepted Solutions
Anonymous
Not applicable

2 Replies
Anonymous
Not applicable

Anonymous
Not applicable

thanks a lot