Hi, I tried removing the http conduit and am still getting the same error below: The webservice that we are a client of is a thirdparty webserver which is using .NET.
This configuration works fine in 2.3 using HTTP Conduit and we need to be able to set the proxy when moving to UAT server. Any other ideas? -----Original Message----- From: Willem Jiang [mailto:[email protected]] Sent: Monday, 9 May 2011 11:40 AM To: [email protected] Subject: Re: Errror on upgrade to version 2.4 Hi, Can you remove the this http conudit configure when you run the test with CXF 2.4? BTW, is your WebServices Server started with CXF ? Willem On 5/9/11 8:28 AM, Elias, Sean wrote: > Also there is no proxy required to communicate with the web service, and > this is proven when I switch back to version 2.3 which works. Note we do > have configuration to set a proxy if required using below but host/port > values are empty locally which is were I am testing this, not sure if > 2.4 likes this: > > <http-conf:conduit > name="{http://Think/XmlWebServices/}ThinkSoapPort.http-conduit"> > <http-conf:client AllowChunking="false" > ConnectionTimeout="60000" ReceiveTimeout="6000" > ProxyServer="" ProxyServerPort=""/> > </http-conf:conduit> > > -----Original Message----- > From: Elias, Sean [mailto:[email protected]] > Sent: Monday, 9 May 2011 9:51 AM > To: [email protected] > Subject: Errror on upgrade to version 2.4 > > Hi, > > > I have just upgraded to version from version 2.3.0 to 2.4.0 and am > getting errors when trying to call a target web service defined below > using spring proxy factory bean. Does this configuration no longer work > and if so what do I have to do to fix this?: > > <!-- ws client --> > <bean id="thinkSoapClient" > class="org.springframework.aop.framework.ProxyFactoryBean"> > <property name="proxyInterfaces"> > <list> > > <value>com.thinksubscription.ThinkSoap</value> > </list> > </property> > <property name="target" ref="thinkSoapClientTarget"/> > </bean> > > <jaxws:client id="thinkSoapClientTarget" > serviceClass="com.thinksubscription.ThinkSoap" > address="${think.endpoint.url}"> > <jaxws:inInterceptors> > <bean > class="org.apache.cxf.interceptor.LoggingInInterceptor"/> > </jaxws:inInterceptors> > <jaxws:outInterceptors> > <bean > class="org.apache.cxf.interceptor.LoggingOutInterceptor"/> > </jaxws:outInterceptors> > <jaxws:properties> > </jaxws:properties> > </jaxws:client> > > > Below is the stack trace, any help would be appreciated: > > Caused by: org.apache.cxf.transport.http.HTTPException: HTTP response > '502: Proxy Error ( Connection refused )' when communicating with > http://localhost:9085/soap.slap > at > org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResp > onseInternal(HTTPConduit.java:1502) > at > org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResp > onse(HTTPConduit.java:1448) > at > org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTP > Conduit.java:1356) > at > org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56) > at > org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:614) > at > org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingI > nterceptor.handleMessage(MessageSenderInterceptor.java:62) > at > org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorC > hain.java:263) > at > org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:484) > at > org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:414) > at > org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:317) > at > org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:269) > at > org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73) > at > org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:124) > > > ************************************************************************ > *********************** > This message and its attachments may contain legally privileged or > confidential information. > It is intended solely for the named addressee. If you are not the > addressee indicated in this > message or responsible for delivery of the message to the addressee, you > may not copy or deliver > this message or its attachments to anyone. Rather, you should > permanently delete this message > and its attachments and kindly notify the sender by reply e-mail. Any > content of this message > and its attachments which does not relate to the official business of > the sending company must > be taken not to have been sent or endorsed by that company or any of its > related entities. No > warranty is made that the e-mail or attachments are free from computer > virus or other defect. > ************************************************************************ > *********************** > -- Willem ---------------------------------- FuseSource Web: http://www.fusesource.com Blog: http://willemjiang.blogspot.com (English) http://jnn.javaeye.com (Chinese) Twitter: willemjiang Connect at CamelOne May 24-26 The Open Source Integration Conference http://camelone.com
