1. What are web services?
Web services are web components or software program that transfer data between client and server through the Internet. The client sends a web request to the server and the server then responds to the client. The response and request are related and different requests evoke the corresponding response. It is chiefly used to communicate with the web-based applications through XML messaging concepts.2. What is the primary challenge when testing web services?
The major challenge is that they do not have a UI because, majority of functional testing is transferred out via the GUI.3. What are the communication channels available for a web service?
Normally web service is combined with the following protocols. They are,4. What are the different components can be used in the web services?
There are four components are used in web services. They are,1. WSDL – Web Service Description Language
2. SOAP – Simple Access Object Protocol
3. UDDI – Universal Description, Discovery and Integration
4. RDF – Resource Description Framework
5. XML – eXtensible Markup Language
5. What are the tools used for testing Web services?
The following tools are used for testing web services:
6. What is WSDL?
Web Service Description Language, it is a document written in XML. It uses XML to define the service layer document which consists of origin of the web service, headers, port types, and request to response data. Even provide the information about web methods and web service.It describes:
7. What is the role of WSDL document in web service testing?
Validating web services in only possible with WSDL document because to configure web services in SoapUI, WSDL document is mandatory. If the WSDL document is not valid, SoapUI will throw an exception immediately.8. What is SOAP?
Simple Object access protocol that uses XML to interact with web applications. It uses XML based content to communicate between two client machines across any network9. What would be the message format of SOAP protocol?
SOAP-based web services are written by using XML language which uses standard message format that is welcomed across the universe. In this method, it is easy to read, identify the errors, avoids the ability software to exchange and make use of information problems etc.Here’s the sample SOAP message format.
10. What are the advantages of SOAP?
SOAP is based on XML, it is platform for programming language. RPC are sometimes blocked by firewalls and proxy servers- Soap solves it.11. What does a soap document contain?
Soap document contain envelope element is the topmost tag which recognize the XML document as a SOAP message then, you see the header element that has header information. The Body element specifies the call and response information. Finally, you have a Fault element which contains errors and status information.12. What is meant by Protocols and what are the major types are used in web services?
WA protocol is a set of standard rules that help to communicate the hardware devices through the software applications. There are different types of protocols used in the Internet and Intranet applications. They areTCP which stands for Transmission Control Protocol. It has the rules to exchange the messages between two different Internet applications.
Internet Protocol uses the rules for sending and receiving the information between two different Internet addresses.
Similarly, HTTP, FTP and DHCP protocols have used the set of rules to transfer the data other than Internet applications.