Hello,
I must have the following output xml.:
<?xml version="1.0" encoding="UTF-8" ?>
<E24B:E24B_Update_MachineCards_001 xmlns:E24B="urn:E24B_UpdateMachineCards_001" xmlns:f="urn:fields" xmlns:s="urn:segments" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<s:CntrolArea>
<s:Bsr>
<s:Verb>Update</s:Verb>
</s:Bsr>
</s:CntrolArea>
<E24B:DataArea>
<E24B:UpdateMachineCards>
<f:CompanyCode>428003</f:CompanyCode>
<E24B:Machine>
<f:SalesModel>L45</f:SalesModel>
<E24B:Market>
<f:FinalMarket>HU</f:FinalMarket>
</E24B:Market>
<E24B:Component>
<f:ComponentType>17</f:ComponentType>
</E24B:Component>
</E24B:Machine>
</E24B:UpdateMachineCards>
</E24B:DataArea>
</E24B:E24B_Update_MachineCards_001>
But in mapping to target payload is added ns prefix. But target xml should not be have ns prefix . My erronous output is below:
?xml version="1.0" encoding="UTF-8"?>
<ns1:E24B_Update_MachineCards_001 ns2:schemaLocation="" xmlns:ns2="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns1="urn:E24B_UpdateMachineCards_001">
<ns1:DataArea>
<ns1:UpdateMachineCards>
<ns1:Machine>
<ns1:Component>
<ns3:ComponentSerNo xmlns:ns3="urn:fields"></ns3:ComponentSerNo>
<ns3:ComponentType xmlns:ns3="urn:fields"></ns3:ComponentType>
<ns3:PartNo xmlns:ns3="urn:fields"></ns3:PartNo>
</ns1:Component>
<ns1:Market>
----------------------------------------------------------------------------
Can you help me please? How can i change ns* prefix ?
Thanks in advance
Nurhan