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 difference between a web service and SOA?
Give an example about the functioning of SOAP?
What is soap and rest web services?
Can soap use rest?
What are the advantages of SOAP?
Explain what is the properties in soapui?
State the syntax rule for soap message?
What is wc3 standards?How is the link between SOAP and webservices to it?
What is the use of having soap messages with attachments?
Elaborate the term SOAP?
What are the communication channels available for a web service?
Define soap web services?
What are the differences between rpc style and document style soap web services?
Inside the soapui where groovy script can be used?
Explain about HTTPS in SOAP?