English 中文(简体)
Overwrite msg in mirth
原标题:
  • 时间:2010-03-15 21:50:38
  •  标签:
  • e4x
  • hl7
  • mirth

I have two destinations now and the first calls a SOAP webservice. I want to take the response of that destination by:

msg = new XML(responseMap.get( Destination1 ).getMessage());

and convert it to a mutable XML object. Doing:

logger.error(msg);

<S:Body><PRPA_IN201306UV02> ... </PRPA_IN201306UV02></S:Body>

Shows the valid msg as I want it, but when I do:

msg[ S:Body ] it returns nothing.

Any suggestions would help.

最佳回答

msg.S::Body is what you want. Make sure you define the S namespace before you use it.

问题回答

暂无回答




相关问题
Flex XML dynamic type

I have an application which receives dynamic XML data from a server. The structure of the XML is dynamic and the tags/attribute names cannot be predicted. NO row items can be hardcoded. The data is ...

XML 灵活处理

我有10 000多条线的XML,当时使用URLLoader级的xml无法追踪整个Xml。 在追踪时,我从中间处获得xml。 任何人都告诉我,

Ignoring case on E4X node names and attributes?

Does anyone know of a trick to ignore upper/lower/camelcase on XML node names and attributes? A quick example: I give an XML file to my client which contains an XML attribute named fooID but the ...

E4X get element s next sibling

I have a reference to a XML node which is part of a bigger XML tree. Is there a way to get that elements next/previous sibling without accessing the parent and looking for it? Something like DOM s ...

Why does this XML query not work?

Heres some code for a test case. I don t understand why the first two queries produce a result but the third one doesn t. Any ideas? <?xml version="1.0" encoding="utf-8"?> <mx:Application ...

热门标签