Return-Path: Delivered-To: apmail-ode-dev-archive@www.apache.org Received: (qmail 3502 invoked from network); 29 Jun 2008 13:48:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Jun 2008 13:48:07 -0000 Received: (qmail 87384 invoked by uid 500); 29 Jun 2008 13:48:08 -0000 Delivered-To: apmail-ode-dev-archive@ode.apache.org Received: (qmail 87111 invoked by uid 500); 29 Jun 2008 13:48:07 -0000 Mailing-List: contact dev-help@ode.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ode.apache.org Delivered-To: mailing list dev@ode.apache.org Received: (qmail 87072 invoked by uid 99); 29 Jun 2008 13:48:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 29 Jun 2008 06:48:07 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED 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; Sun, 29 Jun 2008 13:47:25 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 79255234C152 for ; Sun, 29 Jun 2008 06:47:45 -0700 (PDT) Message-ID: <1105564810.1214747265495.JavaMail.jira@brutus> Date: Sun, 29 Jun 2008 06:47:45 -0700 (PDT) From: "Johannes Waltsgott (JIRA)" To: dev@ode.apache.org Subject: [jira] Updated: (ODE-322) Add element to variable instead of overwriting it In-Reply-To: <864995852.1214747145456.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/ODE-322?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Johannes Waltsgott updated ODE-322: ----------------------------------- Attachment: PortalArtifacts.wsdl > Add element to variable instead of overwriting it > ------------------------------------------------- > > Key: ODE-322 > URL: https://issues.apache.org/jira/browse/ODE-322 > Project: ODE > Issue Type: Wish > Affects Versions: 1.2 > Reporter: Johannes Waltsgott > Priority: Trivial > Attachments: AccountManagementFaculty.wsdl, AccountManagementUniversity.wsdl, deploy.xml, PersonManagement.wsdl, Portal.bpel, Portal.wsdl, PortalArtifacts.wsdl > > > Hi, > I'm using a BPEL-Process with an ForEach-loop(lines 514-581), which gets an dynamically filled Array as input ($getLanguageSubscriptionsResponse), than performs as many s as there are elements in the array and should write the result of the to the global response message (getStudentDetailsResponse) of the process after each invocation. The problem is, in the ForEach-loop, it just copies the result to the global response message (lines 565 - 578) once and in the later repeats it just overwrites the former values in the global response message. The invocation itself works fine so far. > Example: > global response message after initialization (lines: 391 - 421): > > ... > > > > > > > ... > > The ForEach-Loop delivers for 2 inputs for both a name and an id. > This is how the global response message should look like: > > ... > > > Name 1 > 1 > > > Name 2 > 2 > > > ... > > Instead it lokkes like this: > > ... > > > Name 2 > 2 > > > ... > > It just overwrites the first entry with the second one instead of adding the second element after the first one. > Please find the BPEL and WSDL files attached, all lines refer to Portal.bpel > Maybe its more a xpath question than a BPEL question... > Any hints are appreciated - thanks very much in advance... -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.