Examples

The examples provided illustrate an update request and the response to an update request.

This is an example of an update request that modified the description of an object.

<p244:update xmlns:p244="http://www.ibm.com/xmlns/prod/serviceregistry/6/0/ws/sdo">
  <p905:datagraph xmlns:p905="commonj.sdo">
    <changeSummary logging="1"/>
    <p533:WSRR xmlns:p533="http://www.ibm.com/xmlns/prod/serviceregistry/6/0/sdo">
    <p533:root>
      e1c954e1-5c82-4289.86b3.0f01220fb3c2
    </p533:root>
    <p533:artifacts xsi:type="p533:XMLDocument"
                    bsrURI="e1c954e1-5c82-4289.86b3.0f01220fb3c2"
                    name="CreateSingleObjectTestDocument"
                    namespace="http://www.ibm.com/colgrave/WSRR/test"
                    description="Description modified by UpdateTest"
                    owner="UNAUTHENTICATED"
                    lastModified="1159429000286"
                    content="PD94bWwgdmVyc2lvbj0iMS4wIj8+DQo8cm9vdC8+DQo="
                    location="hexbinarytest.xml">
        <p533:userDefinedProperties name="UserDefinedPropertyOne"
                                    value="ValueOne"/>
      </p533:artifacts>
    </p533:WSRR>
  </p905:datagraph>
</p244:update>

This is an example of the response to such a request.

<p244:updateResponse xmlns:p244="http://www.ibm.com/xmlns/prod/serviceregistry/6/0/ws/sdo"/>

If the update is successful, no information is returned.

The related reference describes the standard SOAP envelope, header and body elements that messages are wrapped in.