Using Camel-CXF 2.16.1
It looks Endpoint configuration taken care of configuring the operation and
operation Name space we need to call. Somehow that is not working.
My xml throws the error “org.xml.sax.SAXParseException; lineNumber: 46;
columnNumber: 61; cvc-complex-type.3.2.2: Attribute 'defaultOperationName'
is not allowed to appear in element
'cxf:cxfEndpoint'.:org.xml.sax.SAXParseException:cvc-complex-type.3.2.2:
Attribute
'defaultOperationName' is not allowed to appear in element
'cxf:cxfEndpoint'.” While deployment.
End point configuration during the above error is
<cxf:cxfEndpoint id="logger"
address="http://localhost:7001/MTILogger/webservices/logger"
endpointName="s:LoggerEndpoint"
serviceName="s:LoggerEndpointService"
wsdlURL="http://localhost:7001/MTILogger/webservices/logger?wsdl"
serviceClass="com.adp.taxmod.logger.LoggerEndpoint"
xmlns:s="http://logger.taxmod.adp.com"
defaultOperationName="Logger"
defaultOperationNamespace="http://logger.taxmod.adp.com"/>
I know, there is a work around using CXFConstants, But we wanted to be part
of the configuration.
Thanks,
--
View this message in context:
http://camel.465427.n5.nabble.com/How-Do-We-Specify-Operation-To-Choose-In-Camel-CXf-tp474620p5778755.html
Sent from the Camel - Users mailing list archive at Nabble.com.