Topic
IC4NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
1 reply Latest Post - ‏2014-07-10T13:45:07Z by GKearney
jourdanss
jourdanss
23 Posts
ACCEPTED ANSWER

Pinned topic change NS1 namespace prefix

‏2014-07-09T15:13:40Z |

Hi, I need help with namespace prefix. How change 'NS1' for 'tns5'

This is my output message:

<NS1:msg xmlns:NS1="http://www.example.org/MT507_RechazoAlza">
 <NS1:referencia>
  <NS1:idPrenda>1001108</NS1:idPrenda>
 </NS1:referencia>
 <NS1:solicitud>
  <NS1:idDeudor>1001</NS1:idDeudor>
  <NS1:idAcreedor>1012</NS1:idAcreedor>
 </NS1:solicitud>
</NS1:msg>

And I want this output Message

<tns5:msg xmlns:tns5="http://www.example.org/MT507_RechazoAlza">
 <tns5:referencia>
  <tns5:idPrenda>1001108</tns5:idPrenda>
 </tns5:referencia>
 <tns5:solicitud>
  <tns5:idDeudor>1001</tns5:idDeudor>
  <tns5:idAcreedor>1012</tns5:idAcreedor>
 </tns5:solicitud>
</tns5:msg>

Thanks for your help,

Jourdan

 

 

  • GKearney
    GKearney
    52 Posts
    ACCEPTED ANSWER

    Re: change NS1 namespace prefix

    ‏2014-07-10T13:45:07Z  in response to jourdanss

    Did you try to change the namespace Value in the output card from 'NS1' for 'tns5' ?.

    I hope that this helps.