What can I do to preserve whitespace in SOAP calls? 
I invoke the SOAP call with
WSMethodInvocationSetCallBack(soapCall, &callback, &context);
WSMethodInvocationScheduleWithRunLoop(soapCall, [[NSRunLoop currentRunLoop] 
getCFRunLoop], (CFStringRef)NSDefaultRunLoopMode);

and in the callback I do

NSXMLDocument *xmldoc = [[[NSXMLDocument alloc] initWithXMLString:theresult 
options:NSXMLNodePreserveWhitespace error:nil] autorelease];

but the white spaces are not preserved, probably because it is already stripped 
in theresult from the callback.

Any hint how to sesolve this?_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to