Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 43009 invoked from network); 22 Apr 2007 14:16:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Apr 2007 14:16:43 -0000 Received: (qmail 59930 invoked by uid 500); 22 Apr 2007 14:16:43 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 59884 invoked by uid 500); 22 Apr 2007 14:16:43 -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 59872 invoked by uid 99); 22 Apr 2007 14:16:43 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Apr 2007 07:16:43 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 22 Apr 2007 07:16:35 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 52F3B714047 for ; Sun, 22 Apr 2007 07:16:15 -0700 (PDT) Message-ID: <10016413.1177251375307.JavaMail.jira@brutus> Date: Sun, 22 Apr 2007 07:16:15 -0700 (PDT) From: "Glen Mazza (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Commented: (AXIS2-2576) WebService dosn't work wih parameter in the method In-Reply-To: <20637666.1177172115290.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2-2576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12490728 ] Glen Mazza commented on AXIS2-2576: ----------------------------------- Congratulations on finding the problem! Glen > WebService dosn't work wih parameter in the method > -------------------------------------------------- > > Key: AXIS2-2576 > URL: https://issues.apache.org/jira/browse/AXIS2-2576 > Project: Axis 2.0 (Axis2) > Issue Type: Bug > Components: deployment > Affects Versions: 1.1.1 > Environment: windows xp. Last version of axis2.war (april 21, 2007) > Reporter: Roberto > Priority: Critical > Fix For: 1.1.1 > > > Hi experts (Im a newbie), > I got a little problems that I cannot solve by myself... I got this simple > service: > public class StockService { > private String datiBack=null; > public String getAvailability(){ > //public String getAvailability(String strType){ > datiBack = "Sembra funzionare"; > return datiBack; > } > } > I compile it I create an .aar file I upload it in Axis2 everything works > properly I make the request thru browser > http://localhost:8080/axis2/services/StockService/getAvailability > and I got the "Sembra funzionare" wrapped in soap tag. > If I uncomment & change the getAvailability method with the one that need > a String parameter, I compile everything I upload in Axis2, same as > before, everything is ok but when I make the request > http://localhost:8080/axis2/rest/StockService/getAvailability?strType=Nylon > I got this back: > > > > Required element null defined in the schema can not be found in the > request > > > > The same problem is following the POJO example under the quickstart guide (http://ws.apache.org/axis2/1_1_1/quickstartguide.html#deploy) > So if somebody can explain me that could be great > Thanx in adavance > Ciao > Roberto -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-dev-help@ws.apache.org