Re: [Moonbeam-users] moonbeam // client-server // format
Status: Beta
Brought to you by:
slonko
|
From: Heiko B. <he...@op...> - 2003-01-28 17:03:51
|
Hi Andreas, moonbeam expects the message to be nullbyte terminated, because this is how flash clients send and receive xml. this is the default implementation, although the openj.moonbeam.server.util package contains different reader. (i.e. the endtag reader) from what tested out, the nullbyte solution was the best choice, if you dont want to send content-length header of any kind. /heiko On Tue, 2003-01-28 at 13:09, andreas halter wrote: > hello, > > andreas halter told me on Tuesday 28 January 2003 11:45: > > all i try is: > > <?xml version="1.0" encoding="ISO-8859-1"? ><!DOCTYPE envelope SYSTEM > > "message.dtd"><envelope from="client#/ip.ip.ip.ip:62559" > > to="moonbeam" > > id="1043140698953"><message><body>hello</body></message></envelope> > > that's fine. just change the following: > - utf-8 encode the submitted data > - change 'to' to 'broadcast' > - remove doctype-def > - append nullbyte + newline at end of request > > hth andreas ;-) > > > ------------------------------------------------------- > This SF.NET email is sponsored by: > SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! > http://www.vasoftware.com > _______________________________________________ > Moonbeam-users mailing list > Moo...@li... > https://lists.sourceforge.net/lists/listinfo/moonbeam-users > |