HI ,
I am getting following error in invoking a webservice using
<cxf:cxfEndpoint> in payload format.
*16:51:31,399 | WARN | rkHour_OUTBOUND] | eption_IFOMOPL0037LabourWorkHour
| 142 - org.apache.camel.camel-core - 2.12.0.redhat-610379 |
org.apache.camel.component.bean.AmbiguousMethodCallException: Ambiguous
method invocations possible: [public org.apache.camel.Consumer
org.apache.camel.component.cxf.CxfEndpoint.createConsumer(org.apache.camel.Processor)
throws java.lang.Exception, public void
org.apache.camel.impl.DefaultEndpoint.configureProperties(java.util.Map)].
Exchange[JmsMessage[JmsMessageID:
ID:D-113067803-64783-1423746371546-67:2:6:1:3]]
16:51:31,399 | WARN | XCEPTIONSTRATEGY | ExceptionLogger |
142 - org.apache.camel.camel-core - 2.12.0.redhat-610379 | Exception
received by Exception Handling Module -
Details : org.apache.camel.component.bean.AmbiguousMethodCallException:
Ambiguous method invocations possible: [public org.apache.camel.Consumer
org.apache.camel.component.cxf.CxfEndpoint.createConsumer(org.apache.camel.Processor)
throws java.lang.Exception, public void
org.apache.camel.impl.DefaultEndpoint.configureProperties(java.util.Map)].
Exchange[JmsMessage[JmsMessageID:
ID:D-113067803-64783-1423746371546-67:2:6:1:3]]*
The cxf configuration is
*<cxf:cxfEndpoint id="myWS" address="${EndPointSystemURL}"
wsdlURL="wsdl/SI_ID85_WorkHourConfirmation_Async_OutService.wsdl"
serviceName="ons:SI_ID85_WorkHourConfirmation_Async_OutService"
endpointName="ons:HTTP_Port"
xmlns:ons="urn:outotec:pi:eam:id85:WorkHourConfirmation"
"
>
<cxf:properties>
<entry key="dataFormat" value="PAYLOAD" />
SI_ID85_WorkHourConfirmation_Async_OutService.wsdl
<http://camel.465427.n5.nabble.com/file/n5762691/SI_ID85_WorkHourConfirmation_Async_OutService.wsdl>
<entry key="userName" value="${sapUserID}" />
<entry key="password" value="${sapUserPassword}" />
</cxf:properties>
</cxf:cxfEndpoint>*
PFA for the WSDL
-----
Thanks And regards,
Mahesh
--
View this message in context:
http://camel.465427.n5.nabble.com/Error-in-invoking-webservice-Details-org-apache-camel-component-bean-AmbiguousMethodCallException-Ame-tp5762691.html
Sent from the Camel Development mailing list archive at Nabble.com.