You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2009/12/10 19:32:18 UTC
[jira] Commented: (CXF-2575) Not able to configure connection and
receive timeouts through http-conf:conduit in spring beans
[ https://issues.apache.org/jira/browse/CXF-2575?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12788821#action_12788821 ]
Daniel Kulp commented on CXF-2575:
----------------------------------
The jaxws:client thing in the beans.xml is not specifying a wsdlLocation. Thus, it's likely using a default mapping for the port name. Probably something like:
ManageProductAvailabilitySyncPortTypePort or ManageProductAvailabilitySyncPortTypeImplPort.
You have a couple options:
1) Configure based on URL:
<http-conf:conduit name="http://localhost:8080/.*">
....
(it's a regex match on the name) You can have different configs for different URL's if you want.
2) Configure the jaxws:client to have the proper wsdlLocation and serviceName/endpointName attributes so that it can be matched with the appropriate named conduit.
> Not able to configure connection and receive timeouts through http-conf:conduit in spring beans
> -----------------------------------------------------------------------------------------------
>
> Key: CXF-2575
> URL: https://issues.apache.org/jira/browse/CXF-2575
> Project: CXF
> Issue Type: Bug
> Affects Versions: 2.2
> Reporter: ankur sarkar
> Fix For: Invalid
>
> Attachments: ManageCustomer.20080728.wsdl, ManageProductAvailability.wsdl, mcso-mpacopalws-spring-beans.xml
>
>
> I am using a spring based application to consume multiple services through cxf 2.2. I have configured the connection timeout and receive timeouts in spring beans through the http-conf:conduit. Now when I am doing this by using the wild card i.e.
> <http-conf:conduit name="*.http-conduit">
> <http-conf:client ConnectionTimeout="180000" ReceiveTimeout="180000"/>
> </http-conf:conduit>
> then both connection and receive timeouts are working fine but whenever we use the targetnamespace and the portname the timeouts are not working.
> <http-conf:conduit name="{http://capabilities.nat.bt.com/wsdl/ManageProductAvailability/2007/04/30}ManageProductAvailabilitySyncPort.http-conduit">
> <http-conf:client ConnectionTimeout="180000" ReceiveTimeout="180000"/>
> </http-conf:conduit>
> Attached herewith are the springbeans and wsdls for your reference
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.