[
https://issues.apache.org/jira/browse/CXF-1390?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12585312#action_12585312
]
Sayed Ramadan commented on CXF-1390:
------------------------------------
I'm having the same issue mentioned above. I'm getting this "Unsatisfied
dependency expressed through constructor argument".
I'm using CXF 2.04 with Sping 2.5.
My endpoing configuration is very simple as follows:
<bean id="myService" class="com.MyServiceImpl" lazy-init="false">
</bean>
<jaxws:endpoint id="ws" implementor="#myService" address="/ws"
wsdlLocation="mywsdl.wsdl">
</jaxws:endpoint>
If I removed the wsdlLocation attributes, it seems to work fine...However I
need to point to the wsdl location.
> Upgrade to Spring 2.5
> ---------------------
>
> Key: CXF-1390
> URL: https://issues.apache.org/jira/browse/CXF-1390
> Project: CXF
> Issue Type: Bug
> Components: Core
> Affects Versions: 2.0.3
> Reporter: Dan Diephouse
>
> CXF doesn't work correctly on Spring 2.5. For instance, you get this:
> org.springframework.beans.factory.UnsatisfiedDependencyException: Error
> creating bean with name 'jrulesService': Unsatisfied dependency expressed
> through constructor argument with index 2 of type
> [org.apache.cxf.jaxws.JaxWsServerFactoryBean]: Ambiguous constructor argument
> types - did you specify the correct bean references as constructor arguments?
> (What ever happened to the famed backward compatability!? :-) *sigh*)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.