WebService answer in c#

39 views Asked by At

I am not expert of Internet communication protocols. Normally I develop some WebServices in c#, for my needs. My functions are developed with the [WebMethod] keyword and return numbers, for example two coordinates. To call the WebService, for example with a browser, I write:

https://www.mysite.xx/MyWebService.asmx/MyWebMethod?Request=..Parameters ...

And I get an answer like:

<?xml version="1.0" encoding="utf-8"?>
<string xmlns="http://tempuri.org/">-102866,667000005;-92718,2779999226</string>

Till to day, calling the WebService with programs, I process the above answer, to get what I need, i.e. just the two numbers. I would like to know whether it is possible to simply get an answer with the two numbers only, without the other stuff.

0

There are 0 answers