What is the difference between a fault and exception in
Apache SOAP?
Answer Posted / supra
The difference lies in where the error occurs - on the
client side (during the generation of the soap request or
the unmarshalling the response) - or on the server side
(when unmarshalling the request, processing the message or
marshalling the response). The client side raises an
exception whereas the server side sends a SOAP response to
the client indicating an error occured on the server side
(ie. you get a SOAP fault).
For example, sending a SOAP encoded request for a
method that does not exist results in a SOAP fault whereas
if the server sends a response with a field that does not
exist in a client side class a SOAP exception will be
raised.
| Is This Answer Correct ? | 8 Yes | 1 No |
Post New Answer View All Answers
What is the use of protocol rest?
soapui
What are the advantages which a user can get when he uses SOAP?
What are the advantages of SOAP?
What is the main difference between soap and rest web services?
List out the important characteristics of soap envelop element.
What is the difference between top down & bottom up approach in soap web services?
What is the difference between soap and http?
Explain what is the properties in soapui?
Give an example about the functioning of SOAP?
Can soap and rest be used together?
what is the difference between SOAP and other remote access techniques?
Explain soap?
What is the difference between http and rest?
One key aspect of service oriented architectures is late binding of services: That is while an application is being executed the system can bind to the required concrete service. i. Service selection in inContext makes use of non- functional and functional aspects. Discuss briefly the difference between functional and non- functional aspects in SoA and why it is necessary to consider both when selecting services. ii. Discuss briefly how the inContext platform uses relevance ranking for service selection. Explain in particular how context data is being used. Continued