Return-Path: X-Original-To: apmail-camel-users-archive@www.apache.org Delivered-To: apmail-camel-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D5FF110346 for ; Thu, 26 Dec 2013 09:06:20 +0000 (UTC) Received: (qmail 83195 invoked by uid 500); 26 Dec 2013 09:06:17 -0000 Delivered-To: apmail-camel-users-archive@camel.apache.org Received: (qmail 83142 invoked by uid 500); 26 Dec 2013 09:06:08 -0000 Mailing-List: contact users-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@camel.apache.org Delivered-To: mailing list users@camel.apache.org Received: (qmail 82640 invoked by uid 99); 26 Dec 2013 09:06:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Dec 2013 09:06:03 +0000 X-ASF-Spam-Status: No, hits=0.6 required=5.0 tests=NORMAL_HTTP_TO_IP,RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of willem.jiang@gmail.com designates 209.85.160.52 as permitted sender) Received: from [209.85.160.52] (HELO mail-pb0-f52.google.com) (209.85.160.52) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Dec 2013 09:05:59 +0000 Received: by mail-pb0-f52.google.com with SMTP id uo5so7991492pbc.25 for ; Thu, 26 Dec 2013 01:05:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :content-type:content-transfer-encoding:content-disposition; bh=+LkfDfKdqA2Feu5vUjpCCd/nollV9utKj4Dc1q/uXpg=; b=wR632fLA1YA+EMNvLAIuT4ZPiRDiPYXVfwR5jUS6Peop7mBlXbcV6tK2Z5LX5jpExL fmqY2L6+VB59xQfB+Q32eSmqg4hOJzzmDRK4reFP759ZsmSje6lohlu5saTME4TE2QQO Zg10HR9UoSaRtVmKf7OxS8tHiUcyZIuXV/f1VhwXULoKu4HHJ7fxN0h2901tMGUvHXwb hTc9v+NOnVtgiEJaki6uGZt3u2WBuxWddVfTOwySWbxBY3Kihx0njZ540yaGlaAGJsj/ ue82GIBPhgljh2YNelqwsUA1Wlqg/GX/mCgubItTYBxqXSwurTwrlRuzvDKu3MQQ/4s0 RLZA== X-Received: by 10.68.108.194 with SMTP id hm2mr43336959pbb.22.1388048738892; Thu, 26 Dec 2013 01:05:38 -0800 (PST) Received: from localhost ([111.193.232.137]) by mx.google.com with ESMTPSA id i10sm70127428pat.11.2013.12.26.01.05.36 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 26 Dec 2013 01:05:37 -0800 (PST) Date: Thu, 26 Dec 2013 17:05:30 +0800 From: Willem Jiang To: users@camel.apache.org Message-ID: In-Reply-To: <1388048180275-5745233.post@n5.nabble.com> References: <1387783235323-5745180.post@n5.nabble.com> <1388048180275-5745233.post@n5.nabble.com> Subject: Re: SOAP Web service Calling using camel. X-Mailer: Airmail (223) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org =46or 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 gen= erate the request=3F -- =20 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 =20 Weibo: =E5=A7=9C=E5=AE=81willem On December 26, 2013 at 4:58:52 PM, viral.patel69 (viral.patel=40algorhyt= hm.co.in) wrote: > =20 > Dear Willem, > =20 > =46irst of all Thanks for reply. > =20 > I have done some example using Java DSL. > =20 > from(=22file:d:=5C=5Cinput=3Fnoop=3Dtrue=22) > .marshal() > .string() > =20 > .to(=22cxf://http://192.168.2.66:8081/buzzor-service/services/Applicati= onService=3F=22 =20 > + > =22wsdlURL=3Dhttp://192.168.2.66:8081/buzzor-service/services/Applicati= onService=3Fwsdl&=22 =20 > + > =22serviceName=3D=7Bhttp://service.application.buzzor.atpl.com=7DApplic= ationService&=22 =20 > + > =22portName=3D=7Bhttp://service.application.buzzor.atpl.com=7DApplicati= onServicePortType&=22 =20 > + =22defaultOperationName=3DgetApplication&=22 > + =22data=46ormat=3DMESSAGE=22).process(new Processor() =7B > =20 > =40Override > public void process(Exchange arg0) throws Exception =7B > InputStream io =3D (InputStream) arg0.getIn().getBody(); > // char c; > StringBuffer ssf =3D new StringBuffer(); > BufferedReader reader =3D new BufferedReader( > new InputStreamReader(io, =22UT=46-8=22)); > int charT =3D -1; > =20 > while ((charT =3D reader.read()) =21=3D -1) =7B > ssf.append((char) charT); > =7D > System.out.println(ssf); > =20 > =7D > =7D); > =20 > Using this code web service getting called by at server side it =20 > will throw > an error. > =20 > *Error is org.codehaus.xfire.fault.X=46ire=46ault: There must =20 > be a method name > element.* > =20 > Can you help me to resolve this error. > =20 > =20 > =20 > -- > View this message in context: http://camel.465427.n5.nabble.com/SOAP-We= b-service-Calling-using-camel-tp5745180p5745233.html =20 > Sent from the Camel - Users mailing list archive at Nabble.com. =20 > =20