Service departure parsing

Good afternoon,

I am having a problem parsing a soap service output, i am trying to apply

a! fromJson (
xmltojson (
local!result
)
)

Until applying the xmltojson I have the data that does it to me:

But when I apply the a! FromToJson the value is no longer mapped

I have tried to do this since I really need to map not only this data but all that the service returns to me it would return:

a!fromJson(
xmltojson(
substitute(local!a.body,"<NIF>","<NIF>@")
)
)

Although then I would have to delete that @

Do you know if it could be done in a cleaner way?

A greeting and thanks in advance.

 Discussion posts and replies are publicly visible