<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic tWebService cannot upload byte array in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tWebService-cannot-upload-byte-array/m-p/2250386#M34646</link>
    <description>Hi Experts, 
&lt;BR /&gt;I am very new to Talend Open studio for Data integration. 
&lt;BR /&gt;I am working on a job that uploads an xml file to my web service (hosted on a different server), 
&lt;BR /&gt;i am reading byte[] from a file that is generated within my job, and passing it to my web service method. 
&lt;BR /&gt;But the component throws following exception.. 
&lt;BR /&gt;Jan 9, 2013 1:22:52 PM org.apache.cxf.phase.PhaseInterceptorChain doDefaultLogging 
&lt;BR /&gt;WARNING: Interceptor for { 
&lt;A href="http://tempuri.org/}WebService#{http://tempuri.org/}ProcessXml" target="_blank" rel="nofollow noopener noreferrer"&gt;http://tempuri.org/}WebService#{http://tempuri.org/}ProcessXml&lt;/A&gt; has thrown exception, unwinding now 
&lt;BR /&gt;org.apache.cxf.interceptor.Fault: Marshalling Error: Error writing request body to server 
&lt;BR /&gt; at org.apache.cxf.jaxb.JAXBEncoderDecoder.marshall(JAXBEncoderDecoder.java:261) 
&lt;BR /&gt; at org.apache.cxf.jaxb.io.DataWriterImpl.write(DataWriterImpl.java:169) 
&lt;BR /&gt; at org.apache.cxf.interceptor.AbstractOutDatabindingInterceptor.writeParts(AbstractOutDatabindingInterceptor.java:110) 
&lt;BR /&gt; at org.apache.cxf.interceptor.BareOutInterceptor.handleMessage(BareOutInterceptor.java:68) 
&lt;BR /&gt; at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:262) 
&lt;BR /&gt; at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:532) 
&lt;BR /&gt; at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:464) 
&lt;BR /&gt; at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:367) 
&lt;BR /&gt; at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:320) 
&lt;BR /&gt; at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:340) 
&lt;BR /&gt; at org.talend.webservice.helper.ServiceInvokerHelper.invoke(ServiceInvokerHelper.java:196) 
&lt;BR /&gt; at org.talend.webservice.helper.ServiceInvokerHelper.invoke(ServiceInvokerHelper.java:237) 
&lt;BR /&gt; at ....... 
&lt;BR /&gt;please help me..</description>
    <pubDate>Wed, 09 Jan 2013 08:16:25 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-01-09T08:16:25Z</dc:date>
    <item>
      <title>tWebService cannot upload byte array</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tWebService-cannot-upload-byte-array/m-p/2250386#M34646</link>
      <description>Hi Experts, 
&lt;BR /&gt;I am very new to Talend Open studio for Data integration. 
&lt;BR /&gt;I am working on a job that uploads an xml file to my web service (hosted on a different server), 
&lt;BR /&gt;i am reading byte[] from a file that is generated within my job, and passing it to my web service method. 
&lt;BR /&gt;But the component throws following exception.. 
&lt;BR /&gt;Jan 9, 2013 1:22:52 PM org.apache.cxf.phase.PhaseInterceptorChain doDefaultLogging 
&lt;BR /&gt;WARNING: Interceptor for { 
&lt;A href="http://tempuri.org/}WebService#{http://tempuri.org/}ProcessXml" target="_blank" rel="nofollow noopener noreferrer"&gt;http://tempuri.org/}WebService#{http://tempuri.org/}ProcessXml&lt;/A&gt; has thrown exception, unwinding now 
&lt;BR /&gt;org.apache.cxf.interceptor.Fault: Marshalling Error: Error writing request body to server 
&lt;BR /&gt; at org.apache.cxf.jaxb.JAXBEncoderDecoder.marshall(JAXBEncoderDecoder.java:261) 
&lt;BR /&gt; at org.apache.cxf.jaxb.io.DataWriterImpl.write(DataWriterImpl.java:169) 
&lt;BR /&gt; at org.apache.cxf.interceptor.AbstractOutDatabindingInterceptor.writeParts(AbstractOutDatabindingInterceptor.java:110) 
&lt;BR /&gt; at org.apache.cxf.interceptor.BareOutInterceptor.handleMessage(BareOutInterceptor.java:68) 
&lt;BR /&gt; at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:262) 
&lt;BR /&gt; at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:532) 
&lt;BR /&gt; at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:464) 
&lt;BR /&gt; at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:367) 
&lt;BR /&gt; at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:320) 
&lt;BR /&gt; at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:340) 
&lt;BR /&gt; at org.talend.webservice.helper.ServiceInvokerHelper.invoke(ServiceInvokerHelper.java:196) 
&lt;BR /&gt; at org.talend.webservice.helper.ServiceInvokerHelper.invoke(ServiceInvokerHelper.java:237) 
&lt;BR /&gt; at ....... 
&lt;BR /&gt;please help me..</description>
      <pubDate>Wed, 09 Jan 2013 08:16:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tWebService-cannot-upload-byte-array/m-p/2250386#M34646</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-01-09T08:16:25Z</dc:date>
    </item>
    <item>
      <title>Re: tWebService cannot upload byte array</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tWebService-cannot-upload-byte-array/m-p/2250387#M34647</link>
      <description>Hi, 
&lt;BR /&gt;Your description and info is not enough for us. We need more information to see if is it the job configuration or program issue? 
&lt;BR /&gt;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. 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Sabrina</description>
      <pubDate>Wed, 09 Jan 2013 08:42:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tWebService-cannot-upload-byte-array/m-p/2250387#M34647</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-01-09T08:42:37Z</dc:date>
    </item>
    <item>
      <title>Re: tWebService cannot upload byte array</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tWebService-cannot-upload-byte-array/m-p/2250388#M34648</link>
      <description>Hi Sabrina, 
  &lt;BR /&gt;Please find the attached image. 
  &lt;BR /&gt; 
  &lt;BR /&gt;Here is my WSDL (i couldnt attach it as a file except image 
  &lt;BR /&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt; &amp;lt;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="
 &lt;BR /&gt;&lt;BR /&gt;To see the whole post, download it &lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Md9x"&gt;here&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Md9x"&gt;OriginalPost.pdf&lt;/A&gt;</description>
      <pubDate>Wed, 09 Jan 2013 09:35:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tWebService-cannot-upload-byte-array/m-p/2250388#M34648</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-01-09T09:35:35Z</dc:date>
    </item>
    <item>
      <title>Re: tWebService cannot upload byte array</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tWebService-cannot-upload-byte-array/m-p/2250389#M34649</link>
      <description>Hi, 
&lt;BR /&gt;The job is big. You uploaded the wsdl file's contents, but the wsdl file import some other file
&lt;BR /&gt;For example http://TestUploadService/WebService.svc?xsd=xsd0. 
&lt;BR /&gt;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. 
&lt;BR /&gt;Note: My E-mail: xdshi@talend.com 
&lt;BR /&gt;Best regards
&lt;BR /&gt;Sabrina</description>
      <pubDate>Thu, 10 Jan 2013 02:32:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tWebService-cannot-upload-byte-array/m-p/2250389#M34649</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-01-10T02:32:51Z</dc:date>
    </item>
    <item>
      <title>Re: tWebService cannot upload byte array</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tWebService-cannot-upload-byte-array/m-p/2250390#M34650</link>
      <description>I think you need to use base64 encoding.</description>
      <pubDate>Thu, 10 Jan 2013 13:27:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tWebService-cannot-upload-byte-array/m-p/2250390#M34650</guid>
      <dc:creator>janhess</dc:creator>
      <dc:date>2013-01-10T13:27:36Z</dc:date>
    </item>
  </channel>
</rss>

