Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 87959 invoked from network); 19 Nov 2009 10:08:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Nov 2009 10:08:07 -0000 Received: (qmail 75604 invoked by uid 500); 19 Nov 2009 10:08:05 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 75459 invoked by uid 500); 19 Nov 2009 10:08:05 -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 75437 invoked by uid 99); 19 Nov 2009 10:08:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Nov 2009 10:08:05 +0000 X-ASF-Spam-Status: No, hits=-10.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,WEIRD_PORT X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Nov 2009 10:08:01 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D1758234C4AA for ; Thu, 19 Nov 2009 02:07:41 -0800 (PST) Message-ID: <1235584475.1258625261856.JavaMail.jira@brutus> Date: Thu, 19 Nov 2009 10:07:41 +0000 (UTC) From: "Stefan Geelen (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Commented: (AXIS2-4350) RPCUtil handles wrapped style of SOAP messages wrongly. In-Reply-To: <1708948971.1242681705554.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AXIS2-4350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12779914#action_12779914 ] Stefan Geelen commented on AXIS2-4350: -------------------------------------- We are having exactly the same problem. We are trtying to upgrade from Axis2/Java 1.4.1 + Rampart and this is the last issue we have. This is blocking for us. Will this be addressed in 1.6 (or sooner ) ? > RPCUtil handles wrapped style of SOAP messages wrongly. > -------------------------------------------------------- > > Key: AXIS2-4350 > URL: https://issues.apache.org/jira/browse/AXIS2-4350 > Project: Axis 2.0 (Axis2) > Issue Type: Bug > Components: adb > Affects Versions: 1.5 > Reporter: Oleg Zenzin > > Class http://svn.apache.org/repos/asf/webservices/axis2/branches/java/1_5/modules/adb/src/org/apache/axis2/rpc/receivers/RPCUtil.java in the method invokeServiceClass() has following lines: > if (inAxisMessage.isWrapped()) { > objectArray = RPCUtil.processRequest(methodElement, > method, inMessage.getAxisService().getObjectSupplier()); > } else { > objectArray = RPCUtil.processRequest((OMElement) methodElement.getParent(), > method, inMessage.getAxisService().getObjectSupplier()); > } > which wrongly handles the wrapped style of SOAP messages. Like, for instance this message: > > > > http://localhost:8383/bre/services/dtws_tryme_newdecisiontable</addr:To> > urn:invokeDecisionTable > > http://www.w3.org/2005/08/addressing/anonymous</addr:Address> > > uuid:53870713-5719-457f-9965-0ebd111e7dda-5 > > > > > > > > Oleg > > > > > > will not be deserialized because BeanUtil.deserialize(methodElement, parameters, objectSupplier) will be fed with element instead of element . > The fix is pretty simple, instead of above code there should be: > if (inAxisMessage.isWrapped()) { > objectArray = RPCUtil.processRequest(methodElement.getFirstElement(), > method, inMessage.getAxisService().getObjectSupplier()); > } else { > objectArray = RPCUtil.processRequest(methodElement, > method, inMessage.getAxisService().getObjectSupplier()); > } -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.