[JDEV] client to client iqs

Matthew A. Miller linuxwolf at outer-planes.net
Wed Aug 13 10:46:26 CDT 2003


When doing client-to-client <iq/>s like this, you need to use the full
JID (node at domain/resource).  Once you do that, you should be good to
go.  Getting that full JID is a slightly different story, however... (-:


-  LW

On Wed, 2003-08-13 at 09:30, Fabio Forno wrote:
> Hi,
> I'm debugging a little library handling soap messaging through jabber as 
>   I've described in the JEP 72. While there are no problems for soap 
> envelopes inserted in <message/> stanzas, I cannot send envelopes within 
>   <iq/> stanzas  between any two ordinary clients. Each time a try to 
> send  an <iq/> like the following one:
> 
>   <iq id="123" to="test at nervino.polito.it" type="set">
>    <SOAP-ENV:Envelope	 
> SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
> xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
> xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
> xmlns:xsd="http://www.w3.org/1999/XMLSchema"
> xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance">
> <SOAP-ENV:Body>
> ...
> </SOAP-ENV:Body>
> </SOAP-ENV:Envelope>
> </iq>
> 
> I receive a "Not allowed" error message from the server.
> If I set the 'type' attribute to 'get', the server sends back an <iq/> 
> of type 'result', without routing the stanza to the recipient.
> 
> As server I use the latest jabberd of the 1.4.x series with a default 
> configuration file.
> 
> Thank you for your help




More information about the JDev mailing list