Re: Assigning a moderator

2010-09-15 Thread Abraham Block
Yeah, I figured that out eventually...I didn't have every field. I didn't
realize that they were all required to some extent. It was actually saving
rooms, but some of the data it was saving was incorrect.

On Wed, Sep 15, 2010 at 2:59 AM, Sebastian Wagner seba.wag...@gmail.comwrote:

 Sorry Abraham,

 but from my point of view all listings here are wrong.
 At least if you are using the latest Version...

 The method signature is:

 public Long addRoomWithModeration(String SID, String name,
 Long roomtypes_id ,
 String comment, Long numberOfPartizipants,
 Boolean ispublic,
 Boolean appointment,
 Boolean isDemoRoom,
 Integer demoTime,
 Boolean isModeratedRoom)

 If you simply count the params you'll already see that none of your
 examples fit into the method signature.

 Sebastian

 2010/9/15 Abraham Block atbl...@gmail.com

 this seems to work:

 env:Envelope xmlns:env=http://www.w3.org/2003/05/soap-envelope;
 xmlns:ns1=http://services.axis.openmeetings.org;
   env:Body
 ns1:addRoomWithModeration
   ns1:SIDe678e01ddb070ea13e31e8a64d888e54/ns1:SID
   ns1:nameMy Test Room2/ns1:name
   ns1:roomtypes_id2/ns1:roomtypes_id
   ns1:numberOfPartizipants30/ns1:numberOfPartizipants
   *ns1:ispublic1/ns1:ispublic*
   ns1:isModeratedRoomtrue/ns1:isModeratedRoom
 /ns1:addRoomWithModeration
   /env:Body
 /env:Envelope

 but not this

 env:Envelope xmlns:env=http://www.w3.org/2003/05/soap-envelope;
 xmlns:ns1=http://services.axis.openmeetings.org;
   env:Body
 ns1:addRoomWithModeration
   ns1:SIDe678e01ddb070ea13e31e8a64d888e54/ns1:SID
   ns1:nameMy Test Room2/ns1:name
   ns1:roomtypes_id2/ns1:roomtypes_id
   ns1:numberOfPartizipants30/ns1:numberOfPartizipants
   *ns1:ispublictrue/ns1:ispublic*
   ns1:isModeratedRoomtrue/ns1:isModeratedRoom
 /ns1:addRoomWithModeration
   /env:Body
 /env:Envelope

 The only difference is  ns1:ispublic1/ns1:ispublic vs
 ns1:ispublictrue/ns1:ispublic

 The latter returns:

 soapenv:Envelope xmlns:soapenv=http://www.w3.org/2003/05/soap-envelope
 
soapenv:Body
   soapenv:Fault
  soapenv:Code
 soapenv:Valuesoapenv:Receiver/soapenv:Value
  /soapenv:Code
  soapenv:Reason
 soapenv:Text xml:lang=en-USFor input string:
 true/soapenv:Text
  /soapenv:Reason
  soapenv:Detail/
   /soapenv:Fault
/soapenv:Body
 /soapenv:Envelope

 But this is what is generated from my SOAP client.

 Any idea why this would be? I'm pretty sure true is the way you're
 supposed to send a boolean, and it works for isModeratedRoom.

 On Tue, Sep 14, 2010 at 5:27 PM, Abraham Block atbl...@gmail.com wrote:

 What should I be looking out for, exactly?
 Now that I look at things more carefully, even though I see my room in
 the database, I don't see it in the admin for openmeetings...on the hunch
 that this has something to do with it, I created a hash for one the rooms
 which does appear, and, it works like a charm!

 Now that I've been chasing the wrong tail for the four hours..

 On Tue, Sep 14, 2010 at 5:13 PM, Sebastian Wagner seba.wag...@gmail.com
  wrote:

 Hallo Avi,

 I have been using this Method all the time, please review your code and
 params I am quite sure it should work.
 It is quite handy to use a Standalone SOAP Client/Browser like
 http://ditchnet.org/soapclient/ to verify the calls before you
 implement those.

 Sebastian

 2010/9/14 Avi Block atbl...@gmail.com

 In the SOAP documentation it says:
 Boolean  isModeratedRoom Users have to wait untill a Moderator
 arrives. Use the becomeModerator param in
 setUserObjectAndGenerateRoomHash to set a user as default Moderator

 So I set that to true and in when I called
 setUserObjectAndGenerateRoomHash I set becomeModeratorAsInt to 1.

 I assumed this would make this user a moderator. Unfortunately it
 didn't.

 --
 You received this message because you are subscribed to the Google
 Groups OpenMeetings User group.
 To post to this group, send email to
 openmeetings-u...@googlegroups.com.
 To unsubscribe from this group, send email to
 openmeetings-user+unsubscr...@googlegroups.comopenmeetings-user%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/openmeetings-user?hl=en.




 --
 Sebastian Wagner
 http://www.webbase-design.de
 http://openmeetings.googlecode.com
 http://www.wagner-sebastian.com
 seba.wag...@gmail.com

 --
 You received this message because you are subscribed to the Google
 Groups OpenMeetings User group.
 To post to this group, send email to openmeetings-user@googlegroups.com
 .
 To unsubscribe from this group, send email to
 openmeetings-user+unsubscr

Re: Assigning a moderator

2010-09-14 Thread Abraham Block
What should I be looking out for, exactly?
Now that I look at things more carefully, even though I see my room in the
database, I don't see it in the admin for openmeetings...on the hunch that
this has something to do with it, I created a hash for one the rooms which
does appear, and, it works like a charm!

Now that I've been chasing the wrong tail for the four hours..

On Tue, Sep 14, 2010 at 5:13 PM, Sebastian Wagner seba.wag...@gmail.comwrote:

 Hallo Avi,

 I have been using this Method all the time, please review your code and
 params I am quite sure it should work.
 It is quite handy to use a Standalone SOAP Client/Browser like
 http://ditchnet.org/soapclient/ to verify the calls before you implement
 those.

 Sebastian

 2010/9/14 Avi Block atbl...@gmail.com

 In the SOAP documentation it says:
 Boolean  isModeratedRoom Users have to wait untill a Moderator
 arrives. Use the becomeModerator param in
 setUserObjectAndGenerateRoomHash to set a user as default Moderator

 So I set that to true and in when I called
 setUserObjectAndGenerateRoomHash I set becomeModeratorAsInt to 1.

 I assumed this would make this user a moderator. Unfortunately it
 didn't.

 --
 You received this message because you are subscribed to the Google Groups
 OpenMeetings User group.
 To post to this group, send email to openmeetings-u...@googlegroups.com.
 To unsubscribe from this group, send email to
 openmeetings-user+unsubscr...@googlegroups.comopenmeetings-user%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/openmeetings-user?hl=en.




 --
 Sebastian Wagner
 http://www.webbase-design.de
 http://openmeetings.googlecode.com
 http://www.wagner-sebastian.com
 seba.wag...@gmail.com

 --
 You received this message because you are subscribed to the Google Groups
 OpenMeetings User group.
 To post to this group, send email to openmeetings-u...@googlegroups.com.
 To unsubscribe from this group, send email to
 openmeetings-user+unsubscr...@googlegroups.comopenmeetings-user%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/openmeetings-user?hl=en.


-- 
You received this message because you are subscribed to the Google Groups 
OpenMeetings User group.
To post to this group, send email to openmeetings-u...@googlegroups.com.
To unsubscribe from this group, send email to 
openmeetings-user+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/openmeetings-user?hl=en.



Re: Assigning a moderator

2010-09-14 Thread Abraham Block
this seems to work:

env:Envelope xmlns:env=http://www.w3.org/2003/05/soap-envelope;
xmlns:ns1=http://services.axis.openmeetings.org;
  env:Body
ns1:addRoomWithModeration
  ns1:SIDe678e01ddb070ea13e31e8a64d888e54/ns1:SID
  ns1:nameMy Test Room2/ns1:name
  ns1:roomtypes_id2/ns1:roomtypes_id
  ns1:numberOfPartizipants30/ns1:numberOfPartizipants
  *ns1:ispublic1/ns1:ispublic*
  ns1:isModeratedRoomtrue/ns1:isModeratedRoom
/ns1:addRoomWithModeration
  /env:Body
/env:Envelope

but not this

env:Envelope xmlns:env=http://www.w3.org/2003/05/soap-envelope;
xmlns:ns1=http://services.axis.openmeetings.org;
  env:Body
ns1:addRoomWithModeration
  ns1:SIDe678e01ddb070ea13e31e8a64d888e54/ns1:SID
  ns1:nameMy Test Room2/ns1:name
  ns1:roomtypes_id2/ns1:roomtypes_id
  ns1:numberOfPartizipants30/ns1:numberOfPartizipants
  *ns1:ispublictrue/ns1:ispublic*
  ns1:isModeratedRoomtrue/ns1:isModeratedRoom
/ns1:addRoomWithModeration
  /env:Body
/env:Envelope

The only difference is  ns1:ispublic1/ns1:ispublic vs
ns1:ispublictrue/ns1:ispublic

The latter returns:

soapenv:Envelope xmlns:soapenv=http://www.w3.org/2003/05/soap-envelope;
   soapenv:Body
  soapenv:Fault
 soapenv:Code
soapenv:Valuesoapenv:Receiver/soapenv:Value
 /soapenv:Code
 soapenv:Reason
soapenv:Text xml:lang=en-USFor input string:
true/soapenv:Text
 /soapenv:Reason
 soapenv:Detail/
  /soapenv:Fault
   /soapenv:Body
/soapenv:Envelope

But this is what is generated from my SOAP client.

Any idea why this would be? I'm pretty sure true is the way you're
supposed to send a boolean, and it works for isModeratedRoom.

On Tue, Sep 14, 2010 at 5:27 PM, Abraham Block atbl...@gmail.com wrote:

 What should I be looking out for, exactly?
 Now that I look at things more carefully, even though I see my room in the
 database, I don't see it in the admin for openmeetings...on the hunch that
 this has something to do with it, I created a hash for one the rooms which
 does appear, and, it works like a charm!

 Now that I've been chasing the wrong tail for the four hours..

 On Tue, Sep 14, 2010 at 5:13 PM, Sebastian Wagner 
 seba.wag...@gmail.comwrote:

 Hallo Avi,

 I have been using this Method all the time, please review your code and
 params I am quite sure it should work.
 It is quite handy to use a Standalone SOAP Client/Browser like
 http://ditchnet.org/soapclient/ to verify the calls before you implement
 those.

 Sebastian

 2010/9/14 Avi Block atbl...@gmail.com

 In the SOAP documentation it says:
 Boolean  isModeratedRoom Users have to wait untill a Moderator
 arrives. Use the becomeModerator param in
 setUserObjectAndGenerateRoomHash to set a user as default Moderator

 So I set that to true and in when I called
 setUserObjectAndGenerateRoomHash I set becomeModeratorAsInt to 1.

 I assumed this would make this user a moderator. Unfortunately it
 didn't.

 --
 You received this message because you are subscribed to the Google Groups
 OpenMeetings User group.
 To post to this group, send email to openmeetings-u...@googlegroups.com.
 To unsubscribe from this group, send email to
 openmeetings-user+unsubscr...@googlegroups.comopenmeetings-user%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/openmeetings-user?hl=en.




 --
 Sebastian Wagner
 http://www.webbase-design.de
 http://openmeetings.googlecode.com
 http://www.wagner-sebastian.com
 seba.wag...@gmail.com

 --
 You received this message because you are subscribed to the Google Groups
 OpenMeetings User group.
 To post to this group, send email to openmeetings-u...@googlegroups.com.
 To unsubscribe from this group, send email to
 openmeetings-user+unsubscr...@googlegroups.comopenmeetings-user%2bunsubscr...@googlegroups.com
 .
 For more options, visit this group at
 http://groups.google.com/group/openmeetings-user?hl=en.




-- 
You received this message because you are subscribed to the Google Groups 
OpenMeetings User group.
To post to this group, send email to openmeetings-u...@googlegroups.com.
To unsubscribe from this group, send email to 
openmeetings-user+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/openmeetings-user?hl=en.