Do you only see the error when SSL is used? If so could you create a new JIRA for this problem?
Colm. On Wed, Jan 18, 2017 at 3:19 PM, Bilgehan Maraş <[email protected]> wrote: > Hi, > > I am trying to consume a ws-trust enabled webservice through proxy server. > The service is served over https > > In my client configuration i have > > > <jaxws:client name="***" createdFromAPI="true"> > <jaxws:properties> > <entry key="ws-security.sts.client"> > <bean class="org.apache.cxf.ws.security.trust.STSClient"> > <constructor-arg ref="cxf"/> > <property name="wsdlLocation" value="***"/> > <property name="serviceName" value="***/> > <property name="endpointName" value="***"/> > </bean> > </entry> > </jaxws:properties> > </jaxws:client> > > <http-conf:conduit name="*.http-conduit"> > <http-conf:client ProxyServer="***" ProxyServerPort="3128" /> > <http-conf:proxyAuthorization> > <conf-sec:UserName>***</conf-sec:UserName> > <conf-sec:Password>***</conf-sec:Password> > </http-conf:proxyAuthorization> > </http-conf:conduit> > > > I get the following error. There is a similar bug report ( > https://issues.apache.org/jira/browse/CXF-2223 ) but it is marked at > resolved at 2.1.9. My cxf version is 3.0.3 > > Unable to tunnel through proxy. Proxy returns "HTTP/1.0 407 Proxy > Authentication Required" > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > Method) > at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown > Source) > at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown > Source) > at java.lang.reflect.Constructor.newInstance(Unknown Source) > at > org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream. > mapException(HTTPConduit.java:1359) > at > org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close( > HTTPConduit.java:1343) > at > org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56) > at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit. > java:638) > at > org.apache.cxf.interceptor.MessageSenderInterceptor$ > MessageSenderEndingInterceptor.handleMessage( > MessageSenderInterceptor.java:62) > > Any help is appreciated > > Regards, > Bilgehan > -- Colm O hEigeartaigh Talend Community Coder http://coders.talend.com
