Sunday 8 February 2015

Most Recent SOAP Interview Questions and Answers

Below are some important SOAP interview questions which are asked in most MNC company interviews for beginners or professionals.

11)    What are the elements which should be contained in SOAP message?
Following elements are contained in the SOAP message.
1)   An envelope element which identifies and translates the XML document into a SOAP message.
2)   A header element is a must as it should contain header message.
3)   A body is required which should contain call and response message.
4)   Fault element is required which can communicate about the errors occurred during the process

12)    Explain about the syntax rules in SOAP?
Some of the important syntax rules are as follows
1)   SOAP should be coded in XML
2)   SOAP envelope should be used for SOAP message
3)   A SOAP encoding namespace must be used by SOAP.
4)   A DTD reference and a XML processing instruction should not be contained.

13)    Explain about the encoding style attribute?
This is used to define the data types in the document. Any SOAP element may use this format and it gets implemented on the child and contents of the SOAP. SOAP element will never have a default encoding.

14)    Explain about the SOAP Envelope element?
A SOAP message will have the SOAP element as the root element. SOAP element name space should always have the value of : as that defines the Envelope.

15)    Explain about the actor element?
A SOAP message has to travel a very long distance between its client and server but during the process a part of the message may be intended to be deployed to another destination which is made possible by the SOAP elements actor attribute which address the header element to a particular location.
More Questions & Answers :-

No comments:

Post a Comment