cancel
Showing results for 
Search instead for 
Did you mean: 

XSLT Mapping Help

former_member201264
Active Contributor
0 Kudos

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.

Accepted Solutions (0)

Answers (2)

Answers (2)

iaki_vila
Active Contributor
0 Kudos

Hi Kancham,

Share you source and target XML and your current XSLT. It will easier for us to guide you in this way.

Regards.

former_member190293
Active Contributor
0 Kudos

Hi Sreeni!

As I can see from your post your structures are different.

So you need to change structure of your message? Then why your structures are different?

Regards, Evgeniy.