Return-Path: Delivered-To: apmail-ode-user-archive@www.apache.org Received: (qmail 72100 invoked from network); 25 Apr 2008 02:07:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Apr 2008 02:07:40 -0000 Received: (qmail 40136 invoked by uid 500); 25 Apr 2008 02:07:42 -0000 Delivered-To: apmail-ode-user-archive@ode.apache.org Received: (qmail 40118 invoked by uid 500); 25 Apr 2008 02:07:42 -0000 Mailing-List: contact user-help@ode.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ode.apache.org Delivered-To: mailing list user@ode.apache.org Received: (qmail 40106 invoked by uid 99); 25 Apr 2008 02:07:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Apr 2008 19:07:41 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of matthieu.riou@gmail.com designates 209.85.146.176 as permitted sender) Received: from [209.85.146.176] (HELO wa-out-1112.google.com) (209.85.146.176) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 25 Apr 2008 02:06:54 +0000 Received: by wa-out-1112.google.com with SMTP id j4so5148486wah.1 for ; Thu, 24 Apr 2008 19:07:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:references:x-google-sender-auth; bh=7IhIX9x1UCVd9hVfYkShRB3SuGYbyuG44thZArcKPgQ=; b=p2TNwH8Az+F9GycOkCoHenf3HPI5gpXlNdKh7SF4fHbieT3yhzRhbGWxInJyQNthhNU/ZUCtV/I+Dpf6bqAbQSHqoGcB+9r5HgfF12A7bumDwSu1oKFmQ6PciiT0uJ86hZoD0mw52PYDcRvtoO5bwQD3qXrwa5oAjQ9LvJdgC2w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=V8XL0dSLfEH5RyE0aITgcvwi49MR7MsqmkLZvs1Nin+m9xw47rewkp2hkoZSCWa92VQTnussqf76fog1ZF0C1c8YCjB0KhBSctTHVWCRfDJQsJ8VJDlip2yH7WU9+YTLozi9kjUnqlkEs93a59G9e2a+z9tDRj2eRk0kNNmcF8A= Received: by 10.114.66.8 with SMTP id o8mr2642560waa.169.1209089227244; Thu, 24 Apr 2008 19:07:07 -0700 (PDT) Received: by 10.115.76.17 with HTTP; Thu, 24 Apr 2008 19:07:07 -0700 (PDT) Message-ID: Date: Thu, 24 Apr 2008 19:07:07 -0700 From: "Matthieu Riou" Sender: matthieu.riou@gmail.com To: user@ode.apache.org Subject: Re: Process ID and Instance ID in SOAP header In-Reply-To: <6c6921830804241620g50e733ebx4d3f7714d64405d4@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_5472_21453165.1209089227231" References: <6c6921830804231514w5a4a98a1lad96a1bd6e2b49f3@mail.gmail.com> <01725B09-2D63-41C8-BABA-06B62EC4CA48@gmail.com> <6c6921830804231553n5f865bd1w4eced78676ec21b7@mail.gmail.com> <6c6921830804232240m63bc0bd4y11136b4990872724@mail.gmail.com> <6c6921830804241319m260bf329ifc633e25f0456554@mail.gmail.com> <6c6921830804241620g50e733ebx4d3f7714d64405d4@mail.gmail.com> X-Google-Sender-Auth: dd471e6c69507fb3 X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_5472_21453165.1209089227231 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Thu, Apr 24, 2008 at 4:20 PM, Mark Panahi wrote: > Ok, I copied the schema from > > bpel-test/src/test/resources/bpel/2.0/TestXPathNamespace2/TestXPathNamespace2.wsdl > into a wsdl file I'm importing (Component1.wsdl) and tried to test it in my > bpel. > > I tried the following: > > > > > > > > > > > Foo Name > > $newVariable1/ns0:Person/ns1:Name > > > > And got the error: > > ERROR - GeronimoLog.error(104) | Assignment Fault: { > > http://docs.oasis-open.org/wsbpel/2.0/process/executable}selectionFailure,lineNo=93,faultExplanation=No > < > http://docs.oasis-open.org/wsbpel/2.0/process/executable%7DselectionFailure,lineNo=93,faultExplanation=No > >results > for expression: {OXPath10Expression > $newVariable1/ns0:Person/ns1:Name} > > Any ideas? Is it a namespace issue? I've pasted more complete versions of > the BPEL and WSDL below. > Your variable being a ns0:Company element, it seems to me that you should at least have a ns0:Company element in your literal :) Matthieu > > If you want more details of the log trace let me know. > > Thanks in advance, > > Mark > > --------------------------------- > > Here's the BPEL: > > targetNamespace="http://ode/bpel/unit-test" > xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable" > xmlns:tns="http://ode/bpel/unit-test" > xmlns:xsd="http://www.w3.org/2001/XMLSchema" > xmlns:test="http://ode/bpel/unit-test.wsdl" > xmlns:ns3="http://components.llama.uci.edu" > xmlns:ode="http://www.apache.org/ode/type/extension" > xmlns:ns0="http://www.company.org" > xmlns:ns1="http://www.person.org" > xmlns:bpel=" > http://docs.oasis-open.org/wsbpel/2.0/process/executable" > xmlns:ns2="http://www.product.org" > queryLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0" > > expressionLanguage="urn:oasis:names:tc:wsbpel:2.0:sublang:xpath2.0"> > > namespace="http://ode/bpel/unit-test.wsdl" > importType="http://schemas.xmlsoap.org/wsdl/" /> > namespace="http://components.llama.uci.edu" > importType="http://schemas.xmlsoap.org/wsdl/"/> > > > partnerLinkType="test:HelloPartnerLinkType" > myRole="me" /> > partnerLinkType="ns3:muleLinkType" > partnerRole="muleRole"/> > > > > > > > > > > > > name="start" > partnerLink="helloPartnerLink" > portType="test:HelloPortType" > operation="hello" > variable="myVar" > createInstance="yes"> > > > > > > > > > > > > Foo Name > > $newVariable1/ns0:Person/ns1:Name > > > > operation="exec" > portType="ns3:mulePortType" > inputVariable="Variable1" > outputVariable="Variable2"> > > > > > partnerLink="helloPartnerLink" > portType="test:HelloPortType" > operation="hello" > variable="myVar"/> > > > > And here's the top part of Component1.wsdl: > > xmlns:apachesoap="http://xml.apache.org/xml-soap" > xmlns:impl="http://components.llama.uci.edu" > xmlns:intf="http://components.llama.uci.edu" > xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" > xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" > xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" > xmlns:xsd="http://www.w3.org/2001/XMLSchema" > xmlns="http://schemas.xmlsoap.org/wsdl/" > xmlns:plnk=" > http://docs.oasis-open.org/wsbpel/2.0/plnktype > " > xmlns:s0="http://www.openuri.org" > xmlns:tns1="http://www.person.org" > xmlns:tns2="http://www.product.org" > xmlns:tns3="http://www.company.org" > > > > > xmlns="http://www.person.org" > xmlns:xsd="http://www.w3.org/2001/XMLSchema"> > > > > > > > > xmlns="http://www.product.org" > xmlns:xsd="http://www.w3.org/2001/XMLSchema"> > > > > > > > xmlns="http://www.company.org" xmlns:per=" > http://www.person.org" xmlns:pro="http://www.product.org" > xmlns:xsd="http://www.w3.org/2001/XMLSchema"> > > > > > > type="per:PersonType"/> > type="pro:ProductType"/> > > > > > > targetNamespace="h" xmlns="h" > xmlns:xsd="http://www.w3.org/2001/XMLSchema"> > > > > .... > ------=_Part_5472_21453165.1209089227231--