Fareed Mirza

Fareed Mirza

  • NA
  • 1
  • 1.6k

WCF Message contract namespace problem

May 23 2012 10:58 AM
Hi all, I have a WCF service and I have tags like
<DataAttributes>
  <DataAttribute>
   -- Some Data Here --
  </DataAttribute>
  <DataAttribute>
   -- Some Data Here --
  </DataAttribute>
</DataAttributes>


And I tested my service in SoapUI, but it is showing contracts with some extension as:

<MyServiceNS:DataAttributes>
  <MyServiceNS:DataAttribute>
   -- Some Data Here --
  </DataAttribute>
  <MyServiceNS:DataAttribute>
   -- Some Data Here --
  </DataAttribute>
</DataAttributes>


But I want my contracts appear as they are in contracts.
If somebody can give the solution, Thanks in advance.

I am using [MessageContract]