Skip to main content

I want to add 2 namespace in single tag like in s:Body.

Below is the example:

 

<s:Envelope xmlns:s=http://schemas.xmlsoap.org/soap/envelope/>

<s:Header>

  <Action s:mustUnderstand="1" xmlns=http://schemas.microsoft.com/ws/2005/05/addressing/none>http://kpmg.com/xi/CO_NGGC/NGGC/SI_I_S_Evaluation_Services/Notify_ChangeResponse</Action>

  <ActivityId CorrelationId="92af6c6d-1fe0-4236-8a62-220bcfb1975f" xmlns=http://schemas.microsoft.com/2004/09/ServiceModel/Diagnostics>00000000-0000-0000-0000-000000000000</ActivityId>

</s:Header>

<s:Body xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance xmlns:xsd=http://www.w3.org/2001/XMLSchema>

  <MT_NOTIFY_RESP xmlns=http://KPMG.com/xi/CO_NGGC/NGGC_Integration>

    <Message xmlns="">

      <Type>I</Type>

      <Class>/KGO/CO_NGGC_IBS</Class>

      <Code>004</Code>

      <Text>Notification successfully saved : Type CA Key 5128976#####</Text>

      <Value1>EA#####</Value1>

      <Value2>5128976#####</Value2>

      <Value3>#####</Value3>

      <Value4>#####URL</Value4>

    </Message>

  </MT_NOTIFY_RESP>

</s:Body>

</s:Envelope>

3 risposte
  1. 12 gen 2022, 12:00

    define one of the namespace as attribute.

     

    define one of the namespace as attribute.

0/9000