Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 67181 invoked from network); 30 Sep 2008 10:01:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Sep 2008 10:01:02 -0000 Received: (qmail 63066 invoked by uid 500); 30 Sep 2008 10:00:52 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 63031 invoked by uid 500); 30 Sep 2008 10:00:52 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 63020 invoked by uid 99); 30 Sep 2008 10:00:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 30 Sep 2008 03:00:52 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.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; Tue, 30 Sep 2008 09:59:47 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1Kkc1l-0007zM-J1 for axis-user@ws.apache.org; Tue, 30 Sep 2008 03:00:21 -0700 Message-ID: <19739246.post@talk.nabble.com> Date: Tue, 30 Sep 2008 03:00:21 -0700 (PDT) From: Sagi Mann To: axis-user@ws.apache.org Subject: Re: AxisFault when using jibx In-Reply-To: <19738701.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: sagimann@gmail.com References: <19738701.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org Found a way to solve one part of the problem: explicitly set the namespace for the return value: @WebMethod @WebResult(targetNamespace="http://ws/") public String testOneArg(@WebParam(mode=Mode.IN, name="testOneArg0") String name) { return "Hello " + name; } This added a 'qualified' keyword to the schema: Now, I don't get the exception any more, but the input parameter always comes in as null. I know this by writing a debug message at the service side. The client code is: public static void testOneArg(HelloServiceStub stub){ try{ ws.TestOneArg arg = new ws.TestOneArg(); arg.setTestOneArg0("john"); ws.TestOneArgResponse res = stub.testOneArg(arg); // expected output is "Hello john" but I get "Hello null": System.out.println(res.getReturn()); } catch(Exception e){ e.printStackTrace(); System.err.println("\n\n\n"); } } Any ideas? thanks... -- View this message in context: http://www.nabble.com/AxisFault-when-using-jibx-tp19738701p19739246.html Sent from the Axis - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-user-help@ws.apache.org