public class DispositionReport extends UDDIElement
UDDIException usually contains a Disposition report that has detailed information about the UDDI error as defined by the UDDI specification. If the response is a SOAP fault, but does not contains a disposition report, a UDDIException may be thrown without containing a DispositionReport. This class contains defines for the various error values that can be returned.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
E_accountLimitExceeded
Signifies that user account limits have been exceeded.
|
static java.lang.String |
E_assertionNotFound
Signifies that a particular publisher assertion (consisting of two businessKey values, and
a keyed reference with three components) cannot be identified in a save or delete operation.
|
static java.lang.String |
E_authTokenExpired
Signifies that the authentication token value passed in the authInfo argument
is no longer valid because the token has expired.
|
static java.lang.String |
E_authTokenRequired
Signifies that the authentication token value passed in the authInfo argument
is either missing or is not valid.
|
static java.lang.String |
E_busy
Signifies that the request cannot be processed at the current time.
|
static java.lang.String |
E_categorizationNotAllowed
Restrictions have been placed by the taxonomy provider on the types of
information that should be included at that location within a specific
taxonomy.
|
static java.lang.String |
E_fatalError
Signifies that a serious technical error has occurred while processing
the request.
|
static java.lang.String |
E_invalidCategory
Signifies that the given keyValue did not correspond to a category within
the taxonomy identified by a tModelKey value within one of the categoryBag elements provided.
|
static java.lang.String |
E_invalidCompletionStatus
Signifies that one of assertion status values passed is unrecognized.
|
static java.lang.String |
E_invalidKeyPassed
Signifies that the request cannot be satisfied because one or more uuid_key
values specified is not a valid key value.
|
static java.lang.String |
E_invalidProjection
Signifies that an attempt was made to save a businessEntity containing a service projection
that does not match the businessService being projected.
|
static java.lang.String |
E_invalidURLPassed
An error occurred with one of the uploadRegister URL values.
|
static java.lang.String |
E_invalidValue
A value that was passed in a keyValue attribute did not pass validation.
|
static java.lang.String |
E_keyRetired
Signifies that the request cannot be satisfied because one or more uuid_key
values specified has previously been hidden or removed by the requester.
|
static java.lang.String |
E_languageError
Signifies that an error was detected while processing elements that were annotated with
xml:lang qualifiers.
|
static java.lang.String |
E_messageTooLarge
Signifies that the message it too large.
|
static java.lang.String |
E_nameTooLong
Signifies that the partial name value passed exceeds the maximum name length designated by
the policy of an implementation or Operator Site.
|
static java.lang.String |
E_operatorMismatch
Signifies that one or more of the uuid_key values passed refers to data
that is not controlled by the Operator Site that received the request for processing.
|
static java.lang.String |
E_publisherCancelled
Signifies that the target publisher cancelled the custody transfer operation.
|
static java.lang.String |
E_requestDenied
Signifies that a custody transfer request has been refused.
|
static java.lang.String |
E_requestTimeout
Signifies that the request could not be carried out because a needed validate_values service did not
respond in a reasonable amount of time.
|
static java.lang.String |
E_secretUnknown
Signifies that the target publisher was unable to match the shared secret and the five (5)
attempt limit was exhausted.
|
static java.lang.String |
E_success
Signifies no failure occurred.
|
static java.lang.String |
E_tooManyOptions
Signifies that too many or incompatible arguments were passed.
|
static java.lang.String |
E_transferAborted
Signifies that a custody transfer request will not succeed.
|
static java.lang.String |
E_unknownUser
Signifies that the user ID and password pair passed in a get_authToken message is not known
to the Operator Site or is not valid.
|
static java.lang.String |
E_unrecognizedVersion
Signifies that the value of the generic attribute passed is unsupported by the Operator
Instance being queried.
|
static java.lang.String |
E_unsupported
Signifies that the implementer does not support a feature or API.
|
static java.lang.String |
E_unvalidatable
Signifies that an attempt was made to reference a taxonomy or identifier system in a
keyedReference whose tModel is categorized with the unvalidatable categorization.
|
static java.lang.String |
E_userMismatch
Signifies that one or more of the uuid_key values passed refers to data
that is not controlled by the individual who is represented by the authentication token.
|
static java.lang.String |
E_valueNotAllowed
Signifies that a value did not pass validation because of contextual issues.
|
static java.lang.String |
UDDI_TAG |
base, GENERIC, SOAPNS, XMLNS, XMLNS_PREFIX
Constructor and Description |
---|
DispositionReport()
Default constructor
|
DispositionReport(org.w3c.dom.Element el)
Constructer that parses the XML dom tree and extracts
useful attributes.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getErrCode()
Deprecated.
This method has been deprecated. Use
getResultVector() instead. |
java.lang.String |
getErrCode(int index)
Deprecated.
This method has been deprecated. Use
getResultVector() instead. |
java.lang.String |
getErrInfoText()
Deprecated.
This method has been deprecated. Use
getResultVector() instead. |
java.lang.String |
getErrInfoText(int index)
Deprecated.
This method has been deprecated. Use
getResultVector() instead. |
int |
getErrno()
Deprecated.
This method has been deprecated. Use
getResultVector() then |
int |
getErrno(int index)
Deprecated.
This method has been deprecated. Use
getResultVector() instead. |
java.lang.String |
getGeneric() |
java.lang.String |
getKeyType()
Deprecated.
This method has been deprecated. Use
getResultVector() instead. |
java.lang.String |
getKeyType(int index)
Deprecated.
This method has been deprecated. Use
getResultVector() instead. |
int |
getNumResults() |
java.lang.String |
getOperator() |
java.util.Vector |
getResultVector()
Retrieves the Vector containing the Result objects that were
present in this DispositionReport.
|
boolean |
getTruncated() |
boolean |
isValidElement(org.w3c.dom.Element el)
Tests the passed in element to determine if the
element is a serialized version of this object.
|
void |
saveToXML(org.w3c.dom.Element parent) |
void |
setErrCode(java.lang.String errCode)
Deprecated.
This method has been deprecated. Use
setResultVector( Vector ) instead. |
void |
setErrCode(java.lang.String errCode,
int index)
Deprecated.
This method has been deprecated. Use
setResultVector( Vector ) instead. |
void |
setErrInfoText(java.lang.String errInfoText)
Deprecated.
This method has been deprecated. Use
setResultVector( Vector ) instead. |
void |
setErrInfoText(java.lang.String errInfoText,
int index)
Deprecated.
This method has been deprecated. Use
setResultVector( Vector ) instead. |
void |
setErrno(int errno)
Deprecated.
This method has been deprecated. Use
setResultVector( Vector ) instead. |
void |
setErrno(int errno,
int index)
Deprecated.
This method has been deprecated. Use
setResultVector( Vector ) instead. |
void |
setGeneric(java.lang.String gen) |
void |
setKeyType(java.lang.String keyType)
Deprecated.
This method has been deprecated. Use
setResultVector( Vector ) instead. |
void |
setKeyType(java.lang.String keyType,
int index)
Deprecated.
This method has been deprecated. Use
setResultVector( Vector ) instead. |
void |
setOperator(java.lang.String oper) |
void |
setResultVector(java.util.Vector rv)
Set the Vector of result objects for this DispositionReport
|
void |
setTruncated(boolean t) |
boolean |
success() |
getChildElementsByTagName, getText
public static java.lang.String UDDI_TAG
public static final java.lang.String E_assertionNotFound
public static final java.lang.String E_authTokenExpired
public static final java.lang.String E_authTokenRequired
public static final java.lang.String E_accountLimitExceeded
public static final java.lang.String E_busy
public static final java.lang.String E_categorizationNotAllowed
public static final java.lang.String E_fatalError
public static final java.lang.String E_invalidKeyPassed
public static final java.lang.String E_invalidProjection
public static final java.lang.String E_invalidCategory
public static final java.lang.String E_invalidCompletionStatus
public static final java.lang.String E_invalidURLPassed
public static final java.lang.String E_invalidValue
public static final java.lang.String E_keyRetired
public static final java.lang.String E_languageError
public static final java.lang.String E_messageTooLarge
public static final java.lang.String E_nameTooLong
public static final java.lang.String E_operatorMismatch
public static final java.lang.String E_publisherCancelled
public static final java.lang.String E_requestDenied
public static final java.lang.String E_requestTimeout
public static final java.lang.String E_secretUnknown
public static final java.lang.String E_success
public static final java.lang.String E_tooManyOptions
public static final java.lang.String E_transferAborted
public static final java.lang.String E_unrecognizedVersion
public static final java.lang.String E_unknownUser
public static final java.lang.String E_unsupported
public static final java.lang.String E_unvalidatable
public static final java.lang.String E_userMismatch
public static final java.lang.String E_valueNotAllowed
public DispositionReport()
public DispositionReport(org.w3c.dom.Element el) throws UDDIException
el
- Root element of the tree within the SOAP body.UDDIException
public boolean getTruncated()
public java.lang.String getGeneric()
public java.lang.String getOperator()
public boolean success()
public int getErrno()
getResultVector()
thenpublic int getErrno(int index)
getResultVector()
instead.public java.lang.String getErrCode()
getResultVector()
instead.public java.lang.String getErrCode(int index)
getResultVector()
instead.public java.lang.String getErrInfoText()
getResultVector()
instead.public java.lang.String getErrInfoText(int index)
getResultVector()
instead.public java.lang.String getKeyType()
getResultVector()
instead.public java.lang.String getKeyType(int index)
getResultVector()
instead.public java.util.Vector getResultVector()
public int getNumResults()
public void setGeneric(java.lang.String gen)
public void setOperator(java.lang.String oper)
public void setTruncated(boolean t)
public void setErrno(int errno)
setResultVector( Vector )
instead.public void setErrno(int errno, int index)
setResultVector( Vector )
instead.public void setErrCode(java.lang.String errCode)
setResultVector( Vector )
instead.public void setErrCode(java.lang.String errCode, int index)
setResultVector( Vector )
instead.public void setErrInfoText(java.lang.String errInfoText)
setResultVector( Vector )
instead.public void setErrInfoText(java.lang.String errInfoText, int index)
setResultVector( Vector )
instead.public void setKeyType(java.lang.String keyType)
setResultVector( Vector )
instead.public void setKeyType(java.lang.String keyType, int index)
setResultVector( Vector )
instead.public void setResultVector(java.util.Vector rv)
rv
- Vector of Result objects.public boolean isValidElement(org.w3c.dom.Element el)
el
- Root element for this objectpublic void saveToXML(org.w3c.dom.Element parent)
saveToXML
in class UDDIElement
Copyright ? 2001 International Business Machines Corporation, Hewlett-Packard Company. All Rights Reserved.