How to add name space and Type when serializing class
<p>I tryied to serialize a class.
I get the following xml</p>

<pre><code>&lt;CustomerApplication xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;
&lt;pobjCustomerApplicationInfo xmlns="http://"&gt;
</code></pre>

<p>

<p>what are the things i need to do.</p>

<p>This is the output xml.</p>

<pre><code>&lt;ns1:CustomerApplication soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="urn:CustomerApplication"&gt;
            &lt;pobjCustomerApplication xsi:type="ns2:CustomerApplicationRqstInfo" xmlns:ns2="#"&gt;

        &lt;/ns1:CustomerApplication&gt;
</code></pre>

<p>Any help appreciated.</p>

<p>thanks 
supriya</p>
