Amarkanth Ranganamayna [https://community.jboss.org/people/amarkanth84] created the discussion
"Disable chunked encoding (JBoss AS7)" To view the discussion, visit: https://community.jboss.org/message/741101#741101 -------------------------------------------------------------- Hello, I am getting the following error when i try to POST data to a webservice which doesn't support "CHUNKED" encoding. Previously (i.e. in Jboss 4.3), i was able to turn off the CHUNKED encoding by setting the following configuration in "*jboss-as/server/default/deploy/jbossws.sar/META-INF/standard-jaxws-client-config.xml"* <client-config> <config-name>Standard Client</config-name> <feature>http://org.jboss.ws/dispatch/validate</feature> (http://org.jboss.ws/dispatch/validate%3C/feature%3E) <property> <property-name>http://org.jboss.ws/http#chunksize</property-name> (http://org.jboss.ws/http#chunksize%3C/property-name%3E) * <property-value>0</property-value>* </property> </client-config> HOW CAN I DO THIS IN JBOSS-AS7.1 ? I don't see "*jboss-as/server/default/deploy/jbossws.sar/META-INF/standard-jaxws-client-config.xml"* anymore in AS7. Any help is much appreciated! The exact error that i'm running into is ========================================================================================== 22:43:30,391 WARNING [org.apache.cxf.phase.PhaseInterceptorChain] (scheduler_Worker-3) Interceptor for {http://services.xyz.com/}OrderServcice#{http://services.xyz.com/}processOrder (http://services.ordermgmt.webex.com/%7DOrderMgmtWebService#%7Bhttp://services.ordermgmt.webex.com/%7DprocessOrder) has thrown exception, unwinding now: org.apache.cxf.interceptor.Fault: Could not send Message. at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:64) at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263) at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:531) at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:461) at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:364) at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:317) at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:88) at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:134) ....... ....... Caused by: org.apache.cxf.transport.http.HTTPException: HTTP response '411: Length Required' when communicating with https://services.xyz.com/OrderService (https://global-apollosoauat.webex.com/OrderMgmtWebV2/OrderMgmtWebService) at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1554) at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1493) at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1401) at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56) at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:648) at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62) ========================================================================================== Thanks, Amar -------------------------------------------------------------- Reply to this message by going to Community [https://community.jboss.org/message/741101#741101] Start a new discussion in JBoss Web Services at Community [https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2044]
_______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
