I'm trying to mask the ID field in the following XML. I'm wondering what I should send in the MaskConfiguration payload
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body> <LinkExternalCard xmlns="http://www.i2c.com/cardsws/schema/request"> <Acquirer> <Id>Should be masked</Id>
I tried this, but it didn't work
<MaskDataConfiguration> <Namespaces> <Namespace prefix="soapenv">http://schemas.xmlsoap.org/soap/envelope/</Namespace> </Namespaces> <XPathsRequest> <XPathRequest>/soapenv:Envelope/soapenv:Body/LinkExternalCard/Acquirer/Id</XPathRequest> </XPathsRequest> </MaskDataConfiguration>
LinkExternalCard (and sub-tags) are in the http://www.i2c.com/cardsws/schema/request namespace, so you'll probably need to incorporate that into the XPathRequest