javax.wsdl

Interface Fault

public interface Fault extends WSDLElement

This interface represents a fault message, and contains the name of the fault and the message itself.

Author: Matthew J. Duftler

Method Summary
MessagegetMessage()
StringgetName()
Get the name of this fault message.
voidsetMessage(Message message)
voidsetName(String name)
Set the name of this fault message.

Method Detail

getMessage

public Message getMessage()

getName

public String getName()
Get the name of this fault message.

Returns: the fault message name

setMessage

public void setMessage(Message message)

setName

public void setName(String name)
Set the name of this fault message.

Parameters: name the desired name

Copyright B) 2003,2006 IBM. All Rights Reserved.