Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What are the communication channels available for a web service?

940


State some disadvantages due to the usage of SOAP?

929


what is the general format for reading the custom or default property value?

884


What are the elements of a soap message?

879


Explain the difference between RPC and Local calls?

903


What are some important characteristics of a soap envelope element?

950


what is the end point in web services?

950


Why is rest preferred over soap?

886


What are the web relation functionalities that is provided by soap protocol?

897


Soap or rest apis, which method to use?

945


How does building a call allows the communication to take place in between the client and the server using soap?

920


How does soap work?

896


What are the factors that help to decide which style of web services – soap or rest – to use?

860


Discuss various approaches to develop soap based web service?

894


What is Simple Object Access Protocol (SOAP)?

935