ws-muse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vinh Nguyen (JIRA)" <>
Subject [jira] Created: (MUSE-146) NotificationProducer unable to send complex type elements
Date Thu, 09 Nov 2006 01:15:37 GMT
NotificationProducer unable to send complex type elements

                 Key: MUSE-146
             Project: Muse
          Issue Type: Bug
         Environment: Windows XP SP2, Apache 2.2, Tomcat 5.5, Muse 2.0.0, Eclipse 3.2.1, XmlBeans
            Reporter: Vinh Nguyen
         Assigned To: Dan Jemiolo

Sending a notification containing a complex element doesn't seem to work.  It only works for
an element containing a simple string message.  I'm using XmlBeans for conversion between
xml schemas and java objects.  Using the code below, the notification does not appear to be
sent, nor do any errors get thrown in the process.

BoxDocument doc = BoxDocument.Factory.newInstance();
BoxType type = doc.addNewBox();

QName qname = new QName(NAMESPACE_URI, "MyMessage", PREFIX);
Element payload = XmlUtils.createElement(qname, XmlUtils.getFirstElement((Document)doc.getDomNode()));
NotificationProducer np = ...
np.publish(TOPIC_NAME, payload);

Here is the XML from doc.xmlText():
<box:Box xmlns:box=""><box:width>123</box:width><box:height>123</box:height></box:Box>

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message