Created
May 13, 2020 19:47
-
-
Save djuang1/6760909fe7206aefe09cd9103fc4bea9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%dw 2.0 | |
output application/xml | |
ns soapenv http://schemas.xmlsoap.org/soap/envelope/ | |
ns tem http://tempuri.org/ | |
--- | |
{ | |
soapenv#Envelope: { | |
soapenv#Header:null, | |
soapenv#Body : ( | |
payload mapObject (v1, k1) ->{ | |
tem#"$(k1)": ( | |
v1 mapObject (v2, k2) ->{ | |
tem#"$(k2)": (v2) | |
} | |
) | |
} | |
) | |
} | |
} | |
// { | |
// "GetOrderById": { | |
// "OrderId": 124, | |
// "Status": "123" | |
// } | |
// } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment