element <updateResponse> (global)
Namespace:
Type:
Content:
complex, 1 attribute, 1 element
Defined:
globally in hsdl.xsd; see XML source
Used:
never
XML Representation Summary
<updateResponse
   
 = 
xsd:nonNegativeInteger
   
>
   
Content: 
</updateResponse>
Content model elements (1):
updateBlockStatus (in updateResponse)
Annotation
This message contains the results of an <b>updateRequest</b> message. It may appear as a response to an <b>updateRequest</b>, or, in the case of a fault during the processing of an <b>updateRequest</b>, may appear in a SOAP <b>Fault</b> element. <p/> The <b>updateResponse</b> message contains multiple <b>updateBlockStatus</b> elements. One of these elements exists for each <b>updateBlock</b> in the <b>updateRequest</b> message. Each of these contains a status element for each operation in the <b>updateBlock</b>. Additionally, because the changes alter all ancestor change numbers, a <b>newChangeNumber</b> attribute is present so that clients can update their caches.
XML Source (see within schema source)
<xsd:element name="updateResponse" type="updateResponseType">
<xsd:annotation>
<xsd:documentation>
This message contains the results of an
<b>updateRequest</b>
message. It may
appear as a response to an
<b>updateRequest</b>
, or, in the case of a fault during the
processing of an
<b>updateRequest</b>
, may appear in a SOAP
<b>Fault</b>
element.
<p/>
The
<b>updateResponse</b>
message contains multiple
<b>updateBlockStatus</b>
elements. One of these
elements exists for each
<b>updateBlock</b>
in the
<b>updateRequest</b>
message. Each of these contains
a status element for each operation in the
<b>updateBlock</b>
. Additionally, because the
changes alter all ancestor change numbers, a
<b>newChangeNumber</b>
attribute is present so that clients can update their caches.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
Attribute Detail (all declarations; 1/1)
newChangeNumber
Type:
Use:
required
Defined:
locally within updateResponseType complexType
This attribute returns the <b>changeNumber</b> resulting from the entire <b>updateRequest</b>. A given <b>updateRequest</b> changes only a single <b>changeNumber</b> value and the application must update affected nodes in its own cache.
XML Source (see within schema source)
<xsd:attribute name="newChangeNumber" type="changeNumberType" use="required">
<xsd:annotation>
<xsd:documentation>
This attribute returns the
<b>changeNumber</b>
resulting from the entire
<b>updateRequest</b>
. A
given
<b>updateRequest</b>
changes only a single
<b>changeNumber</b>
value and the application
must update affected nodes in its own cache.
</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
Content Element Detail (all declarations; 1/1)
updateBlockStatus
Type:
anonymous complexType, complex content
Defined:
locally within updateResponseType complexType
This element contains status information for the <b>updateBlock</b>. This element indicates the status of the entire <b>updateBlock</b>. It can be one of the following: <b>success</b>, <b>failure</b>, <b>rollback</b>, or <b>notAttempted</b>.<p/> If the status is <b>rollback</b> or <b>notAttempted</b>, the .NET service data was not affected by the corresponding <b>updateBlock</b>. A value of <b>success</b> means that the <b>updateBlock</b> did the specified work, which may or may not have side effects. A value of <b>failure</b> means that the <b>updateBlock</b> was partially executed and the <b>updateOperationStatus</b> elements have additional information.
XML Source (see within schema source)
<xsd:element maxOccurs="unbounded" minOccurs="0" name="updateBlockStatus">
<xsd:annotation>
<xsd:documentation>
This element contains status information for the
<b>updateBlock</b>
. This element indicates the status
of the entire
<b>updateBlock</b>
. It can be one of the following:
<b>success</b>
,
<b>failure</b>
,
<b>rollback</b>
,
or
<b>notAttempted</b>
.
<p/>
If the status is
<b>rollback</b>
or
<b>notAttempted</b>
, the .NET service data was not affected
by the corresponding
<b>updateBlock</b>
. A value of
<b>success</b>
means that the
<b>updateBlock</b>
did the
specified work, which may or may not have side effects. A value of
<b>failure</b>
means that the
<b>updateBlock</b>
was partially executed and the
<b>updateOperationStatus</b>
elements have additional
information.
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element maxOccurs="unbounded" minOccurs="0" ref="insertResponse"/>
<xsd:element maxOccurs="unbounded" minOccurs="0" ref="deleteResponse"/>
<xsd:element maxOccurs="unbounded" minOccurs="0" ref="replaceResponse"/>
</xsd:sequence>
<xsd:attributeGroup ref="standardResponseAttributeGroup"/>
</xsd:complexType>
</xsd:element>