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 7489151
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T15:12:25+00:00 2026-05-29T15:12:25+00:00

my iphone app is using soap web-services. I want to know how it would

  • 0

my iphone app is using soap web-services. I want to know how it would behave if the web-service returns a soap error?

I am using charles (HTTP Proxy) to catch the responses and modify the response before sending it to my iPhone app. What I’m trying to do is to modify a successful soap response, and turn it into a soap fault to see how my application behave.

QUESTION: How does a SOAP error response look like? (With restful all i had to do was to change the responseCode to 504, how can I achieve this with SOAP)?

  • 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-05-29T15:12:25+00:00Added an answer on May 29, 2026 at 3:12 pm

    How does a SOAP error response look like?

    Here’s an example of how a failed SOAP response might look like:

    <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
      <s:Header />
      <s:Body>
        <s:Fault>
          <faultcode>s:Client</faultcode>
          <faultstring xml:lang="en-US">The creator of this fault did not specify a Reason.</faultstring>
          <detail>
            <MyFault xmlns="http://schemas.datacontract.org/2004/07/ToDD" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
              <MyProperty>some value</MyProperty>
            </MyFault>
          </detail>
        </s:Fault>
      </s:Body>
    </s:Envelope>
    

    As you can see there’s a special <Fault> node in the body of the SOAP response which could contain any XML describing the SOAP fault. The custom XML should be in the <detail> child node.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to create an iPhone app using xcode, and I want to know
I am making an iPhone app using WSDL Web-Services, but I have no idea
I'm using libxml2 for SOAP-Actions in an iPhone App. The big problem is that
I would like to gather usage statistics for my iPhone app using Google Analytics
Im working on an iphone web app using JQTouch , im just wondering what
I'm programming an iPhone app using Objective-C. Here's the error Xcode gives me: error:
I have a web app, that also has an iPhone and Android app using
I am currently creating an iPhone app using Xcode 4.0.2, I want the app
I am developing an iphone app using xcode. I would like to automate the
Hello i am making an iphone app using the dropbox sdk and i want

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.