Modified: juddi/branches/juddi-3.3.x/uddi-ws/src/main/java/org/uddi/api_v3/DispositionReport.java URL: http://svn.apache.org/viewvc/juddi/branches/juddi-3.3.x/uddi-ws/src/main/java/org/uddi/api_v3/DispositionReport.java?rev=1550992&r1=1550991&r2=1550992&view=diff ============================================================================== --- juddi/branches/juddi-3.3.x/uddi-ws/src/main/java/org/uddi/api_v3/DispositionReport.java (original) +++ juddi/branches/juddi-3.3.x/uddi-ws/src/main/java/org/uddi/api_v3/DispositionReport.java Sun Dec 15 02:10:24 2013 @@ -14,8 +14,6 @@ * limitations under the License. * */ - - package org.uddi.api_v3; import java.io.Serializable; @@ -36,12 +34,12 @@ import javax.xml.bind.annotation.XmlType import org.uddi.JAXBContextUtil; import org.w3c.dom.Node; - /** * <p>Java class for dispositionReport complex type. - * - * <p>The following schema fragment specifies the expected content contained within this class. - * + * + * <p>The following schema fragment specifies the expected content contained + * within this class. + * * <pre> * <complexType name="dispositionReport"> * <complexContent> @@ -54,153 +52,149 @@ import org.w3c.dom.Node; * </complexContent> * </complexType> * </pre> - * - * + * + * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "dispositionReport", propOrder = { - "result" + "result" }) @XmlRootElement public class DispositionReport implements Serializable { - @XmlTransient - private static final long serialVersionUID = 5852663849477002516L; - @XmlElement(required = true) - protected List<Result> result; - @XmlAttribute - protected Boolean truncated; - - public final static transient String E_ACCOUNT_LIMIT_EXCEEDED = "E_accountLimitExceeded"; - public final static transient String E_ASSERTION_NOT_FOUND = "E_assertionNotFound"; - public final static transient String E_AUTH_TOKEN_EXPIRED = "E_authTokenExpired"; - public final static transient String E_AUTH_TOKEN_REQUIRED = "E_authTokenRequired"; - public final static transient String E_BUSY = "E_busy"; - public final static transient String E_CATEGORIZATION_NOT_ALLOWED = "E_categorizationNotAllowed"; - public final static transient String E_FATAL_ERROR = "E_fatalError"; - public final static transient String E_INVALID_COMBINATION = "E_invalidCombination"; - public final static transient String E_INVALID_CATEGORY = "E_invalidCategory"; - public final static transient String E_INVALID_COMPLETION_STATUS = "E_invalidCompletionStatus"; - public final static transient String E_INVALID_KEY_PASSED = "E_invalidKeyPassed"; - public final static transient String E_KEY_UNAVAILABLE = "E_keyUnavailable"; - public final static transient String E_INVALID_PROJECTION = "E_invalidProjection"; - public final static transient String E_INVALID_TIME = "E_invalidTime"; - public final static transient String E_INVALID_URL_PASSED = "E_invalidURLPassed"; - public final static transient String E_INVALID_VALUE = "E_invalidValue"; - public final static transient String E_KEY_RETIRED = "E_keyRetired"; - public final static transient String E_LANGUAGE_ERROR = "E_languageError"; - public final static transient String E_MESSAGE_TOO_LARGE = "E_messageTooLarge"; - public final static transient String E_NAME_TOO_LONG = "E_nameTooLong"; - public final static transient String E_OPERATOR_MISMATCH = "E_operatorMismatch"; - public final static transient String E_PUBLISHER_CANCELLED = "E_publisherCancelled"; - public final static transient String E_REQUEST_DENIED = "E_requestDenied"; - public final static transient String E_REQUEST_TIMEOUT = "E_requestTimeout"; - public final static transient String E_RESULT_SET_TOO_LARGE = "E_resultSetTooLarge"; - public final static transient String E_SECRET_UNKNOWN = "E_secretUnknown"; - public final static transient String E_SUCCESS = "E_success"; - public final static transient String E_TOO_MANY_OPTIONS = "E_tooManyOptions"; - public final static transient String E_TRANSFER_ABORTED = "E_transferAborted"; - public final static transient String E_UNKNOWN_USER = "E_unknownUser"; - public final static transient String E_UNRECOGNIZED_VERSION = "E_unrecognizedVersion"; - public final static transient String E_UNSUPPORTED = "E_unsupported"; - public final static transient String E_UNVALIDATABLE = "E_unvalidatable"; - public final static transient String E_USER_MISMATCH = "E_userMismatch"; - public final static transient String E_VALUE_NOT_ALLOWED = "E_valueNotAllowed"; - public final static transient String E_TOKEN_ALREADY_EXISTS = "E_tokenAlreadyExists"; - public final static transient String E_TRANSFER_NOT_ALLOWED = "E_transferNotAllowed"; - - /** - * - */ - public DispositionReport() { - super(); - } - /** - * - * @param node - * @throws JAXBException - */ - public DispositionReport(Node node) throws JAXBException { - super(); - JAXBContextUtil.getContext(this.getClass().getPackage().getName()); - Unmarshaller u = JAXBContextUtil.getContext( - this.getClass().getPackage().getName()).createUnmarshaller(); - JAXBElement<DispositionReport> element = u.unmarshal(node, DispositionReport.class); - this.result = element.getValue().getResult(); - this.truncated = element.getValue().truncated; - } - - /** - * Gets the value of the result property. - * - * <p> - * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a <CODE>set</CODE> method for the result property. - * - * <p> - * For example, to add a new item, do as follows: - * <pre> - * getResult().add(newItem); - * </pre> - * - * - * <p> - * Objects of the following type(s) are allowed in the list + + @XmlTransient + private static final long serialVersionUID = 5852663849477002516L; + @XmlElement(required = true) + protected List<Result> result; + @XmlAttribute + protected Boolean truncated; + public final static transient String E_ACCOUNT_LIMIT_EXCEEDED = "E_accountLimitExceeded"; + public final static transient String E_ASSERTION_NOT_FOUND = "E_assertionNotFound"; + public final static transient String E_AUTH_TOKEN_EXPIRED = "E_authTokenExpired"; + public final static transient String E_AUTH_TOKEN_REQUIRED = "E_authTokenRequired"; + public final static transient String E_BUSY = "E_busy"; + public final static transient String E_CATEGORIZATION_NOT_ALLOWED = "E_categorizationNotAllowed"; + public final static transient String E_FATAL_ERROR = "E_fatalError"; + public final static transient String E_INVALID_COMBINATION = "E_invalidCombination"; + public final static transient String E_INVALID_CATEGORY = "E_invalidCategory"; + public final static transient String E_INVALID_COMPLETION_STATUS = "E_invalidCompletionStatus"; + public final static transient String E_INVALID_KEY_PASSED = "E_invalidKeyPassed"; + public final static transient String E_KEY_UNAVAILABLE = "E_keyUnavailable"; + public final static transient String E_INVALID_PROJECTION = "E_invalidProjection"; + public final static transient String E_INVALID_TIME = "E_invalidTime"; + public final static transient String E_INVALID_URL_PASSED = "E_invalidURLPassed"; + public final static transient String E_INVALID_VALUE = "E_invalidValue"; + public final static transient String E_KEY_RETIRED = "E_keyRetired"; + public final static transient String E_LANGUAGE_ERROR = "E_languageError"; + public final static transient String E_MESSAGE_TOO_LARGE = "E_messageTooLarge"; + public final static transient String E_NAME_TOO_LONG = "E_nameTooLong"; + public final static transient String E_OPERATOR_MISMATCH = "E_operatorMismatch"; + public final static transient String E_PUBLISHER_CANCELLED = "E_publisherCancelled"; + public final static transient String E_REQUEST_DENIED = "E_requestDenied"; + public final static transient String E_REQUEST_TIMEOUT = "E_requestTimeout"; + public final static transient String E_RESULT_SET_TOO_LARGE = "E_resultSetTooLarge"; + public final static transient String E_SECRET_UNKNOWN = "E_secretUnknown"; + public final static transient String E_SUCCESS = "E_success"; + public final static transient String E_TOO_MANY_OPTIONS = "E_tooManyOptions"; + public final static transient String E_TRANSFER_ABORTED = "E_transferAborted"; + public final static transient String E_UNKNOWN_USER = "E_unknownUser"; + public final static transient String E_UNRECOGNIZED_VERSION = "E_unrecognizedVersion"; + public final static transient String E_UNSUPPORTED = "E_unsupported"; + public final static transient String E_UNVALIDATABLE = "E_unvalidatable"; + public final static transient String E_USER_MISMATCH = "E_userMismatch"; + public final static transient String E_VALUE_NOT_ALLOWED = "E_valueNotAllowed"; + public final static transient String E_TOKEN_ALREADY_EXISTS = "E_tokenAlreadyExists"; + public final static transient String E_TRANSFER_NOT_ALLOWED = "E_transferNotAllowed"; + + /** + * + */ + public DispositionReport() { + super(); + } + + /** + * + * @param node + * @throws JAXBException + */ + public DispositionReport(Node node) throws JAXBException { + super(); + JAXBContextUtil.getContext(this.getClass().getPackage().getName()); + Unmarshaller u = JAXBContextUtil.getContext( + this.getClass().getPackage().getName()).createUnmarshaller(); + JAXBElement<DispositionReport> element = u.unmarshal(node, DispositionReport.class); + this.result = element.getValue().getResult(); + this.truncated = element.getValue().truncated; + } + + /** + * Gets the value of the result property. + * + * <p> + * This accessor method returns a reference to the live list, not a + * snapshot. Therefore any modification you make to the returned list + * will be present inside the JAXB object. This is why there is not a + * <CODE>set</CODE> method for the result property. + * + * <p> + * For example, to add a new item, do as follows: + * <pre> + * getResult().add(newItem); + * </pre> + * + * + * <p> + * Objects of the following type(s) are allowed in the list * {@link Result } - * - * - */ - public List<Result> getResult() { - if (result == null) { - result = new ArrayList<Result>(); - } - return this.result; - } - - /** - * Gets the value of the truncated property. - * - * @return - * possible object is - * {@link Boolean } - * - */ - public Boolean isTruncated() { - return truncated; - } - - /** - * Sets the value of the truncated property. - * - * @param value - * allowed object is - * {@link Boolean } - * - */ - public void setTruncated(Boolean value) { - this.truncated = value; - } - - /** - * Determines if one of the Results in the this DispositionReport has a Error Code - * that matches the errCodeKey passed in. The errCodeKey should be one - * of the - * - * @param errCodeKey - * @return true if the errCodeKey matches with a code in the Results. - */ - public boolean countainsErrorCode(final String errCodeKey) { - boolean isKeyMatch = false; - for (Result result : getResult()) { - String errCode = result.getErrInfo().getErrCode(); - if (errCodeKey.equals(errCode)) { - isKeyMatch = true; - break; - } - } - return isKeyMatch; - } + * + * + */ + public List<Result> getResult() { + if (result == null) { + result = new ArrayList<Result>(); + } + return this.result; + } + /** + * Gets the value of the truncated property. + * + * @return possible object is {@link Boolean } + * + */ + public Boolean isTruncated() { + return truncated; + } + + /** + * Sets the value of the truncated property. + * + * @param value allowed object is {@link Boolean } + * + */ + public void setTruncated(Boolean value) { + this.truncated = value; + } + + /** + * Determines if one of the Results in the this DispositionReport has a + * Error Code that matches the errCodeKey passed in. The errCodeKey + * should be one of the + * + * @param errCodeKey + * @return true if the errCodeKey matches with a code in the Results. + */ + public boolean countainsErrorCode(final String errCodeKey) { + boolean isKeyMatch = false; + for (Result result : getResult()) { + String errCode = result.getErrInfo().getErrCode(); + if (errCodeKey.equals(errCode)) { + isKeyMatch = true; + break; + } + } + return isKeyMatch; + } } \ No newline at end of file
Modified: juddi/branches/juddi-3.3.x/uddi-ws/src/main/resources/juddi_api_v1.wsdl URL: http://svn.apache.org/viewvc/juddi/branches/juddi-3.3.x/uddi-ws/src/main/resources/juddi_api_v1.wsdl?rev=1550992&r1=1550991&r2=1550992&view=diff ============================================================================== --- juddi/branches/juddi-3.3.x/uddi-ws/src/main/resources/juddi_api_v1.wsdl (original) +++ juddi/branches/juddi-3.3.x/uddi-ws/src/main/resources/juddi_api_v1.wsdl Sun Dec 15 02:10:24 2013 @@ -134,7 +134,13 @@ xmlns:uddi="urn:uddi-org:api_v3"> <xs:complexType name="get_AllNodesResponse"> <xs:sequence> - <xs:element maxOccurs="unbounded" name="node" type="tns:node"/> + <xs:element name="nodeList" nillable="true" type="tns:nodeList"/> + </xs:sequence> + </xs:complexType> + + <xs:complexType name="nodeList"> + <xs:sequence> + <xs:element maxOccurs="unbounded" minOccurs="0" name="node" type="tns:node"/> </xs:sequence> </xs:complexType> @@ -147,6 +153,12 @@ xmlns:uddi="urn:uddi-org:api_v3"> <xs:complexType name="get_AllClerksResponse"> <xs:sequence> + <xs:element name="clerkList" nillable="true" type="tns:clerkList"/> + </xs:sequence> + </xs:complexType> + + <xs:complexType name="clerkList"> + <xs:sequence> <xs:element maxOccurs="unbounded" minOccurs="0" name="clerk" nillable="true" type="tns:clerk"/> </xs:sequence> </xs:complexType> @@ -159,11 +171,6 @@ xmlns:uddi="urn:uddi-org:api_v3"> </xs:sequence> </xs:complexType> - <xs:complexType name="delete_NodeResponse"> - <xs:sequence> - <xs:element name="dispositionReport" type="uddi:dispositionReport"/> - </xs:sequence> - </xs:complexType> <xs:complexType name="delete_Clerk"> <xs:sequence> @@ -172,11 +179,6 @@ xmlns:uddi="urn:uddi-org:api_v3"> </xs:sequence> </xs:complexType> - <xs:complexType name="delete_ClerkResponse"> - <xs:sequence> - <xs:element name="dispositionReport" type="uddi:dispositionReport"/> - </xs:sequence> - </xs:complexType> @@ -355,7 +357,7 @@ xmlns:uddi="urn:uddi-org:api_v3"> <xs:element name="delete_Clerk" nillable="true" type="tns:delete_Clerk"/> - <xs:element name="delete_ClerkResponse" nillable="true" type="tns:delete_ClerkResponse"/> + <!--<xs:element name="delete_ClerkResponse" nillable="true" type="tns:delete_ClerkResponse"/>--> <xs:element name="get_AllNodes" nillable="true" type="tns:get_AllNodes"/> <xs:element name="get_AllNodesResponse" nillable="true" type="tns:get_AllNodesResponse"/> @@ -363,7 +365,7 @@ xmlns:uddi="urn:uddi-org:api_v3"> <xs:element name="get_AllClerksResponse" nillable="true" type="tns:get_AllClerksResponse"/> <xs:element name="delete_Node" nillable="true" type="tns:delete_Node"/> - <xs:element name="delete_NodeResponse" nillable="true" type="tns:delete_NodeResponse"/> + <!--<xs:element name="delete_NodeResponse" nillable="true" type="tns:delete_NodeResponse"/>--> <xs:element name="get_ReplicationNodes" nillable="true" type="tns:get_ReplicationNodes"/> <xs:element name="get_ReplicationNodesResponse" nillable="true" type="tns:get_ReplicationNodesResponse"/> @@ -535,14 +537,14 @@ xmlns:uddi="urn:uddi-org:api_v3"> <wsdl:part element="ns1:delete_Node" name="body"></wsdl:part> </wsdl:message> <wsdl:message name="delete_NodeResponse"> - <wsdl:part element="ns1:delete_NodeResponse" name="response"></wsdl:part> + <!--<wsdl:part element="ns1:delete_NodeResponse" name="response"></wsdl:part>--> </wsdl:message> <wsdl:message name="delete_Clerk"> <wsdl:part element="ns1:delete_Clerk" name="request"></wsdl:part> </wsdl:message> <wsdl:message name="delete_ClerkResponse"> - <wsdl:part element="ns1:delete_ClerkResponse" name="response"></wsdl:part> +<!-- <wsdl:part element="ns1:delete_ClerkResponse" name="response"></wsdl:part>--> </wsdl:message> <wsdl:message name="get_ReplicationNodes"> --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
