com.ibm.websphere.wsrf
Interface BaseFaultBinderHelper
- public interface BaseFaultBinderHelper
BaseFaultBinderHelperFactory
.
Method Summary
Modifier and Type | Method and Description |
---|---|
|
deserialize(BaseFault baseFault,javax.xml.soap.SOAPElement soapElement)
Deserializes a SOAPElement into the supplied specialized BaseFault.
|
|
serialize(javax.xml.soap.SOAPElement root,BaseFault baseFault)
Serializes the supplied specialized BaseFault into a SOAPElement.
|
Method Detail
serialize
- javax.xml.soap.SOAPElement serialize( javax.xml.soap.SOAPElement root,
- BaseFault baseFault)
- throws javax.xml.soap.SOAPException
Serializes the supplied specialized BaseFault into a SOAPElement. This method is intended for use
by a specialized BaseFault's custom binder and allows for re-use of the serialize logic
for a root BaseFault.
baseFault
- the specialized BaseFault to be serialized Returns:
SOAPElement representing the serialised form of the specialized BaseFault passed as a parameter
Throws:
javax.xml.soap.SOAPException
- if a problem occurs during serialization deserialize
- javax.xml.soap.SOAPElement[] deserialize( BaseFault baseFault,
- javax.xml.soap.SOAPElement soapElement)
- throws javax.xml.soap.SOAPException
Deserializes a SOAPElement into the supplied specialized BaseFault. This method is provided to allow
re-use of the deserialize logic for a root BaseFault.
Any additional elements which form part of the specialized BaseFault will be returned within a SOAPElement[]
to allow for extension-specific handling of these within the specialized BaseFault's custom binder.
Parameters:
baseFault
- the specialized BaseFault into which the SOAPElement is deserialized Returns:
SOAPElement[] array of unprocessed SOAPElements, which form part of the specialized BaseFault.
Throws:
javax.xml.soap.SOAPException
- if a problem occurs during deserialization