WSMethodInvocationSetParameters xml encoding

  • 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
previous month october 2007 next month
MTWTFSS
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31        
Go to today