Hi all,

I'm doing the following on the SDS (using curl) and having problems
and I'm wondering if anyone can help. Note that in step 2 I don't seem
to get members in my workgroup, despite the fact that I've just
created one. Can someone related to the SDS check out my technique and
possibly suggest what I am doing wrong. Thx.

Laurel

1) creating a membership list for a workgroup

curl -i -H 'Content-Type: application/xml' -X POST -d '<workgroup-
memberships><workgroup-membership><user-id>5362</user-id></workgroup-
membership></workgroup-memberships>' 
http://rails.dev.concord.org/sds/4/workgroup/1375/membership

HTTP/1.1 201 Created
Date: Wed, 23 May 2007 18:22:01 GMT
Server: lighttpd/1.4.11
Content-Type: application/xml
Location: http://rails.dev.concord.org/sds/4/workgroup/1375/membership
Cache-Control: no-cache
Content-Length: 0

2) retrieving a membership list for a workgroup

curl -i -X GET -H 'Accept: application/xml'
http://rails.dev.concord.org/sds/4/workgroup/1375/membership

HTTP/1.1 200 OK
Date: Wed, 23 May 2007 18:22:08 GMT
Server: lighttpd/1.4.11
Content-Type: application/xml
Cache-Control: no-cache
Content-Length: 184

<?xml version="1.0" encoding="UTF-8"?>
<workgroup-memberships>
  <workgroup-membership>
    <sail-user-id nil="true"></sail-user-id>
  </workgroup-membership>
</workgroup-memberships>


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SAIL-Dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/SAIL-Dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to