Sorry Preston, I did not get what you meant by only specifying the property that needs to be changed. Now I can see what you implied was that I should declare a new document and set only the property that I need to modify since the document id is passed to the ModifyItemRequest.
I've now managed to change the subject, and then added a custom field on the document.
Thanks
Originally Posted by Preston Stephenson
|
I don't understand.
In the modifyItemRequest that I see in the trace,
the whole item is passed in the <update> element,
not just the <subject> or <customs>/<custom> element
as I would expect.
>>> On Tuesday, October 13, 2009 at 7:06 AM,
loic01<loic01@no-mx.forums.novell.com>
wrote:
> Hi Preston,
>
> Thanks for your quick response, in the previous SOAP trace that I did
> attach I was trying to change only the subject field but unfortunately
> it did not do anything. In another attempt I was trying to set one
> custom field that was not set before but still the same result.
>
> Preston Stephenson;1871246 Wrote:
>> The code is not designed to handle updating a full object,
>> but only the fields that are indeed changing.
>>
>> Can you try you test again and only pass the elements that
>> you want to change?
>>
>> Thanks.
>>
>> >>> On Tuesday, October 13, 2009 at 4:26 AM,
>> loic01<loic01@no‑mx.forums.novell.com>
>> wrote:
>>
>> > Hi Preston,
>> >
>> > This is a bit strange, I don't know if I'm doing something but I'm
>> > trying to modify properties of an existing document such as subject
>> or
>> > custom fields; unfortunately it seems that no changes take place on
>> the
>> > document. Can you please assist on this, here are soap trace of the
>> > request and the response.
>> >
>> > Thanks
>> >
>> >
>> >
>>
+‑‑‑‑‑‑à ¢â‚¬â€˜Ã¢â‚¬â€˜Ã¢â‚¬â€˜Ã¢â
‚¬â€˜Ã¢â‚¬â€˜Ã¢â‚¬â€˜Ã¢â‚¬â€˜Ã¢â‚¬â€˜Ã¢â‚¬â€˜Ã¢â‚¬ ‘‑‑â€â€
˜Ã¢â‚¬â€˜Ã¢â‚¬â€˜Ã¢â‚¬â€˜Ã¢â‚¬â€˜Ã¢â‚¬â€˜Ã¢â‚¬â€˜
>>
‑‑‑‑‑‑â €‘‑‑ââ‚
¬â€˜Ã¢â‚¬â€˜Ã¢â‚¬â€˜Ã¢â‚¬â€˜Ã¢â‚¬â€˜Ã¢â‚¬â€˜Ã¢â‚¬â €˜Ã¢â‚¬â€˜Ã¢â‚¬â€˜Ã¢â‚¬â€˜
‑‑‑‑‑‑â
>>
€‘‑‑‑‑‑â₠¬â€˜Ã¢â‚¬â€˜Ã¢â‚¬â€˜Ã¢â‚¬â
€˜Ã¢â‚¬â€˜Ã¢â‚¬â€˜Ã¢â‚¬â€˜Ã¢â‚¬â€˜Ã¢â‚¬â€˜Ã¢â‚¬â€˜ ‑‑‑â
€‘+
>> > |Filename: RequestAndResponse.txt
>> |
>> > |Download: http://forums.novell.com/attachment....achmentid=3460
>> |
>> >
>>
+‑‑‑‑‑‑à ¢â‚¬â€˜Ã¢â‚¬â€˜Ã¢â‚¬â€˜Ã¢â
‚¬â€˜Ã¢â‚¬â€˜Ã¢â‚¬â€˜Ã¢â‚¬â€˜Ã¢â‚¬â€˜Ã¢â‚¬â€˜Ã¢â‚¬ ‘‑‑â€â€
˜Ã¢â‚¬â€˜Ã¢â‚¬â€˜Ã¢â‚¬â€˜Ã¢â‚¬â€˜Ã¢â‚¬â€˜Ã¢â‚¬â€˜
>>
‑‑‑‑‑‑â €‘‑‑ââ‚
¬â€˜Ã¢â‚¬â€˜Ã¢â‚¬â€˜Ã¢â‚¬â€˜Ã¢â‚¬â€˜Ã¢â‚¬â€˜Ã¢â‚¬â €˜Ã¢â‚¬â€˜Ã¢â‚¬â€˜Ã¢â‚¬â€˜
‑‑‑‑‑‑â
>>
€‘‑‑‑‑‑â₠¬â€˜Ã¢â‚¬â€˜Ã¢â‚¬â€˜Ã¢â‚¬â
€˜Ã¢â‚¬â€˜Ã¢â‚¬â€˜Ã¢â‚¬â€˜Ã¢â‚¬â€˜Ã¢â‚¬â€˜Ã¢â‚¬â€˜ ‑‑‑â
€‘+
|