• 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
WSMethodInvocationSetParameters xml encoding
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

WSMethodInvocationSetParameters xml encoding


  • Subject: WSMethodInvocationSetParameters xml encoding
  • From: Ivan C Myrvold <email@hidden>
  • Date: Fri, 5 Oct 2007 10:44:15 +0200

WSMethodInvocationSetParameters encodes my xml < and > to &lt; and &gt;
Is it a way to avoid that?

NSString *xmlstr = [NSString stringWithFormat:@"<CompanyId>%@</ CompanyId>", @"29"];;
NSDictionary *params = [NSDictionary dictionaryWithObjectsAndKeys:xmlstr, @"invoiceSearch", nil];
WSMethodInvocationSetParameters (soapCall, (CFDictionaryRef) params, nil);


results in

<invoiceSearch xsi:type="xsd:string">&lt;CompanyId&gt;29&lt;/ CompanyId&gt;</invoiceSearch>

instead of

<invoiceSearch xsi:type="xsd:string"><CompanyId>29</CompanyId></ invoiceSearch>

Ivan


_______________________________________________

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: Re: How does NSArrayController know?
  • Next by Date: Re: NSObjectInaccessibleException -- CoreData could not fulltill a fault
  • Previous by thread: Re: How does NSArrayController know?
  • Next by thread: Re: NSObjectInaccessibleException -- CoreData could not fulltill a fault
  • Index(es):
    • Date
    • Thread