|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FaultDetailHandler
The FaultDetailHandler
interface is implemented by stubs that
handle custom faults.
If the WSDL description of a service endpoint includes operations
with custom faults (wsdl:fault), the generated stub must
provide an implementation of the FaultDetailHandler
interface. The implementation of this interface is used by the
runtime to retrieve a description of the detail portion of the
SOAP fault. When the stub creates an instance in the
Operation
class, it passes a reference to the
FaultDetailHandler
.
If the SOAP fault does not map to RemoteException
,
or one of its subclasses, and the stub has passed a
FaultDetailHandler
object reference to the runtime,
the runtime must call the FaultDetailHandler
method
handleFault
passing the QName
of the
child element of the SOAP fault detail element. The method
handleFault
returns an Element
describing
the SOAP fault detail.
Operation
,
Element
,
QName
.
Method Summary | ||
---|---|---|
Element |
handleFault(QName detailName)
Returns an Element describing the SOAP fault detail,
or null if there is no mapping for the SOAP fault
detail element. |
Method Detail |
---|
Element handleFault(QName detailName)
Element
describing the SOAP fault detail,
or null
if there is no mapping for the SOAP fault
detail element.
detailName
- the QName
of the SOAP fault detail.
Element
object describing the SOAP fault detail.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal