uCosminexus Application Server, Web Service Development Guide
![[Contents]](FIGURE/CONTENT.GIF)
![[Glossary]](FIGURE/GLOSS.GIF)
![[Index]](FIGURE/INDEX.GIF)
![[Back]](FIGURE/FRONT.GIF)
This subsection describes the SOAP faults corresponding to the wsdl:fault element and the SOAP faults not corresponding to the wsdl:fault element respectively.
- SOAP faults corresponding to the wsdl:fault element
When the JAX-WS engine on the Web Service client receives a SOAP fault message marshalled according to the section 10.4.1(1) Processing of service-specific exceptions, the SOAP fault message is un-marshalled in the original fault bean and wrapper exception and thrown to the Web Service client. In other words, the service-specific exception thrown by the Web Service is sent transparently to the Web Service client (this operation is according to the JAX-WS 2.2 specifications).
- SOAP faults not corresponding to the wsdl:fault element
When the JAX-WS engine on the Web Service client receives a SOAP fault message not corresponding to the wsdl:fault element, the SOAP fault message is un-marshalled in javax.xml.ws.soap.SOAPFaultException and thrown to the Web Service client (this operation is according to the JAX-WS 2.2 specifications).
For SOAP 1.2, when the SOAP fault has multiple soapenv12:Text elements, only one Reason Text is set in the SOAPFault object included in the SOAPFaultException object. The value (string) set in the following location and locale is set:
- Value: value of the last soapenv12:Text element
- Locale: default locale of JavaVM
All Rights Reserved. Copyright (C) 2013, Hitachi, Ltd.