Dear Willem,
First of all Thanks for reply.
I have done some example using Java DSL.
from("file:d:\\input?noop=true")
.marshal()
.string()
.to("cxf://http://192.168.2.66:8081/buzzor-service/services/ApplicationService?"
+
"wsdlURL=http://192.168.2.66:8081/buzzor-service/services/ApplicationService?wsdl&"
+
"serviceName={http://service.application.buzzor.atpl.com}ApplicationService&"
+
"portName={http://service.application.buzzor.atpl.com}ApplicationServicePortType&"
+
"defaultOperationName=getApplication&"
+
"dataFormat=MESSAGE").process(new Processor() {
@Override
public void process(Exchange arg0)
throws Exception {
InputStream io = (InputStream)
arg0.getIn().getBody();
// char c;
StringBuffer ssf = new
StringBuffer();
BufferedReader reader = new
BufferedReader(
new
InputStreamReader(io, "UTF-8"));
int charT = -1;
while ((charT = reader.read())
!= -1) {
ssf.append((char)
charT);
}
System.out.println(ssf);
}
});
Using this code web service getting called by at server side it will throw
an error.
*Error is org.codehaus.xfire.fault.XFireFault: There must be a method name
element.*
Can you help me to resolve this error.
--
View this message in context:
http://camel.465427.n5.nabble.com/SOAP-Web-service-Calling-using-camel-tp5745180p5745233.html
Sent from the Camel - Users mailing list archive at Nabble.com.