HI Martin,

Mail to Axis user group bounced. I am sending this mail directly to you, as
I am desperate to get resolution for this issue.

Thanks & Regards
Siva


On 8/28/08, SivaKrishna Kumar <[EMAIL PROTECTED]> wrote:
>
> Hi Martin,
>
> Thank you very much for the reply. Evenafter setting these, I am still
> seeing the same error.
>
> I am herewith attaching my axis2.xml. Can you please check the same. I am
> not able to understand,
>
>
>    1. Is it because of some configuration issue that I am seeing this
>    error ? or
>    2. Am I doing something wrong while converting my normal SOAP
>    message/headers to SOAP message/headers for MTOM
>    3. Or am I missing something that I need to send as a header along http
>    request ?
>
>
> Regards,
> Siva
>
>
>
>  On 8/28/08, Martin Gainty <[EMAIL PROTECTED]> wrote:
>>
>> in /WEB-INF/conf/axis2.xml
>> Sender and Receiver check the 1.1 protocol and chunked encoding parms are set
>> <transportSender ... >
>>         <parameter name="PROTOCOL" locked="false">HTTP/1.1</parameter>
>>
>>         <parameter name="Transfer-Encoding" 
>> locked="false">chunked</parameter>
>>
>> <transportReceiver ...>
>>         <parameter name="PROTOCOL" locked="false">HTTP/1.1</parameter>
>>         <parameter name="Transfer-Encoding"
>> locked="false">chunked</parameter>
>>
>>
>> Martin
>> ______________________________________________
>> Disclaimer and confidentiality note
>> Everything in this e-mail and any attachments relates to the official
>> business of Sender. This transmission is of a confidential nature and Sender
>> does not endorse distribution to any party other than intended recipient.
>> Sender does not necessarily endorse content contained within this
>> transmission.
>>
>>
>> ------------------------------
>> Date: Wed, 27 Aug 2008 23:23:51 +0530
>> From: [EMAIL PROTECTED]
>> To: [email protected]
>> Subject: [Axis2]
>>
>> Hi,
>>
>> I am trying to add MTOM support to ZSI. When I send a request which is
>> processed for MTOM, on the server side I am getting the below error.
>>
>>
>> org.apache.http.MalformedChunkCodingException: Bad chunk header
>>         at
>> org.apache.http.impl.io.ChunkedInputStream.getChunkSize(ChunkedInputStream.java:232)
>>         at
>> org.apache.http.impl.io.ChunkedInputStream.nextChunk(ChunkedInputStream.java:183)
>>         at
>> org.apache.http.impl.io.ChunkedInputStream.read(ChunkedInputStream.java:155)
>>         at
>> org.apache.http.impl.io.ChunkedInputStream.read(ChunkedInputStream.java:175)
>>         at
>> org.apache.http.impl.io.ChunkedInputStream.exhaustInputStream(ChunkedInputStream.java:289)
>>         at
>> org.apache.http.impl.io.ChunkedInputStream.close(ChunkedInputStream.java:262)
>>         at
>> org.apache.axis2.transport.http.server.AxisHttpService.handleRequest(AxisHttpService.java:192)
>>         at
>> org.apache.axis2.transport.http.server.HttpServiceProcessor.run(HttpServiceProcessor.java:82)
>>         at
>> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1061)
>>         at
>> edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:575)
>>         at java.lang.Thread.run(Thread.java:619)
>>
>> On the client side I am getting the below SOAP fault
>>
>> invalid literal for int() with base 16: ''
>>
>> Here are my headers and body sent to Axis's MTOM Sample Service.
>>
>> Can some one point me where is the problem. ?
>>
>> Thanks & Regards
>> Siva
>>
>> [mtom:apply_mtom]: mtomheaders:
>> {'SOAPAction': '"attachment"', 'Content-Type': 'multipart/related;
>> boundary="==ZSI_MIME_BOUNDARY=="; start-info="text/xml";
>> start="<soaplibEnvelope>"'}
>> [mtom:apply_mtom]: mtombody:
>> --==ZSI_MIME_BOUNDARY==
>> Content-Transfer-Encoding: binary
>> Content-ID: <soaplibEnvelope>
>> Content-Type: text/xml; charset=utf-8
>>
>> <ns0:Envelope 
>> xmlns:ns0="http://schemas.xmlsoap.org/soap/envelope/";><ns0:Header
>> /><ns0:Body><ns1:AttachmentRequest xmlns:ns1="
>> http://ws.apache.org/axis2/mtom
>> sample/"><ns1:fileName>c:\Sample_mtom.zip</ns1:fileName><ns1:binaryData><ns2:Include
>> href="cid:ZSIAttachment_1" xmlns:ns2="http://www.w3.org/2004/08/xop/incl
>> ude" /></ns1:binaryData></ns1:AttachmentRequest></ns0:Body></ns0:Envelope>
>> --==ZSI_MIME_BOUNDARY==
>> Content-Type: application/octet-stream
>> Content-Transfer-Encoding: binary
>> Content-ID: <ZSIAttachment_1>
>>
>> ìë7í"3?9?»ñ(?┘►S‼K3É3 PK☺☻¶ ¶  ⌡h←93▬Wçh   ╚   ←       ☺   ╢ü
>> Sample_txt_mtom_clieent.txtPK♣♠    ☺ ☺ I   í
>> --==ZSI_MIME_BOUNDARY==--
>>
>>
>> ------------------------------
>> Talk to your Yahoo! Friends via Windows Live Messenger. Find Out 
>> How<http://www.windowslive.com/explore/messenger?ocid=TXT_TAGLM_WL_messenger_yahoo_082008>
>>
>
>
>

Reply via email to