Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

gowdalokeshs

macrumors member
Original poster
Hi,

I have a webservice in ASP.NET that has one exposed Web Method ChkUserName. I am passing the username and password through this method.

I am able to get the response as follows for the given username/password.

<?xml version="1.0" encoding="utf-8" ?>
<string xmlns="http://mydomain.com/">1</string>

Is there anyway that I can get only the response back without the XML tags?

Thanks
LOKESH
 
What are you using the parse the XML response? Because in there you should just be able to ignore the <?xml> tag.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.