| java.lang.Object com.sun.xml.ws.fault.SOAPFaultBuilder com.sun.xml.ws.fault.SOAP11Fault
SOAP11Fault | class SOAP11Fault extends SOAPFaultBuilder (Code) | | This class represents SOAP1.1 Fault. This class will be used to marshall/unmarshall a soap fault using JAXB.
Example:
<soap:Fault xmlns:soap='http://schemas.xmlsoap.org/soap/envelope/'>
<faultcode>soap:Client</faultcode>
<faultstring>Invalid message format</faultstring>
<faultactor>http://example.org/someactor</faultactor>
<detail>
<m:msg xmlns:m='http://example.org/faults/exceptions'>
Test message
</m:msg>
</detail>
</soap:Fault>
Above, m:msg, if a known fault (described in the WSDL), IOW, if m:msg is known by JAXBContext it should be unmarshalled into a
Java object otherwise it should be deserialized as
javax.xml.soap.Detail
author: Vivek Pandey |
SOAP11Fault | SOAP11Fault()(Code) | | |
SOAP11Fault | SOAP11Fault(QName code, String reason, String actor, Element detailObject)(Code) | | This constructor takes soap fault detail among other things. The detail could represent
javax.xml.soap.Detail or a java object that can be marshalled/unmarshalled by JAXB.
Parameters: code - Parameters: reason - Parameters: actor - Parameters: detailObject - |
getDetail | DetailType getDetail()(Code) | | returns the object that represents detail.
|
setFaultstring | void setFaultstring(String faultstring)(Code) | | |
|
|