Hi Experts,
I am very new to Talend Open studio for Data integration.
I am working on a job that uploads an xml file to my web service (hosted on a different server),
i am reading byte[] from a file that is generated within my job, and passing it to my web service method.
But the component throws following exception..
Jan 9, 2013 1:22:52 PM org.apache.cxf.phase.PhaseInterceptorChain doDefaultLogging
WARNING: Interceptor for {
http://tempuri.org/}WebService#{http://tempuri.org/}ProcessXml has thrown exception, unwinding now
org.apache.cxf.interceptor.Fault: Marshalling Error: Error writing request body to server
at org.apache.cxf.jaxb.JAXBEncoderDecoder.marshall(JAXBEncoderDecoder.java:261)
at org.apache.cxf.jaxb.io.DataWriterImpl.write(DataWriterImpl.java:169)
at org.apache.cxf.interceptor.AbstractOutDatabindingInterceptor.writeParts(AbstractOutDatabindingInterceptor.java:110)
at org.apache.cxf.interceptor.BareOutInterceptor.handleMessage(BareOutInterceptor.java:68)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:262)
at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:532)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:464)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:367)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:320)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:340)
at org.talend.webservice.helper.ServiceInvokerHelper.invoke(ServiceInvokerHelper.java:196)
at org.talend.webservice.helper.ServiceInvokerHelper.invoke(ServiceInvokerHelper.java:237)
at .......
please help me..
Hi,
Your description and info is not enough for us. We need more information to see if is it the job configuration or program issue?
Would you mind posting your job setting screenshots and wsdl file to us in order that we can find out where is wrong and solve it in time.
Best regards
Sabrina
Here is my WSDL (i couldnt attach it as a file except image
<?xml version="1.0" encoding="UTF-8"?> <wsdl:definitions name="WebService" targetNamespace="http://tempuri.org/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:tns="http://tempuri.org/" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsp="http://www.w3.org/ns/ws-policy" xmlns:wsap="http://schemas.xmlsoap.org/ws/2004/08/addressing/policy" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl" xmlns:msc="http://schemas.microsoft.com/ws/2005/12/wsdl/contract" xmlns:wsa10="http://www.w3.org/2005/08/addressing" xmlns:wsx="
Hi,
The job is big. You uploaded the wsdl file's contents, but the wsdl file import some other file
For example http://TestUploadService/WebService.svc?xsd=xsd0.
The screenshots looked so strenuous that we cannot find your issue. Would you mind sending your job .zip file which include all the related file to us, if possible. We will appreciate it very much.
Note: My E-mail: xdshi@talend.com
Best regards
Sabrina