[jdev] SOAP over XMPP, does my server need anything special?

Jonathan Dickinson chayce.za at gmail.com
Sat Aug 25 04:57:20 CDT 2007


Yeah, oops ;)... Was just demonstrating that there are other ways to do 
things... Correction:

<message to="romeo at jabber.org" from="juliet at jabber.org">
   <body>
     Hi Juliet, Would you like to have a Meeting In The Garder on 
September 24th 8pm to 12pm in The Garden?
   </body>
   <html xmlns='http://jabber.org/protocol/xhtml-im'>
     <body xmlns='http://www.w3.org/1999/xhtml'>
       Hi Juliet, Would you like to have a
       <span class="vevent" id="hcalendar--A-Meeting-In-The-Garden">
         <a class="url" href="http://www.thegarden.lit">
           <span class="summary">Meeting In The Garden</span> on
           <abbr class="dtstart" title="20070924T1600">September 24th 
8pm</abbr> to
           <abbr class="dtend" title="20070925T1600">12pm</abbr>
           in
           <span class="location">The Garden</span>?
         </a>
        </span>
     </body>
   </html>
</message>

Thanks Peter!

Jonathan

Peter Saint-Andre wrote:
> Jonathan Dickinson wrote:
> 
>> <message to="romeo at jabber.org" from="juliet at jabber.org">
>> Hi Juliet, Would you like to have a
>> <span class="vevent" id="hcalendar--A-Meeting-In-The-Garden">
>>   <a class="url" href="http://www.thegarden.lit">
>>     <span class="summary">Meeting In The Garden</span> on
>>     <abbr class="dtstart" title="20070924T1600">September 24th
>> 8pm</abbr> to
>>     <abbr class="dtend" title="20070925T1600">12pm</abbr>
>>     in
>>     <span class="location">The Garden</span>?
>>   </a>
>> </span>
>> </message>
> 
> Except that violates the schema. I assume you're sending the plain
> message in the <body/> element, then sending the microformats stuff
> XHTML or somesuch:
> 
> http://www.xmpp.org/extensions/xep-0071.html
> 
> /psa



More information about the JDev mailing list