on 2009 Feb 25 9:25 AM
Hi
I have a return from SAP Content Server that comes in hex format. My message mapping are not happy and as far as I have understood, normal message mapping and XSLT cannot handle this return.
I have tried with ABAP mapping, but the output stream is still on hex format. Does anyone know how a java mapping can handle this? The input stream is ok, but I would like to output a string (or something else readable for the mapping) instead of the outputstream from the java mapping. Do I have to use StreamTransformation for the java mapping, or do I have any other options?
Thanks!
regards Ole
First you should mention, how you want the output, then people can give advice, how to achive this.
When I have understood right, your response is a plain hex string like this:
127464fde452f.
The easiest way to handle this, is envelope this with a tag:
<root>127464fde452f</root>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Jepp, I was maybe a bit unclear as I did not understand why the mapping could not process the return message in the beginning. Anyway, as long as I build an XML document in ABAP or Java (similar to what I expect in message mapping), based on the hex string I receive, it will work.
regards Ole
Hi Ole,
You cannot use graphical mapping tool or XSLT mapping. You have to use self-written Java mapping.
Rgds
joel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
73 | |
10 | |
9 | |
8 | |
8 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.