|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BaseFaultBinderHelper
The BaseFaultBinderHelper interface provides support for serializing and deserializing the data that
is specific to a root BaseFault class, which all specialized BaseFault classes must extend.
For an application-level, specialized BaseFault, a custom binder must be provided to define how the Web Services runtime
serializes the Java class into an appropriate XML message, and conversely how to deserialize an XML message into
an instance of the Java class.
If a custom binder uses the BaseFaultBinderHelper support, the custom binder then needs to provide only the additional
logic for serializing and deserializing the extended data.
An instance of BaseFaultBinderHelper can be retrieved through the BaseFaultBinderHelperFactory
.
Method Summary | |
---|---|
javax.xml.soap.SOAPElement[] |
deserialize(BaseFault baseFault,
javax.xml.soap.SOAPElement soapElement)
Deserializes a SOAPElement into the supplied specialized BaseFault. |
javax.xml.soap.SOAPElement |
serialize(javax.xml.soap.SOAPElement root,
BaseFault baseFault)
Serializes the supplied specialized BaseFault into a SOAPElement. |
Method Detail |
---|
javax.xml.soap.SOAPElement serialize(javax.xml.soap.SOAPElement root, BaseFault baseFault) throws javax.xml.soap.SOAPException
rootNode
- into which the object should be placedbaseFault
- the specialized BaseFault to be serialized
javax.xml.soap.SOAPException
- if a problem occurs during serializationjavax.xml.soap.SOAPElement[] deserialize(BaseFault baseFault, javax.xml.soap.SOAPElement soapElement) throws javax.xml.soap.SOAPException
baseFault
- the specialized BaseFault into which the SOAPElement is deserializedrootNode
- the SOAPElement to be deserialized
javax.xml.soap.SOAPException
- if a problem occurs during deserialization
|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |