sorry for writing ban user list kindly read as "owner list". and rest of the 
problem remains the same.  


On Fri, 25 Apr 2008 kawaljeet singh chadha wrote :
>
>Hello everybody
>   I am using Openfire server (3.5.1) and facing the problem. Can anybody help 
> me out.
>
>querying ban user list (MUC) XEP-0045
>
>I am trying to query (get the ) ban user list from the open fire server, with 
>the "admin" name space, i m getting the error as "bad request" but i am able 
>to query (get the) ban user list when i give the "owner" namespace. and I am 
>getting the ban user list "items" with the "owner" name space. As per 
>specifications the "owner" namespace does not have any item stanza inside 
>it...... can any body tell where i m getting wrong ?
>
>  Below find the exact details.
>
>Kindly find the request/response.
>
>ERROR SCENERIO
>===============
>
><Sending>
>     <iq from='[EMAIL PROTECTED]/Home' id='JXMPP-19' to='[EMAIL PROTECTED]' 
> type='get'>
>        <query xmlns='http://jabber.org/protocol/muc#admin'>
>           <item affiliation='owner'/>
>        </query>
>     </iq>
></Sending>
>
><Received>
>     <iq type="error" id="JXMPP-19" from="[EMAIL PROTECTED]" to="[EMAIL 
> PROTECTED]/Home">
>          <query xmlns="http://jabber.org/protocol/muc#admin"/>
>          <error code="400" type="modify"><bad-request 
> xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/>
>          </error>
>     </iq>
></Received>
>
>SUCCESS SCENERIO
>=================
>
><Sending>
>     <iq from='[EMAIL PROTECTED]/Home' id='JXMPP-26' to='[EMAIL PROTECTED]' 
> type='get'>
>        <query xmlns='http://jabber.org/protocol/muc#owner'>
>            <item affiliation='owner'/>
>        </query>
>     </iq>
></Sending>
>
><Received>
>    <iq type="result" id="JXMPP-26" from="[EMAIL PROTECTED]" to="[EMAIL 
> PROTECTED]/Home">
>        <query xmlns="http://jabber.org/protocol/muc#owner";>
>            <item affiliation="owner" jid="[EMAIL PROTECTED]"/>
>            <item affiliation="owner" jid="[EMAIL PROTECTED]" role="moderator" 
> nick="wwwwwww"/>
>        </query>
>    </iq>
></Received>
>
>
>As per specifications, the request given in Error scenerio looks fine. As 
>there in no "item" stanza in the xmlns='http://jabber.org/protocol/muc#owner' 
>namespace.
>
>Thanks,
>Kawaljeet.
>
>
>   -- kawaljeet singh chadha
>
>Here is the test to find whether your mission on Earth is finished: if you're 
>alive, it isn't ...


  -- kawaljeet singh chadha

Here is the test to find whether your mission on Earth is finished: if you're 
alive, it isn't ...

Reply via email to