Skip to Content
0
Former Member
Nov 17, 2009 at 09:09 AM

Setting a namespace for an entire message

22 Views

Hello,

When creating a message type, it is possible to set a XML namespace for the message. But I observed that this namespace is only set for the root element an not for the entire message. The namespace is set like this in the resulting message:

http://www.namespace.com">

<District>

<Name>SERV3</Name>

<RegionParent>0001</RegionParent>

</District>

</ns1:UpdateDictionaryItem>

But I would need it like this:

http://www.namespace.com">

<ns1:District>

<ns1:Name>SERV3</ns1:Name>

<ns1:RegionParent>0001</ns1:RegionParent>

</ns1:District>

</ns1:UpdateDictionaryItem>

or like this:

http://www.namespace.com">

<District>

<Name>SERV3</Name>

<RegionParent>0001</RegionParent>

</District>

</:UpdateDictionaryItem>

Is there a way to do that?

regards,

Jens Harzer