on 02-28-2011 8:31 PM
Hi Guys,
I would like to know whether there is a way to see the payload message after it be transformed. For instance,
I'm using an xslt file to transform the Message payload through aii.messaging.adapter.XSLTConversion. Actually, I know
how to use aii.messaging.adapter.XSLTConversion but I need to prove what is in the payload after the transformation.
Any suggestions??
Thanks in advance!
There is no way to see the conversion.
Could you use an (additional) message mapping step instead of the XSLT mapping in adapter engine?
Then you could use test tools and see the conversion in monitor.
Another option is redirecting the message in a file system, that means put the xslt mapping in file adapter, so you can look in file system for the result.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for the answers,
The problem was solved. Actually, I was using XML SPY for debugging my XML file against my XSLT file, however,
I would like to guarantee that the transformation in Adapter Module using MessageTransformBean for XSLTConversion do the same as XML SPY so I started some tests and realize that they did the same. The real problem was in "prefixes" and by using another module XMLAnonymizerBean I achieved my goal.
By the way, Stefan Grube posted one blog about the use of XMLAnonymizerBean that was very helpful:
/people/stefan.grube/blog/2007/02/02/remove-namespace-prefix-or-change-xml-encoding-with-the-xmlanonymizerbean
Cheers!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i think another solution could be :
Use "Test" tab in Operation/Interface mapping in ESR/IR.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
i think the easiest way is to test local. Just execute the mapping with XML Spy (short cut F10 on the xml file).
Even an Internet Explorer can do the job, just include
<?xml-stylesheet type="text/xsl" href="myStyle.xsl"?>
into the xml.
Regards,
Udo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.