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
Post a Comment