This should all be fixed with 2.1.2 (hoping to do release builds today).
We've removed most of the @Resource annotations that really aren't needed.
Dan
On Monday 11 August 2008 5:47:52 am [EMAIL PROTECTED]
wrote:
> Thanks Ian, going to try. My workaround was to call after startup, before
> creating first client:
>
> org.springframework.context.annotation.CommonAnnotationBeanPostProcessor
> c =
> ((org.springframework.context.annotation.CommonAnnotationBeanPostProcessor)
> applicationContext.getBean(
> "org.springframework.context.annotation.CommonAnnotationBeanPostProcessor"
> ));
> c.ignoreResourceType("org.apache.cxf.transport.http.HTTPConduit");
> c.ignoreResourceType(
> "org.apache.cxf.configuration.security.AuthorizationPolicy");
> c.ignoreResourceType(
> "org.apache.cxf.transports.http.configuration.HTTPClientPolicy");
> c.ignoreResourceType(
> "org.apache.cxf.configuration.security.ProxyAuthorizationPolicy");
> c.ignoreResourceType(
> "org.apache.cxf.configuration.jsse.TLSClientParameters");
> c.ignoreResourceType(
> "org.apache.cxf.transport.http.MessageTrustDecider");
> c.ignoreResourceType(
> "org.apache.cxf.transport.http.HttpBasicAuthSupplier");
>
> best regards
> jano
>
>
>
>
> Ian Roberts <[EMAIL PROTECTED]>
> 08/08/2008 14:24
> Bitte antworten an
> [email protected]
>
>
> An
> [email protected]
> Kopie
>
> Thema
> Re: http-conf:conduit problem - [Virus checked]
>
> [EMAIL PROTECTED] wrote:
> > how can i modify this code to disable http chunking if required?
>
> After the "T port = (T) factory.create();", you can do
>
> Client client = ClientProxy.getClient(port);
> Conduit conduit = client.getConduit();
> if(conduit instanceof HTTPConduit) {
> HTTPClientPolicy policy = ((HTTPConduit)conduit).getClient();
> if(policy == null) {
> policy = new HTTPClientPolicy();
> ((HTTPConduit)conduit).setClient(policy);
> }
>
> // disable chunking
> policy.setAllowChunking(false);
> }
>
> Ian
--
Daniel Kulp
[EMAIL PROTECTED]
http://www.dankulp.com/blog