• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
SOAP results doesn't preserve whitespace
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Subclass NSURLProtocol, and file /Developer/Examples/WebKit/PictureBrowser/
  • Next by Date: Dictionary keyed by a few sparse integers?
  • Previous by thread: Subclass NSURLProtocol, and file /Developer/Examples/WebKit/PictureBrowser/
  • Next by thread: Dictionary keyed by a few sparse integers?
  • Index(es):
    • Date
    • Thread