You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "jai (JIRA)" <ji...@apache.org> on 2012/08/08 17:06:22 UTC

[jira] [Created] (CXF-4459) i am getting timout error while creating webservice client using jaxWsProxyFactoryBean using spring

jai created CXF-4459:
------------------------

             Summary: i am getting timout error while creating webservice client using jaxWsProxyFactoryBean using spring
                 Key: CXF-4459
                 URL: https://issues.apache.org/jira/browse/CXF-4459
             Project: CXF
          Issue Type: New Feature
          Components: JAX-WS Runtime
    Affects Versions: 2.6.1
         Environment: jdk 1.6, spring 3.0, cxf 2.6

            Reporter: jai


i have intergrated cxf with spring and trying to consume external webservice.
everything works fine i have direct internet access.
but when i try to run using my corporate proxy server which basically authenticated me using domain\userid,password  via proxy.corporate.com i am getting timeout exception while client bean is invoked.

share necessary code.
<http-conf:conduit name="*.http-conduit">
	<http-conf:client ProxyServer="proxy.corporate.com" ProxyServerPort="8080" Connection="Keep-Alive" MaxRetransmits="1"
		AllowChunking="false" />
		
		<http-conf:proxyAuthorization>
			<conf-sec:UserName>dmain\userid</conf-sec:UserName>
			<conf-sec:Password>password</conf-sec:Password>
		</http-conf:proxyAuthorization>
	</http-conf:conduit>
	
	
	<bean id="xxxWsClient" class="com.service.Bean" 
		factory-bean="XXXWsClientclientFactory" factory-method="create" />

	<bean id="XXXWsClientclientFactory" class="com.service.Bean">
		<property name="serviceClass" value="com.genie4me.services.couponservice.CouponServicePortType" />
		<property name="address" value="http://www.xxx.com/services/XXXService?wsdl" />
	</bean>
	
	

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CXF-4459) i am getting timout error while creating webservice client using jaxWsProxyFactoryBean using spring

Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-4459?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13431507#comment-13431507 ] 

Freeman Fang commented on CXF-4459:
-----------------------------------

Hi,

You really should post this kind question on CXF users mailling list first but not create a jira directly.

Freeman
                
> i am getting timout error while creating webservice client using jaxWsProxyFactoryBean using spring
> ---------------------------------------------------------------------------------------------------
>
>                 Key: CXF-4459
>                 URL: https://issues.apache.org/jira/browse/CXF-4459
>             Project: CXF
>          Issue Type: New Feature
>          Components: JAX-WS Runtime
>    Affects Versions: 2.6.1
>         Environment: jdk 1.6, spring 3.0, cxf 2.6
>            Reporter: jai
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> i have intergrated cxf with spring and trying to consume external webservice.
> everything works fine i have direct internet access.
> but when i try to run using my corporate proxy server which basically authenticated me using domain\userid,password  via proxy.corporate.com i am getting timeout exception while client bean is invoked.
> share necessary code.
> <http-conf:conduit name="*.http-conduit">
> 	<http-conf:client ProxyServer="proxy.corporate.com" ProxyServerPort="8080" Connection="Keep-Alive" MaxRetransmits="1"
> 		AllowChunking="false" />
> 		
> 		<http-conf:proxyAuthorization>
> 			<conf-sec:UserName>dmain\userid</conf-sec:UserName>
> 			<conf-sec:Password>password</conf-sec:Password>
> 		</http-conf:proxyAuthorization>
> 	</http-conf:conduit>
> 	
> 	
> 	<bean id="xxxWsClient" class="com.service.Bean" 
> 		factory-bean="XXXWsClientclientFactory" factory-method="create" />
> 	<bean id="XXXWsClientclientFactory" class="com.service.Bean">
> 		<property name="serviceClass" value="com.genie4me.services.couponservice.CouponServicePortType" />
> 		<property name="address" value="http://www.xxx.com/services/XXXService?wsdl" />
> 	</bean>
> 	
> 	

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira