+91 90691 39140 | +1 253 214 3115 | info@hub4tech.com | hub4tech

SOAP Interview Questions and Answers

What is SOAP?

SOAP, Simple Object Access Protocol is a communication protocol, a way to structure data before transmitting it, is based on XML standard. It is developed to allow communication between applications of different platforms and programming languages via internet.

It can use range of protocols such as HTTP, FTP, SMTP, Post office protocal 3(POP3) to carry documents.

Http-Get, Http-Post works with name/value pair which means transferring complex object is not possible with these protocols, whereas SOAP serializes complex structure, such as ASP.NET DataSets, complex arrays, custom types and XML nodes before transmitting and thus allows exchange of complex objects between applications.

Two components can easily communicate using Remote Procedure Calls protocol. But because of their compatibility and security issues, most of firewalls and proxy server block this type of messages. SOAP uses HTTP channel to transport which makes it widely accepted protocal over the internet.

Mention what is the difference between JSON and SOAP?

JSON is standard to represent human readable data. SOAP is a protocol requirement for transmitting information and calling web-services using XML.

What are the steps involved in doing the data exchange between the client and the server?

The data that is exchanged between the client and server is in XML format and the SOAP passes the object between its methods and the object of the type parameter. SOAP deploys the service that is supplied in the Deployment management area and it is also an administrative tool. It keeps all the information about the services that are running on the web server. This is necessary to be done to keep the routing of the calls to identify the resource uniquely by using different parameters like different names and types. It is used to deploy the services for the client that sends the requests. Un-deploy or remove the services that are already deployed. Show the list of all the services that are deployed on the server and taking necessary actions on them.

Explain how user use the facilities that are provided by SOAP?

PutAddress(): It is used to enter an address in the webpage. It carries address instance on the SOAP call

PutListing(): It is used to enable the insertion of a complete XML document into the webpage. It receives the XML file as an argument and transport the XML file to XML parser liason, which reads it and puts it as a parameter in the SOAP call

GetAddress(): It is used to determine a query name and retrieves the result that is best matched with a query. In the form of text string, the name is sent to the SOAP call

GetAllListing(): It is used to return the complete list in an XML format.

Mention what is the major obstacle faced by the users using SOAP?

The major obstacle faced by the users using SOAP is a firewall security mechanism. This lock all the ports leaving few like HTTP port 80 and the HTTP port used by SOAP that bypasses the firewall. The technical complaints against SOAP is that it mixes the specification for message transport with the specification for message structure.

Copyright ©2015 Hub4Tech.com, All Rights Reserved. Hub4Tech™ is registered trademark of Hub4tech Portal Services Pvt. Ltd.
All trademarks and logos appearing on this website are the property of their respective owners.