What is SOAP?
SOAP is a lightweight, XML-based protocol that you can use to exchange information in a decentralized, distributed environment. You can use SOAP to query and return information and to invoke services across the Internet with SOAP messages.
Web Services Description Language(WSDL) is an XML-based language which allows a Web service to document the messages it receives and sends. In other words, what "actions" or "functions" the service performs in terms of the messages it receives and sends.
What are the types of information included in SOAP header?
The SOAP header is an optional section in the SOAP envelope, although some WSDL files require that a SOAP header is passed with each request. A SOAP header contains application-specific context information (for example, security or encryption information) that is associated with the SOAP request or response message. There is only one SOAP header section in a SOAP request. If the SOAP header element is present, it must be the first child element of the envelope element. SOAP headers can be input, output, or input and output, and you do not need to specify them in the WSDL file.
For example: SOAP Header which includes authentication information
What are the disadvantages of SOAP?
What is UDDI?
The Universal Description, Discovery & Integration (UDDI) specification defines a registry service for web services. A UDDI registry service manages information about service providers, service implementation & sservice metadata. One who wish to consumer web services provided by Service provider can use UDDI to discover services.
How a SOAP message is structured?
Each SOAP message must contain a SOAP envelope element. The SOAP envelope describes what is in the message and provides instructions about how to process it. The SOAP envelope has two child elements: a body (required) and a header (optional). All the elements must be declared in the namespace for the SOAP envelope.
What tools do you use to test your Web Services?
List of tools to use REST web services:
List of tools to use SOAP web services:
Can you send soap messages with attachments?
Yes, we can send soap messages with attachments using one of the following:
What are the advantages of SOAP?
What is a web service endpoint?
The endpoint is the URL where web service can be accessed by a client application. There can be multiple endpoints for the same service for different protocols.