Hi Team...
We are trying to map an XML attribute with default namespace xsi using map policy in API Connect assembly. We have provided a sample example of XML in the map policy as below to create the elements for mapping. The issue is, we are not seeing the default namespace 'xsi:' getting appened from the map output. Please let us know how can we map XML with default name space using map policy.
Sample XML input in the map policy for creating elements
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sig="http://www.vasco.com/IdentikeyServer/IdentikeyTypes/Signature" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Header/>
<soapenv:Body>
<sig:authSignatureRequest xmlns:prov="http://www.vasco.com/IdentikeyServer/IdentikeyTypes/Signature">
<componentType>?</componentType>
<user xsi:type="BASIC-TYPES:UserInput">
<userID>?</userID>
</user>
<push xsi:type="SIGNATURE-TYPES:PushSignatureRequest">
Mapping response output from map policy:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Header/>
<soapenv:Body>
<sig:authSignatureRequest xmlns:sig="http://www.vasco.com/IdentikeyServer/IdentikeyTypes/Signature">
<componentType>ABC</componentType>
<user type="">
<userID>ABC</userID>
</user>
<push type="">
<signatureFields>
<dataField>
<key/>
<value/>
</dataField>
</signatureFields>
</push>
</sig:authSignatureRequest>
</soapenv:Body>
</soapenv:Envelope>
------------------------------
Ashok Beshra
------------------------------