Is it possible to use the server page (jsp, aspx) as a web service

What is the difference between using a "web service" and calling a server page, such as JSP / ASPX?

It seems to me that a web service is just a framework around server pages. E.g. I can have a JSP page that accepts:

mypage.jsp method = getupdate &? Param1 = 23 & param = 44 (I can also send these variables via POST)

On my JSP page, I can call the appropriate method based on the value of "method" and return the value back to the client client application. Is this a raw form of web service work? OR there is more to calling the web service, as someone told me that when the page is called, it is displayed, but the web service is not displayed. But what if I remove the HTML from the JSP page, then?

So, when we talk about XML Web Service, the difference is that the client and server both wrap / expand the requests / responses using XML and POST it to the web service page.

+1
source share
3 answers

- - W3C , , , , .

SOAP XML-RPC. "-", SOAP XML-RPC WSDL , , , " -".

0

, - . - SOAP -, XML /.

0

, Facebook Flickr, API, "-", , - .

Vinko, , "-", - W3, , .

-, SOAP XML WSDL? , REST, .

0

All Articles