Strictly speaking, only Soap services are web services. They are based on WS- * Specs , a standardized W3C and Oasis. Sometimes also called a Webservice, the so-called POX-Endpoint (plain old XML) or REST endpoint, which allows you to simply get the raw XML through an HTTP GET.
SOAP services carry their scheme as a wsdl endpoint (usually adds? Wsdl to the service endpoint), so there are many tools to create proxies and hide the complexity of the webservice call. Using POX services, you need to know which scheme to use, for example. documentation.
SOAP services carry the payload inside the SOAP envelope (XML schema with header and body with payload in the body). The presence of the header, independent of the payload, allows you to redirect the contents, sign and encrypt, authenticate, etc. Without knowing the contents. But you pay the extra overhead in the message itself.
POX, on the other hand, leaves it all on the web server and typically uses HTTP for authentication and compression. Signing and signing must be done by your system. This is low overhead as well as low openness.
What works best for you depends on your scenario. If you are working in .NET or Java World, it is often easier for a proxy to create a proxy and use it to work with web services as remote objects. You get a well-developed infrastructure and convenient programming experience. If youre doesn't support proxy generation, or if you needed to call it from something, POX can do a much easier way.
source share