Hi Dan,

I have updated the client configuration file suggested by you, but still its
not timing out to the value what i have specified in the conduit. it is
always timesout to the default value only(i.e 60 secs).

please find the my updated client configuration file.


please let me know if any thing is wrong with the configuration file.

Thanks
Vijay.V

On Mon, Aug 23, 2010 at 7:23 PM, Daniel Kulp <[email protected]> wrote:

>
>
> Couple thoughts:
>
> 1) You aren't setting the wsdlLocation attribute on the JaxWsProxyFactory
> thing so it may be looking for a different endpoint name.    I would
> suggest
> completely filling in the extra details there including the wsdlLocation
> and
> serviceName and endpointName.
>
> Alternatively:
>
> 2) Change the http:conduit name to be a wildcard URL:
>
> <http-conf:conduit name="http://localhost:8080/.*";>
>                <http-conf:client ReceiveTimeout="3000"/>
> </http-conf:conduit>
>
>
> which should catch it as well.
>
> Dan
>
>
> On Monday 23 August 2010 4:29:20 am vijayvaleti wrote:
> > Hi,
> >
> > I am using the following client configuration file for setting the
> receive
> > timeout options on the http-conduit object using a configurations file.
> >
> > http://cxf.547215.n5.nabble.com/file/n2644363/clientConfig.xml
> > clientConfig.xml
> >
> > I am using the following client code.
> > http://cxf.547215.n5.nabble.com/file/n2644363/AuthServiceFactory.java
> > AuthServiceFactory.java
> >
> > her is my wsdl
> > http://cxf.547215.n5.nabble.com/file/n2644363/authorizationService.wsdl
> > authorizationService.wsdl
> >
> > timouts are defaulted to 60 sec always . please let me know if anything
> is
> > wrong in the configurations deatils.
> >
> > i am using apache cxf 2.2.6 and tomcat for this
> >
> > Thanks
> > Vijay.v
>
> --
> Daniel Kulp
> [email protected]
> http://dankulp.com/blog
>



-- 
Regards
V.V.Vijay.Valeti
<beans xmlns="http://www.springframework.org/schema/beans";
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:jaxws="http://cxf.apache.org/jaxws";
	xmlns:jee="http://www.springframework.org/schema/jee"; 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.xsd
http://cxf.apache.org/jaxws 
http://cxf.apache.org/schemas/jaxws.xsd
http://cxf.apache.org/core 
http://cxf.apache.org/schemas/core.xsd 
http://cxf.apache.org/transports/http/configuration 
http://cxf.apache.org/schemas/configuration/http-conf.xsd";>
	
	<http-conf:conduit name="http://localhost:8080/.*";>
		<http-conf:client ReceiveTimeout="3000" />
	</http-conf:conduit>
	
	<bean id="proxyFactory" class="org.apache.cxf.jaxws.JaxWsProxyFactoryBean">
		<property name="serviceClass" value="com.test.AuthorizationService" />
		<property name="address"
			value="http://localhost:8080/CXFSecurity/authorizationService"; />
		<property name="endpointName">
			<bean class="javax.xml.namespace.QName">
				<constructor-arg value="http://test.com/"; />
				<constructor-arg value="AuthorizationServicePort" />
			</bean>
		</property>
		<property name="serviceName">
			<bean class="javax.xml.namespace.QName">
				<constructor-arg value="http://test.com/"; />
				<constructor-arg value="myAuthorization" />
			</bean>
		</property>
		<property name="wsdlLocation" value="authorizationService.wsdl" />
		
		<property name="inInterceptors">
			<list>
				<ref bean="logIn" />
			</list>
		</property>
		<property name="outInterceptors">
			<list>
				<ref bean="logOut" />
			</list>
		</property>
	</bean>
	<bean id="client" class="org.apache.cxf.jaxws.JaxWsProxyFactoryBean"
		factory-bean="proxyFactory" factory-method="create" />
	<bean id="logIn" class="org.apache.cxf.interceptor.LoggingInInterceptor" />
	<bean id="logOut" class="org.apache.cxf.interceptor.LoggingOutInterceptor" />
</beans>

Reply via email to