[standards-jig] Question about IQ and browsing

Riviere Stéphane Jean Stephane.SR.Riviere at atosorigin.com
Wed Mar 6 18:04:39 UTC 2002


I'm currently developing external server components (in Java) and have the
following question about IQ :

Must an <iq type="result"/> element have the same basic structure that the
corresponding <iq type="get"/> element ?

An example should help :
If I send : 

<iq type="get" to="myService">
  <query xmlns="myServiceNS" />

Should the answer be :

A : 

<iq type="result" to="myService">
  <query xmlns="myServiceNS">

OR B : 

<iq type="result" to="myService">
  <stuff xmlns="myServiceNS">

I ask the question because when browsing transports you can get the one or
the other (just try with yahoo and MSN)

So is the correct one A or B ?

Thanks for your help,


email : Stephane.sr.Riviere at atosorigin.com
tél : (0)

Ingénieur R&D
Equipe Grands Projets
Direction Recherche & Développement
ATOS ORIGIN Activité Multimédia

More information about the Standards mailing list