A
Asim Qazi
Hi All
public class MyResponse
{
public bool m_bStatus;
public string m_szErrorCode;
public string m_szMessage;
}
i m returning this object from Webservice WebMethod, if i test this service
from its Service description its returning me
<MyResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://tempuri.org/">
<m_bStatus>false</m_bStatus>
<m_szErrorCode>210</m_szErrorCode>
<m_szMessage>Error Occurred.</m_szMessage>
</MyResponse>
but when i m testing it using my client i m getting the name of my class, i
want to get the returning XML when i call the webmethod from my Client.
please help.
aSIM
public class MyResponse
{
public bool m_bStatus;
public string m_szErrorCode;
public string m_szMessage;
}
i m returning this object from Webservice WebMethod, if i test this service
from its Service description its returning me
<MyResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://tempuri.org/">
<m_bStatus>false</m_bStatus>
<m_szErrorCode>210</m_szErrorCode>
<m_szMessage>Error Occurred.</m_szMessage>
</MyResponse>
but when i m testing it using my client i m getting the name of my class, i
want to get the returning XML when i call the webmethod from my Client.
please help.
aSIM