You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Christoph Petersen <li...@peterschen.de> on 2008/11/12 16:15:26 UTC
http:conduit Proxy
Hi guys,
I'm currently trying to access a remote webservice through the company
firewall. For that I created a cxf.xml:
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:cxf="http://cxf.apache.org/core"
xmlns:sec="http://cxf.apache.org/configuration/security"
xmlns:http-conf="http://cxf.apache.org/transports/http/configuration"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd
http://cxf.apache.org/configuration/security
http://cxf.apache.org/schemas/configuration/security.xsd
http://cxf.apache.org/transports/http/configuration
http://cxf.apache.org/schemas/configuration/http-conf.xsd">
<bean id="logInbound"
class="org.apache.cxf.interceptor.LoggingInInterceptor"/>
<bean id="logOutbound"
class="org.apache.cxf.interceptor.LoggingOutInterceptor"/>
<http-conf:conduit name="{http://api.zyb.com}ZybService.http-conduit">
<http-conf:authorization>
<sec:UserName>Betty</sec:UserName>
<sec:Password>password</sec:Password>
</http-conf:authorization>
<http-conf:client
Connection="Keep-Alive"
AllowChunking="false"
ProxyServer="localhost"
ProxyServerPort="8080"
ProxyServerType="HTTP" />
</http-conf:conduit>
</beans>
My problem is that it seems that my settings are not honored at all as
nothing works. When I change the proxy settings to a local server for
which I can access the access.log/error.log even there is no indication
of an access at all.
Can you point me in the right direction?
Thanks in advance.
BR
Christoph
Re: http:conduit Proxy
Posted by Christoph Petersen <li...@peterschen.de>.
Hi guys,
don't know what happend. I just tried again and now it's working
miraculously.
BR
Christoph
Christoph Petersen wrote:
> Hi guys,
>
> I'm currently trying to access a remote webservice through the company
> firewall. For that I created a cxf.xml:
>
> <beans xmlns="http://www.springframework.org/schema/beans"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:cxf="http://cxf.apache.org/core"
> xmlns:sec="http://cxf.apache.org/configuration/security"
> xmlns:http-conf="http://cxf.apache.org/transports/http/configuration"
> xsi:schemaLocation="
> http://www.springframework.org/schema/beans
> http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
> http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd
> http://cxf.apache.org/configuration/security
> http://cxf.apache.org/schemas/configuration/security.xsd
> http://cxf.apache.org/transports/http/configuration
> http://cxf.apache.org/schemas/configuration/http-conf.xsd">
>
> <bean id="logInbound"
> class="org.apache.cxf.interceptor.LoggingInInterceptor"/>
> <bean id="logOutbound"
> class="org.apache.cxf.interceptor.LoggingOutInterceptor"/>
>
> <http-conf:conduit name="{http://api.zyb.com}ZybService.http-conduit">
> <http-conf:authorization>
> <sec:UserName>Betty</sec:UserName>
> <sec:Password>password</sec:Password>
> </http-conf:authorization>
>
> <http-conf:client
> Connection="Keep-Alive"
> AllowChunking="false"
> ProxyServer="localhost"
> ProxyServerPort="8080"
> ProxyServerType="HTTP" />
> </http-conf:conduit>
> </beans>
>
> My problem is that it seems that my settings are not honored at all as
> nothing works. When I change the proxy settings to a local server for
> which I can access the access.log/error.log even there is no indication
> of an access at all.
>
> Can you point me in the right direction?
>
> Thanks in advance.
>
> BR
> Christoph
Re: http:conduit Proxy
Posted by Christoph Petersen <li...@peterschen.de>.
Christoph Petersen wrote:
> Hi guys,
>
> I'm currently trying to access a remote webservice through the company
> firewall. For that I created a cxf.xml:
>
> [...]
>
> <http-conf:authorization>
> <sec:UserName>Betty</sec:UserName>
> <sec:Password>password</sec:Password>
> </http-conf:authorization>
This was only inserted for testing to see if this changes the error at
all... But also without this it's not working.
>
> [...]
>
> </beans>
>
> My problem is that it seems that my settings are not honored at all as
> nothing works. When I change the proxy settings to a local server for
> which I can access the access.log/error.log even there is no indication
> of an access at all.
>
> Can you point me in the right direction?
>
> Thanks in advance.
>
> BR
> Christoph
BR
Christoph