What are the advantages of having XML based Web services?
Using XML eliminates any networking, operating system, or platform binding. So Web Services based applications are highly interoperable application at their core level.
Explain the role of web service provider/ Publisher.
The role of a Web Service provider is to implement web service and make it available to the web service requestor/ consumer.
What are the advantages of SOAP web services?
These are some of the important advantages of SOAP web services:
- WS Security – SOAP defines its security known as WS Security.
- Language Independent – Its web services can be written in any programming language
- Platform Independent – Its web services can be executed on any platform.
What is meant by SOAP message?
The SOAP message refers to the data sent to the application from web services. SOAP message is an XML document which is sent through web services to provide data to the client application written in any programming language.
SOAP message sends via using hypertext transfer protocol.
What are the advantages of RESTful web services?
These are some of the important advantages of RESTful web services:
- Fast – The Web Services are fast because there is no strict specification of SOAP. It consumes less bandwidth and resource.
- Language Independent – The web services can be written in any programming language.
- Platform Independent – The web services can be executed on any platform.
- Can use SOAP – The web services can use SOAP web services as the implementation.
- Allows different data format – The web service permits different data format such as Plain Text, HTML, XML, and JSON.
What are the requirements to access a Web Service?
The requirement for accessing web services from any application is that should support XML-based request and response. Hence there is no need to install any app for accessing web services.
What do you mean by synchronicity?
Synchronicity is used to bind the client to the execution of the service. In synchronous invocations, the client blocks and waits for the service to complete its operation before continuing. On the other hand, synchronous operations facilitate a client to invoke a service and then execute different functions.
Explain the role of web service requestor/ consumer.
The role of Web Service Requestor / Consumer is to utilize the pre-existing web service provided by the Web Service Provider/ Publisher. Web Service Requestor/ Consumer request the Web Service provider for the information by sending a SOAP message to the Web Service provider. Then in-Turn Web Service Publisher sends the requested information back to the requestor in the form of a SOAP message.
What are the disadvantages of SOAP web services?
These are some of the important disadvantages of SOAP web services:
Slow – It uses XML format that must be parsed to be read and defines many standards that must be followed while developing the SOAP applications. So it is slow and consumes more bandwidth and resource.
WSDL Dependent – It uses WSDL and doesn’t have any other mechanism to discover the service.
What is the need of element in the SOAP document?
The element is used as the root element of every SOAP message.
The Root element is known as the first element in the XML Document.
The envelope, in turn, separated into two parts. One is the header part and second is the body part. The header contains the routing data which stores the source and destination address of the client. So the body includes the actual data.