web services - XML+SOAP: are newlines permitted? -


i'm working soap , xml interact web-services.

i noticed gsoap-generated routines not have newlines , work correctly. successively tried write own routines using libxml2, indents xml newlines.

while web-services tested able deal code generated gsoap, not of them able deal hand-written code, , triggering error presence of newlines.

so question is: newlines forbidden in xml+soap? have write code on single line? or did face broken services?

newlines aren't forbidden. whole reason, why gsoap writes messages 1 line because there no need structure message (bring human readable form), additional cost no effect.

there must other reason. compare xml messages generated gsoap, content same, differences newlines?


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -