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 <[email protected]>wrote:

> 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 <[email protected]>
>
>> 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:SID>e678e01ddb070ea13e31e8a64d888e54</ns1:SID>
>>                   <ns1:name>My Test Room2</ns1:name>
>>                   <ns1:roomtypes_id>2</ns1:roomtypes_id>
>>                   <ns1:numberOfPartizipants>30</ns1:numberOfPartizipants>
>>                   *<ns1:ispublic>1</ns1:ispublic>*
>>                   <ns1:isModeratedRoom>true</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:SID>e678e01ddb070ea13e31e8a64d888e54</ns1:SID>
>>                   <ns1:name>My Test Room2</ns1:name>
>>                   <ns1:roomtypes_id>2</ns1:roomtypes_id>
>>                   <ns1:numberOfPartizipants>30</ns1:numberOfPartizipants>
>>                   *<ns1:ispublic>true</ns1:ispublic>*
>>                   <ns1:isModeratedRoom>true</ns1:isModeratedRoom>
>>             </ns1:addRoomWithModeration>
>>       </env:Body>
>> </env:Envelope>
>>
>> The only difference is  <ns1:ispublic>1</ns1:ispublic> vs
>> <ns1:ispublic>true</ns1:ispublic>
>>
>> The latter returns:
>>
>> <soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope
>> ">
>>    <soapenv:Body>
>>       <soapenv:Fault>
>>          <soapenv:Code>
>>             <soapenv:Value>soapenv:Receiver</soapenv:Value>
>>          </soapenv:Code>
>>          <soapenv:Reason>
>>             <soapenv:Text xml:lang="en-US">For 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 <[email protected]> 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 <[email protected]
>>> > 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 <[email protected]>
>>>>
>>>>> 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
>>>>> [email protected].
>>>>> To unsubscribe from this group, send email to
>>>>> [email protected]<openmeetings-user%[email protected]>
>>>>> .
>>>>> 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
>>>> [email protected]
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "OpenMeetings User" group.
>>>> To post to this group, send email to [email protected]
>>>> .
>>>> To unsubscribe from this group, send email to
>>>> [email protected]<openmeetings-user%[email protected]>
>>>> .
>>>> 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 [email protected].
>> To unsubscribe from this group, send email to
>> [email protected]<openmeetings-user%[email protected]>
>> .
>> 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
> [email protected]
>
> --
> You received this message because you are subscribed to the Google Groups
> "OpenMeetings User" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<openmeetings-user%[email protected]>
> .
> 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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/openmeetings-user?hl=en.

Reply via email to