title: wcf service - convert Object to System.Xml.XmlNode
body: <p>I have a web service having a method which accepts id number as parameter and returns Object which contains his personal details. Now I need to convert this object which is of Object type into XmlNode. If I use:</p>
  
  <pre><code>XmlNode xml = (XmlNode)retObj; //here retObj is of type Object
  </code></pre>
  
  <p>then I am not getting nodes with values.    </p>
  
  <p>Please help me how can I get all the details..Please... Also I don't have to use SOAP....So i need solution where no code of SOAP is used</p>