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.
***********************************************************************************************

Reply via email to