Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 65811 invoked from network); 18 Sep 2005 01:30:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 18 Sep 2005 01:30:04 -0000 Received: (qmail 26236 invoked by uid 500); 18 Sep 2005 01:29:58 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 26218 invoked by uid 500); 18 Sep 2005 01:29:57 -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 26205 invoked by uid 99); 18 Sep 2005 01:29:57 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 Sep 2005 18:29:56 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 2543C1C0 for ; Sun, 18 Sep 2005 03:29:54 +0200 (CEST) Message-ID: <1197416514.1127006994150.JavaMail.jira@ajax.apache.org> Date: Sun, 18 Sep 2005 03:29:54 +0200 (CEST) From: "Jim Redman (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Created: (AXIS-2222) RPCProvider.java doc/lit 2 in args is hopelessly broken Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N RPCProvider.java doc/lit 2 in args is hopelessly broken ------------------------------------------------------- Key: AXIS-2222 URL: http://issues.apache.org/jira/browse/AXIS-2222 Project: Apache Axis Type: Bug Components: Basic Architecture Versions: 1.2.1 Environment: uname -a Linux charizard 2.6.11-1.1369_FC4 #1 Thu Jun 2 22:55:56 EDT 2005 i686 i686 i386 GNU/Linux java -version java version "1.5.0_04" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_04-b05) Java HotSpot(TM) Client VM (build 1.5.0_04-b05, mixed mode, sharing) Reporter: Jim Redman Here's the WSDL, the "read" method has 2 in args (and three out) http://opcfoundation.org/webservices/XMLDA/1.0/ you get a generated impl that looks like this (+/- the package names): public void read(RequestOptions options, ReadRequestItemList itemList, ReplyBaseHolder readResult, ReplyItemListHolder RItemList, OPCErrorArrayHolder errors) throws RemoteException; The itemList is always null on reciept. In RPCProvider in this method: public void processMessage(MessageContext msgContext, SOAPEnvelope reqEnv, SOAPEnvelope resEnv, Object obj) there are two "bodies". The first is an RPCElement that represents the "options" param. The second is a SOAPBodyElement that represents the "itemList" param. The method uses on the first body, and so the call (at or about line 148): args = body.getParams(); returns only the first param. Many things in that method seems wrong in this case. The "methodName" is "Options", the name of the first parameter. I think that iterating through both bodies (how since one's an SOAPBodyElement not an RPCElement) would probably work, but it would be akin to a hack since there appears to be a fundamental flaw in the logic before you land in that method. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira