SOAP results doesn't preserve whitespace
SOAP results doesn't preserve whitespace
- Subject: SOAP results doesn't preserve whitespace
- From: Ivan C Myrvold <email@hidden>
- Date: Fri, 29 Oct 2010 11:38:11 +0200
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 (email@hidden)
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:
This email sent to email@hidden