Skip to Content
0
Aug 09, 2016 at 06:20 PM

XSLT Mapping Help

33 Views

Hi Gurus,

I have requirement as below:

Source XML -to-SOAP LookUP-to-Target XML.

I am getting the correct values of SOAP response into my target structure.

But in the target structure, I am not getting one namespace. Please see the below structures.

-----Getting Current Output:-----------

<?xml version="1.0" encoding="UTF-8"?>

<ns0:placeRequestWithCustomerRequestId xmlns:ns0="http://com.test.test.asic.dom.ws.services.rfc">

<authToken>string</authToken>

<requestDTO> string </requestDTO>

</ns0:CustomerRequestId>

---------Expected Structure:--------------

<?xml version="1.0" encoding="UTF-8"?>

<tns:CustomerRequestId xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="http://com.test.test.asic.dom.ws.services.rfc" xsi:schemaLocation="http://com.test.test.asic.dom.ws.services.rfc ManagementService.xsd">

<authToken>String</authToken>

<requestDTO>string</requestDTO>

</tns:CustomerRequestId>

Regards,

Sreeni.