Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 18019 invoked from network); 18 Jun 2007 06:22:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Jun 2007 06:22:39 -0000 Received: (qmail 94784 invoked by uid 500); 18 Jun 2007 06:22:36 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 94741 invoked by uid 500); 18 Jun 2007 06:22:35 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 94730 invoked by uid 99); 18 Jun 2007 06:22:35 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 17 Jun 2007 23:22:35 -0700 X-ASF-Spam-Status: No, hits=0.9 required=10.0 tests=FORGED_YAHOO_RCVD,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 17 Jun 2007 23:22:31 -0700 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1I0Act-00009a-BU for axis-dev@ws.apache.org; Sun, 17 Jun 2007 23:22:11 -0700 Message-ID: <11170506.post@talk.nabble.com> Date: Sun, 17 Jun 2007 23:22:11 -0700 (PDT) From: Joe Nathan To: axis-dev@ws.apache.org Subject: Re: Running SAAJ problem In-Reply-To: <358531180706172221w713c4ba6v1926ddd7d8fb8101@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: jowen4077@yahoo.com References: <11168244.post@talk.nabble.com> <358531180706172221w713c4ba6v1926ddd7d8fb8101@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Thanks for the reply. My WEB-INF/services.xml is like this; ------------------------------------------------ RME Soap Service SoapService ------------------------------------------------------------------------ Relevant part of wsdl query with "http://localhost/axis2/services/SoapService?wsdl" is like this; ------------------------------------------------------------------------ SoapService - - - - ---------------------------------------------------------------------------- The client SAAJ is; ======================================================== QName bodyName = new QName("http://localhost/axis2/services/SoapService", "mymethod", "m"); SOAPBodyElement bodyElement = body.addBodyElement(bodyName); QName name = new QName("vinput"); SOAPElement symbol = bodyElement.addChildElement(name); symbol.addTextNode("12667"); URL endpoint = new URL(" http://localhost/axis2/services/SoapService/mymethod"); SOAPMessage sresponse = connection.call(message, endpoint); connection.close(); ===================================================== I build an .aar file and place it to WEB-INF/services of Axis2 inflated directory. It works from browser URL queries, not from client programs! Thanks in advance! -- View this message in context: http://www.nabble.com/Running-SAAJ-problem-tf3937707.html#a11170506 Sent from the Axis - Dev mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-dev-help@ws.apache.org