Join the Community, and create a free account!

Welcome, Guest
Guest Settings
Help

Home » Mulesoft » MuleSoft Products » Mule User

Thread: [mule-user] Chunking error in CXF Outbound call


Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 4 - Last Post: Jun 4, 2009 6:33 AM Last Post By: D Henton
umesh kn

Posts: 12
Registered: 03/21/09
[mule-user] Chunking error in CXF Outbound call
Posted: Jun 1, 2009 10:50 PM
   thread.click_reply Reply

Hi,

i am trying to invoke an outbound service using CXF. When i am calling my
outbound , am getting
HTTP/1.0 does not support chunk encoding
(org.apache.commons.httpclient.ProtocolException)
Exception stack is:
1. HTTP/1.0 does not support chunk encoding
(org.apache.commons.httpclient.ProtocolException)
org.apache.commons.httpclient.methods.EntityEnclosingMethod:411 (null)

Below is my Outbound code ...

<cxf:outbound-endpoint address="https://user:pass at staging dot com:443/myURL"
proxy="true" synchronous="true" transformer-refs="AddSoapAction">

</cxf:outbound-endpoint>

<message-properties-transformer name="AddSoapAction">
<add-message-property key="soapAction" valueMySoapAction" />

</message-properties-transformer>

Let me know how i can avoid the chuunking error.

regards,
umesh

View this message in context: http://www.nabble.com/Chunking-error-in-CXF-Outbound-call-tp23826857p23826857.html
Sent from the Mule - User mailing list archive at Nabble.com.


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email
Antoine Borg

Posts: 407
Registered: 11/29/07
Re: [mule-user] Chunking error in CXF Outbound call
Posted: Jun 2, 2009 1:08 AM    global.in_response_to.tooltip in response to: umesh kn
   thread.click_reply Reply
What router are you using?

A

umeshkn wrote:
Hi,

i am trying to invoke an outbound service using CXF. When i am calling my
outbound , am getting
HTTP/1.0 does not support chunk encoding
(org.apache.commons.httpclient.ProtocolException)
Exception stack is:
1. HTTP/1.0 does not support chunk encoding
(org.apache.commons.httpclient.ProtocolException)
org.apache.commons.httpclient.methods.EntityEnclosingMethod:411 (null)

Below is my Outbound code ...

<cxf:outbound-endpoint address="https://user:pass at staging dot com:443/myURL"
proxy="true" synchronous="true" transformer-refs="AddSoapAction">

</cxf:outbound-endpoint>

<message-properties-transformer name="AddSoapAction">
<add-message-property key="soapAction" valueMySoapAction" />

</message-properties-transformer>

Let me know how i can avoid the chuunking error.

regards,
umesh


Antoine Borg, Senior Consultant | Tel: +32 28 504 696
ricston Ltd., BP 2, 1180 Uccle, Brussels, BELGIUM

See our full schedule of Mule and Android courses:
http://www.ricston.com/courses/schedules/

email: _antoine dot borg_ at ricston dot com <mailto:antoine dot borg at ricston dot com> |
blog: blog.ricston.com <http://blog.ricston.com> | web: ricston.com
<http://www.ricston.com/>
To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email
umesh kn

Posts: 12
Registered: 03/21/09
Re: [mule-user] Chunking error in CXF Outbound call
Posted: Jun 2, 2009 2:55 AM    global.in_response_to.tooltip in response to: Antoine Borg
   thread.click_reply Reply

I am using pass-through-router

-umesh


antoine.borg wrote:


What router are you using?

A

umeshkn wrote:

Hi,

i am trying to invoke an outbound service using CXF. When i am calling my
outbound , am getting
HTTP/1.0 does not support chunk encoding
(org.apache.commons.httpclient.ProtocolException)
Exception stack is:
1. HTTP/1.0 does not support chunk encoding
(org.apache.commons.httpclient.ProtocolException)
org.apache.commons.httpclient.methods.EntityEnclosingMethod:411 (null)

Below is my Outbound code ...

<cxf:outbound-endpoint address="https://user:pass at staging dot com:443/myURL"
proxy="true" synchronous="true"
transformer-refs="AddSoapAction">

</cxf:outbound-endpoint>

<message-properties-transformer name="AddSoapAction">
<add-message-property key="soapAction" valueMySoapAction" />

</message-properties-transformer>

Let me know how i can avoid the chuunking error.

regards,
umesh

Antoine Borg, Senior Consultant | Tel: +32 28 504 696
ricston Ltd., BP 2, 1180 Uccle, Brussels, BELGIUM

See our full schedule of Mule and Android courses:
http://www.ricston.com/courses/schedules/

email: _antoine dot borg_ at ricston dot com <mailto:antoine dot borg at ricston dot com> |
blog: blog.ricston.com <http://blog.ricston.com> | web: ricston.com
<http://www.ricston.com/>


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email


View this message in context: http://www.nabble.com/Chunking-error-in-CXF-Outbound-call-tp23826857p23828379.html
Sent from the Mule - User mailing list archive at Nabble.com.


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email
Antoine Borg

Posts: 407
Registered: 11/29/07
Re: [mule-user] Chunking error in CXF Outbound call
Posted: Jun 3, 2009 12:23 AM    global.in_response_to.tooltip in response to: umesh kn
   thread.click_reply Reply
A quick Google search suggests that this only turns up with Axis which
is unusual.

However, going by this post:
http://www.mail-archive.com/axis-user at ws dot apache dot org/msg41510.html
chunking is disabled by configuring the Axis server. Perhaps there is
something similar for the CXF connector in Mule

A

umeshkn wrote:
I am using pass-through-router

-umesh

antoine.borg wrote:

What router are you using?

A

umeshkn wrote:

Hi,

i am trying to invoke an outbound service using CXF. When i am calling my
outbound , am getting
HTTP/1.0 does not support chunk encoding
(org.apache.commons.httpclient.ProtocolException)
Exception stack is:
1. HTTP/1.0 does not support chunk encoding
(org.apache.commons.httpclient.ProtocolException)
org.apache.commons.httpclient.methods.EntityEnclosingMethod:411 (null)

Below is my Outbound code ...

<cxf:outbound-endpoint address="https://user:pass at staging dot com:443/myURL"
proxy="true" synchronous="true"
transformer-refs="AddSoapAction">

</cxf:outbound-endpoint>

<message-properties-transformer name="AddSoapAction">
<add-message-property key="soapAction" valueMySoapAction" />

</message-properties-transformer>

Let me know how i can avoid the chuunking error.

regards,
umesh

Antoine Borg, Senior Consultant | Tel: +32 28 504 696
ricston Ltd., BP 2, 1180 Uccle, Brussels, BELGIUM

See our full schedule of Mule and Android courses:
http://www.ricston.com/courses/schedules/

email: _antoine dot borg_ at ricston dot com <mailto:antoine dot borg at ricston dot com> |
blog: blog.ricston.com <http://blog.ricston.com> | web: ricston.com
<http://www.ricston.com/>


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email


Antoine Borg, Senior Consultant | Tel: +32 28 504 696
ricston Ltd., BP 2, 1180 Uccle, Brussels, BELGIUM

See our full schedule of Mule and Android courses:
http://www.ricston.com/courses/schedules/

email: _antoine dot borg_ at ricston dot com <mailto:antoine dot borg at ricston dot com> |
blog: blog.ricston.com <http://blog.ricston.com> | web: ricston.com
<http://www.ricston.com/>
To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email
D Henton

Posts: 19
Registered: 03/21/09
Re: [mule-user] Chunking error in CXF Outbound call
Posted: Jun 4, 2009 6:33 AM    global.in_response_to.tooltip in response to: umesh kn
   thread.click_reply Reply

I just went through this and had to switch to axis, cxf chunks by default and
the service I was trying to reach (paypal) doesn't support it. I tried
switching to axis, got it to talk successfully to paypal, but then ran into
deserialization problems because axis didn't support the wsdl correctly. If
you luck out and don't have the deserialization problem, axis should work.

Cxf does not support turning off chunking in mule, at least not that I got
to work, if you go to the cxf site and read about the cxf.xml config file,
you can find stuff on turning off chunking there, but I had no luck with it
(that doesn't really mean anything).

I'm currently looking at posting the soap xml directly via https, and
handling the serialization and deserializatinon myself.
View this message in context: http://www.nabble.com/Chunking-error-in-CXF-Outbound-call-tp23826857p23870068.html
Sent from the Mule - User mailing list archive at Nabble.com.


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email
Legend
Helpful Answer
Correct Answer




HOME  |   LEGAL  |   PRIVACY  |   CONTACT US: +1-877-MULE-OSS

All content Copyright © 2006-2010, MuleSource Inc. All rights reserved.
Mule, MuleForge, and MuleSource are registered trademarks of MuleSource Inc.