Hello
I need some help to replace a namespace in xml please. Below is the how the Operation mapping is defined with two mapping programs:
Source ---> Graphical mapping program ---->Targer
Java mapping program
and below is the xml produced as a result of the mapping
<GMessage xmlns="http://www.ducksauce/CM/evel"> <Version>2.0</Version> <Header> <MessageDetails> <Transformation>XML</Transformation> <GatewayTest>1</GatewayTest> </MessageDetails> <SenderDetails> <IDAuthentication> <SenderID>ISV635</SenderID> <Authentication> <Method>clear</Method> <Role>principal</Role> <Value>testing1</Value> </Authentication> </IDAuthentication> </SenderDetails> </Header> <Body> <Irevl xmlns="http://www.rpmc.com/2017/1"> <IRheader> <Keys> <Key Type="TNumber">635</Key> <Key Type="TReference">A635</Key> </Keys>
From testing individual mapping i could confirm that it is the java mapping the changes the namespace for the element <Irevl> but i do not have access to the class.
Thought if i can use a third mapping to change that specific namespace to http://www.rpmc.com/dfl/load"
Any suggestions on it please?
Add comment