hi the community
i want to use camel for routing cxf webservices but i am facing to some
problems i don t understand
here is my xml
<jaxws:client id="WS-CLIENT"
address="http://p-socle-as1:9008/wsp/services/wsprovider-1.0"
serviceClass="com.wsp.service.WsProvider" />
<cxf:cxfEndpoint id=WS-PROVIDER"
address="/wsprovider-2.0"
endpointName="s:WSProviderPort"
serviceName="s:SProviderService"
wsdlURL="classpath:north/wsdl/wsprovider.wsdl"
serviceClass="com.wsprovider.service.WsProvider"
xmlns:s="http://www.orange.com/wsp/Interfaces/WsPRovider/v1">
</cxf:cxfEndpoint>
<camelContext trace="true"
xmlns="http://camel.apache.org/schema/spring"
useMDCLogging="true">
<route>
<from uri="cxf:bean:WS-PROVIDER?dataFormat=PAYLOAD" />
<to uri="bean:WS-CLIENT" />
</route>
</camelContext>
my WsProvider has 2 mehtods with differents arguments types.
my issue is if i mention dataFormat as MESSAGE i have the message "Ambiguous
method invocations possible" if i set as PAYLOAD (wich is what i want) i
have :
"No type converter available to convert from type:
org.apache.camel.component.cxf.CxfPayload to the required type:"
i must do or miss a stupid thing but i don t see it
many thx
Regards
Bruno
--
View this message in context:
http://camel.465427.n5.nabble.com/routing-cxf-web-service-proxy-getting-crazy-tp5743808.html
Sent from the Camel - Users mailing list archive at Nabble.com.