ode-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ford, Mark" <mark.f...@ll.mit.edu>
Subject Re: Property assignment broken?
Date Mon, 29 Jun 2009 13:10:40 GMT
The root element of the message part is the context for the query so the query should start
without a leading slash. If you start with a leading slash then you need to repeat the root
element name since you're starting from the document root.


On 6/26/09 4:36 PM, "Jackson, Douglas" <douglas.s.jackson@siemens.com> wrote:

Hi!

I am having problems with Ode 2 Beta 2 with an assignment like the following:

      <copy>
        <from variable="audit-request-msg" property="procws:message-id"/>
        <to>$message-id</to>
      </copy>

>From wsdl:
  <prop:property name="message-id" type="xsd:string"/>

  <prop:propertyAlias propertyName="procws:message-id"
                      messageType="auditws:audit-request-msg"
                      part="audit-request-part">
    <prop:query>/audit:process-info/audit:correlation-id</prop:query>
</prop:propertyAlias>

If I replace with the following it works:

      <copy>
        <from>$audit-request-msg.audit-request-part/audit:process-info/audit:correlation-id</from>
        <to>$message-id</to>
      </copy>

It also works if the leading "/" in the prop:query is not present.  Am I doing something wrong?

-Doug.







--
Mark Ford
MIT Lincoln Laboratory
244 Wood Street
Lexington MA 02420
(781) 981-1843

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message