on 02-10-2011 9:00 AM
Hi All,
I have a scenario which I am trying to send a XML file through SFTP (Advanco) to a Z RFC.
I created the message mapping, but I am dealing with a issue that I would like to see if it already happened with someone else and which is the best way to solve it.
In the message mapping - test tab - source view we can find this xml tag regarding the messagetype (see that my MT is called ROOT)
<?xml version="1.0" encoding="UTF-8"?>
<ns0:ROOT xmlns:ns0="http://www.post.ch/schemas/dfu/2006/20/Report6">
the problem is, when I am testing the interface the original file comes like this below
<?xml version="1.0" encoding="UTF-8"?>
<ROOT xmlns="http://www.post.ch/schemas/dfu/2006/20/Report6">
without ns0:
And if I test in message mapping without ns0: I have the problem.
Shouldnt it be equivalent ? I mean, as far as I know the ns0: shouldnt be a problem
Does someone have any suggestion regarding my issue above ?
Thank you
Regards
Diego
Edited by: Diego Crespo on Feb 10, 2011 10:01 AM
Hello,
In your source message type declaration, delete the entry from XML Namespace. I'm not sure if this is available from XI 3.0 though.
Hope this helps,
Mark
Edited by: Mark Dihiansan on Feb 10, 2011 10:09 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Shouldnt it be equivalent ? I mean, as far as I know the ns0: shouldnt be a problem
when you have a namespace in the message then you need to associate it with some prefix....since ns0 (or any other prefix) is not present you are getting the error....having the namespace but not ns0 is the problem.
XMLAnonymizer bean may help you to add the namespace prefix...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
Check here:
/people/sameer.shadab/blog/2005/12/05/how-to-remove-namespaces-in-mapping--xi
Div
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ref: /people/stefan.grube/blog/2007/02/02/remove-namespace-prefix-or-change-xml-encoding-with-the-xmlanonymizerbean
Edited by: Hareenkumar on Feb 10, 2011 10:23 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.