users@glassfish.java.net

Re: NMR error with Open ESB 2.0 Latest (Build 20070906)

From: <glassfish_at_javadesktop.org>
Date: Mon, 17 Sep 2007 11:14:32 PDT

I found the issue myself. It looks like when adding a complex xml to the payload of the jbi:part element the complex xml needs a schema namespace declaration at the root element level.

For example this:

<EntryList>
  <Entry>
    <title>Test RSS BC</title>
    <link>http://www.supercodepoet.com/?p=187</link>
    <description>Ignore this test.</description>
    <publishDate>Fri Sep 14 16:09:52 CDT 2007</publishDate>
  </Entry>
</EntryList>

Turns to:

<EntryList xmlns="http://xml.netbeans.org/schema/1.0/extensions/rssbc">
  <Entry>
    <title>Test RSS BC</title>
    <link>http://www.supercodepoet.com/?p=187</link>
    <description>Ignore this test.</description>
    <publishDate>Fri Sep 14 16:09:52 CDT 2007</publishDate>
  </Entry>
</EntryList>
[Message sent by forum member 'supercodepoet' (supercodepoet)]

http://forums.java.net/jive/thread.jspa?messageID=235673