We have added an operation to existing web service. The consumer of this wsdl needs to parse the <wsdl:fault> as part of their exception handling mechanism for this operation while the wsdl generated does not have <wsdl:fault>. There are few
- The detail node under fault is customized to have 3 child nodes: message, errorID, description.
- Namespace for the Response generated for SoapException is different from the namespace for Success Response.
Here is an example of a successful response :-
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
View Complete Post