For the SOAP fault, it looks there are something wrong with the request message.
I guess you put the request into a file, so I want to know how do you generate 
the request?

--  
Willem Jiang

Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com(http://willemjiang.blogspot.com/) 
(English)
http://jnn.iteye.com(http://jnn.javaeye.com/) (Chinese)
Twitter: willemjiang  
Weibo: 姜宁willem



On December 26, 2013 at 4:58:52 PM, viral.patel69 
(viral.pa...@algorhythm.co.in) wrote:
>  
> 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.  
>  

Reply via email to