Friday 20 January 2017

What types of Operations available in WSDL? What are the different standards protocols for Web Service? What is the difference between HTTP POST and PUT requests in REST?

What types of Operations available in WSDL?
·   One-way : The operation can receive a message but will not return a response

·  Request-response: The operation can receive a request and will return a response

·  Solicit-response: The operation can send a request and will wait for a response

·   Notification: The operation can send a message but will not wait for a response

What are the different standards protocols for Web Service?
·   XML-RPC is a remote procedure call (RPC) protocol which uses XML to encode its calls and HTTP as a transport mechanism. In XML-RPC objects or structures are exchanged between 2 applications.

·    JAX-RPC: Java API for XML-based RPC, JAX-RPC refers to Java API for XML-based RPC. It specify java technology for for web-based services and clients using RPC or remote procedure calls which are based on XML based protocol like SOAP.

·   JAX-WS: Java API for XML Web Services, which is part of Java EE Platform & Glassfish Project. It also provides annotation based Web Service.

·   JAX-RPC vs. JAX-WS:  JAX-WS replaced the JAX-RPC API in Java Platform, Enterprise Edition 5.It provides enhancement over JAX-RPC.

What is the difference between HTTP POST and PUT requests in REST?POST is used to create whereas PUT is used to (update, if does not exist create it)/ Replace.

No comments:

Post a Comment