Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 8142 invoked from network); 25 May 2007 07:23:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 May 2007 07:23:43 -0000 Received: (qmail 14142 invoked by uid 500); 25 May 2007 07:23:42 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 14090 invoked by uid 500); 25 May 2007 07:23:42 -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 14079 invoked by uid 99); 25 May 2007 07:23:42 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 May 2007 00:23:42 -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; Fri, 25 May 2007 00:23:36 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9A28171406A for ; Fri, 25 May 2007 00:23:16 -0700 (PDT) Message-ID: <13892032.1180077796629.JavaMail.jira@brutus> Date: Fri, 25 May 2007 00:23:16 -0700 (PDT) From: =?utf-8?Q?Jonas_Bo=C3=ABthius_=28JIRA=29?= To: axis-dev@ws.apache.org Subject: [jira] Commented: (AXIS2-2389) Dispatching based on the SOAP message body does not work for document/literal style In-Reply-To: <17392374.1174907432187.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AXIS2-2389?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel#action_12498970 ]=20 Jonas Bo=C3=ABthius commented on AXIS2-2389: --------------------------------------- Still the same problem in version 1.2. The work-around still applies. > Dispatching based on the SOAP message body does not work for document/lit= eral style > -------------------------------------------------------------------------= ---------- > > Key: AXIS2-2389 > URL: https://issues.apache.org/jira/browse/AXIS2-2389 > Project: Axis 2.0 (Axis2) > Issue Type: Bug > Components: kernel > Affects Versions: 1.1.1 > Environment: Axis2, version 1.1.1 > Tomcat 5.0 > JDK1.6.0 > Reporter: Jonas Bo=C3=ABthius > Priority: Minor > > I am using a document/literal service and found that the dispatching base= d on the message body does not seem to work. Any SOAPAction header except t= he one defined in the WSDL causes the following fault: > org.apache.axis2.AxisFault: Operation Not found EPR is... > I've used ADB data binding and generated server side classes and services= .xml using the WSDL2Java utility. > When debugging, I can see that the SOAPMessageBodyBasedDispatcher > is invoked for the dispatching, that it finds the correct request elemen= t name but when passing the call to the getOperation method in the AxisServ= ice class, the operationsAliasesMap does not contain the name of the reques= t element. It seems like the initialization of the operationsAliasesMap doe= s not consider the case needed for the SOAPMessageBodyBasedDispatcher. > Found an easy work-around of manually adding the name of the request root= element as actionMapping in the generated services.xml file.=20 --=20 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