Author |
Message
|
mangoMan |
Posted: Tue Dec 05, 2006 2:54 pm Post subject: Java Compute Node XML message processing |
|
|
Acolyte
Joined: 16 Oct 2003 Posts: 69
|
Is it possible to extract the XML message from the MbMessage object? I have feeling that it cannot be done but someone must have found a way. Any ideas?
Also, how can I see the println from the java compute node? For some reason the toolkit debugger does not display the values in the variables tab. |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Dec 05, 2006 2:58 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Why do you *want* to extract the XML message from the MBMessage object?
And generally, no, it's not possible to see the printly from the Compute node. If you're not seeing the values in the Debugger, then maybe you didn't configure your Java debugging properly. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
mangoMan |
Posted: Tue Dec 05, 2006 4:00 pm Post subject: |
|
|
Acolyte
Joined: 16 Oct 2003 Posts: 69
|
I want to do that so I can run it through the xmlbeans framework to validate it and change it. The schema that I am using is too complex for the message broker to handle for it includes redefines and substitution groups and it is massive.
For the println you are telling me that there is no way to see it? Not even in a trace log? |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Dec 05, 2006 4:09 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Use XSLT, and the XMLTransformation node.
If that *still* won't handle your schema (and maybe you should consider investing in a schema slimmer), then you can call toBitstream on MbElement.
In general, no, System.out is not visible anywhere.
If you want your JCN to write to a file that you can read, code your JCN to write to a file you can read. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
mlafleur |
Posted: Tue Dec 05, 2006 8:56 pm Post subject: |
|
|
Acolyte
Joined: 19 Feb 2004 Posts: 73
|
|
Back to top |
|
 |
|