We do this in uv, but it is most likely the same in unidata.

When receiving the XML you get a "chunk" (buffer) full at a time. You must save 
(write) this buffer to a file or other array, and then go back and get more 
until it is done. Basically, receive, write, repeat (loop). You might ask how 
you know when it is done? Well, we test for content in the received buffer. For 
example, we test (FINDSTR) for the string </cXML>, which typically ends an xml 
file. When we see this we know the sender is done. Also, don't forget that the 
sender will wait for an (XML) acknowledgement that you got it all, that you 
send back

Carl Dula                       Voice: 973-227-8440 X111
Pulsar Systems, Inc.            Fax: 973-227-8440
271 US Highway 46, STE H209     email:c...@pulsarsystems.com
Fairfield, NJ 07004-2474        http://www.pulsarsystems.com 

U2-Users mailing list

Reply via email to