Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7926911
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T19:02:32+00:00 2026-06-03T19:02:32+00:00

I am using SudzC for SOAP web services in an iOS App. The issue

  • 0

I am using SudzC for SOAP web services in an iOS App. The issue I’m facing is, there’s a method which is auto generated, and whose parameters contains a simple XML payload. When i send the XML payload as a NSString to the parameter, it automatically converts the & in the XML payload to & amp;

I’m not using any encoding manually in this process. How do I avoid this? Any help would be appreciated.

Edit –
This is the part of code which is auto generated and handling by request

if(postData != nil) {
    [request setHTTPMethod: @"POST"];
    [request addValue: @"text/xml; charset=utf-8" forHTTPHeaderField: @"Content-Type"];        
    [request setHTTPBody: [postData dataUsingEncoding: NSUTF8StringEncoding]];
    if(self.logging) {
        NSLog(@"%@", postData);
    }
}

Thanks

Nithin

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T19:02:35+00:00Added an answer on June 3, 2026 at 7:02 pm

    Well, the simple answer is you have to explore the code which has been generated by SudzC. However the hint is, When you request or receive response SudzC code is probably sanitising your code somewhere, most probably method name with serializeElement. If it is a XML request then try to jump to several definition starting from your main method and unto Soap Create method(Just a guess, I am not sure how your code works.) Try to find code similar to this and modify it accordingly.

    [[self.YourXML stringByReplacingOccurrencesOfString:@"\"" withString:@"""] stringByReplacingOccurrencesOfString:@"&" withString:@"&"]];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm accessing http://graphical.weather.gov/xml/SOAP_server/ndfdXMLserver.php using code generated by http://sudzc.com The SOAP message is being sent
I am using Sudzc (it uses TouchXML) for parsing my web services WSDL, now
I'm using a sudzc soap classes to communicate with a remote web service. Most
I'm using Sudzc to create my WebService proxy classes for an iOS app. The
Using android 2.3.3, I have a background Service which has a socket connection. There's
I'm working on an application that uses Sudzc to interface with a SOAP web-service.
I have a SOAP service and I generated classes and functions on SudzC.com .
So I am using iOS 5.0.1 with iPhone 4s (tested with 4 too) and
Using MVC2 I have an AJAX form which is posting to a bound model.
Using Delphi 2010. I am looking for (possibly) a function or procedure which can

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.