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 major obstacle users faced when using soap?
Explain about the mustUnderstand Attribute?
What do you know about foundation security services?
Explain about SOAP?
can we do method overloading in java based web services .i am using Axis2 frame work. how to configure the operatios(which are method overload) in services.xml file. plz help me in solving this
Which is better rest or soap?
To test a web service you must create a windows application or web application to consume this service. State whether true or false.
What is entrust identification service?
What are the elements of a soap message?
How does building a call allows the communication to take place in between the client and the server using soap?
What are the syntax rules for a soap message?
Enlist the operation types response used in wsdl?
What are the advantages of json over http as compared to soap over http?
Explain about HTTPS in SOAP?
What are soap actions?