What is the difference between a fault and exception in
Apache SOAP?
Answer / 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 |
what are the syntax rules for SOAP message?
What are the factors that help to decide which style of web services – soap or rest – to use?
Can soap use rest?
Explain about the encoding style attribute?
List out important characteristics of a SOAP envelop element?
Differentiate soap and rest?
What is loosely coupled?
2 Answers Cognizant, SAP Labs,
What is soap envelope element?
Is binding between soap and wsdl possible?
soapui <person> <fname>abc</fname> <lname>xyz</lname> <age>22</age> </person> above data i am prepareing in soapui and run the request and generate response. how to fetch this xml response data using oracle sql query. pls tell me query.
What are the elements which should be contained in SOAP message?
what is web service and what are they?