You are not logged in.

#1 2012-02-16 02:32:50

srinivasan
Member
158 posts

WSDL Source importing Steps

Hi,

Am using in talend etl tool first time importing the WSDL as source structure data.

we have got WSDL URLs only  for importing the source strucuter WSDL.

Can Please help me how to import the structure,

i seen that the metadata webserivice for importing the webservice. i used  Advance Webservice option. then using the URLs, after that got some value in port name and opertion tag.

please suggest what i have to do, in Input mapping and output mapping tag in webservice metadata.

Thanks,

Offline

#2 2012-02-16 03:55:25

srinivasan
Member
158 posts

Re: WSDL Source importing Steps

hI,

As my knowledge, the webservice job has been develped.

The job flow as : service(advanced webservice option)---TMAP---TLOG ROW

Note  : Talend version 5.0 using.

Afteter exection,got below error:

Starting job wsdl_poc_ECP at 10:48 16/02/2012.

[statistics] connecting to socket on port 3399
[statistics] connected
javac: target release 1.5 conflicts with default source release 1.7
Feb 16, 2012 10:48:21 AM org.apache.cxf.endpoint.dynamic.DynamicClientFactory createClient
SEVERE: Could not compile java files for file:/C:/Users/SSHANM~1/AppData/Local/Temp/wsdl1329360494248/mainWSDL.wsdl.
Exception in component tWebService_1
java.lang.IllegalStateException: Unable to create JAXBContext for generated packages: Provider com.sun.xml.bind.v2.ContextFactory could not be instantiated: javax.xml.bind.JAXBException: "tmp1268541221osiris_esp_webservice" doesnt contain ObjectFactory.class or jaxb.index
    at org.apache.cxf.endpoint.dynamic.DynamicClientFactory.createClient(DynamicClientFactory.java:352)
    at org.talend.webservice.helper.ServiceInvokerHelper.createClient(ServiceInvokerHelper.java:142)
    at org.talend.webservice.helper.ServiceInvokerHelper.getClient(ServiceInvokerHelper.java:134)
    at org.talend.webservice.helper.ServiceInvokerHelper.invoke(ServiceInvokerHelper.java:234)
    at test.wsdl_poc_ecp_0_1.wsdl_poc_ECP.tWebService_1Process(wsdl_poc_ECP.java:1325)
    at test.wsdl_poc_ecp_0_1.wsdl_poc_ECP.runJobInTOS(wsdl_poc_ECP.java:2131)
[statistics] disconnected
    at test.wsdl_poc_ecp_0_1.wsdl_poc_ECP.main(wsdl_poc_ECP.java:1999)
Caused by: javax.xml.bind.JAXBException: Provider com.sun.xml.bind.v2.ContextFactory could not be instantiated: javax.xml.bind.JAXBException: "tmp1268541221osiris_esp_webservice" doesnt contain ObjectFactory.class or jaxb.index
- with linked exception:
[javax.xml.bind.JAXBException: "tmp1268541221osiris_esp_webservice" doesnt contain ObjectFactory.class or jaxb.index]
    at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:146)
    at javax.xml.bind.ContextFinder.find(ContextFinder.java:334)
    at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:431)
    at org.apache.cxf.endpoint.dynamic.DynamicClientFactory.createClient(DynamicClientFactory.java:349)
    ... 6 more
Caused by: javax.xml.bind.JAXBException: "tmp1268541221osiris_esp_webservice" doesnt contain ObjectFactory.class or jaxb.index
    at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:197)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:172)
    at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:132)
    ... 9 more
Job wsdl_poc_ECP ended at 10:48 16/02/2012. [exit code=1]


Please suggest me the solution for this.

Thanks,

Offline

#3 2012-02-16 08:34:57

srinivasan
Member
158 posts

Re: WSDL Source importing Steps

Hi All,


Will able to design and execute the WSDL source data to oracle  open Source Talend tool ?

If yes. we  got below errors. anyone have idea for this.

[statistics] connecting to socket on port 3556
[statistics] connected
Feb 16, 2012 3:26:03 PM org.apache.cxf.endpoint.dynamic.DynamicClientFactory createClient
SEVERE: Could not compile java files for file:/C:/Users/SSHANM~1/AppData/Local/Temp/wsdl1329377158511/mainWSDL.wsdl.
Exception in component tWebService_3
java.lang.IllegalStateException: Unable to create JAXBContext for generated packages: Provider com.sun.xml.bind.v2.ContextFactory could not be instantiated: javax.xml.bind.JAXBException: "tmp1812324254osiris_espinterface_sh" doesnt contain ObjectFactory.class or jaxb.index
    at org.apache.cxf.endpoint.dynamic.DynamicClientFactory.createClient(DynamicClientFactory.java:352)
    at org.talend.webservice.helper.ServiceInvokerHelper.createClient(ServiceInvokerHelper.java:142)
    at org.talend.webservice.helper.ServiceInvokerHelper.getClient(ServiceInvokerHelper.java:134)
    at org.talend.webservice.helper.ServiceInvokerHelper.invoke(ServiceInvokerHelper.java:234)
    at test.wsdl_poc_ecp_0_1.wsdl_poc_ECP.tWebService_3Process(wsdl_poc_ECP.java:599)
    at test.wsdl_poc_ecp_0_1.wsdl_poc_ECP.runJobInTOS(wsdl_poc_ECP.java:906)
javac: target release 1.5 conflicts with default source release 1.7
[statistics] disconnected
    at test.wsdl_poc_ecp_0_1.wsdl_poc_ECP.main(wsdl_poc_ECP.java:774)
Caused by: javax.xml.bind.JAXBException: Provider com.sun.xml.bind.v2.ContextFactory could not be instantiated: javax.xml.bind.JAXBException: "tmp1812324254osiris_espinterface_sh" doesnt contain ObjectFactory.class or jaxb.index
- with linked exception:
[javax.xml.bind.JAXBException: "tmp1812324254osiris_espinterface_sh" doesnt contain ObjectFactory.class or jaxb.index]
    at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:146)
    at javax.xml.bind.ContextFinder.find(ContextFinder.java:334)
    at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:431)
    at org.apache.cxf.endpoint.dynamic.DynamicClientFactory.createClient(DynamicClientFactory.java:349)
    ... 6 more
Caused by: javax.xml.bind.JAXBException: "tmp1812324254osiris_espinterface_sh" doesnt contain ObjectFactory.class or jaxb.index
    at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:197)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:172)
    at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:132)
    ... 9 more
Job wsdl_poc_ECP ended at 15:26 16/02/2012. [exit code=1]


Thanks,

Srinivasan S

Offline

Board footer

Talend Contributor Agreement - Talend Website Privacy Policy