how can a send a string to a webservice i have created
i want to have a link on a page the sends data to the webservice? i dont want any other windows to pop up or anything like that.
when i click on it, it takes me to a different page though showing me the resultant xml, but i do not want to navigate away.
i know, i am miles away but it doesn't seem to be such a complex thing to want to do. i have searched around but i think i am using the wrong terminology in my searches
yes you redirected to the url and the response was xml so the browser displayed the xml. you need to consume the request. if you are calling the code from the client you can use ajax to call the service and parse the results. if you are calling from the code behind i think you need to reference the project and call the web service proxy.
I don't use webforms or asmx projects so I'm not sure of the details. with an MVC framework "services" are just another url. I make calls from the client with jquery.ajax and parse the return json object.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.