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

  • Home
  • SEARCH
  • 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 8930243
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T08:50:51+00:00 2026-06-15T08:50:51+00:00

I have a soap interface with a boolean function, this function is supposed to

  • 0

I have a soap interface with a boolean function, this function is supposed to return true if everything is succesfully, and false if something goes wrong.

How is it possible to return false + errormessage on a boolean function ?

  • 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-15T08:50:53+00:00Added an answer on June 15, 2026 at 8:50 am

    As your interface assumes to return only bool result you can’t return additional string.

    If it is suitable in your case then you can generate Exception with specified message on server side rather than just return false.

    In that case SOAP fault is returned by the server as response. SOAP fault contains Exception message. So client knows that request is processed with error and client is able to read error message.
    That is standard behavior.

    You can find more details here.

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

Sidebar

Related Questions

I have a WCF web service that defines IInterface interface. This interface declares two
A server offers a SOAP function call interface. Hundreds, perhaps a few thousand, of
I have an interface that I've exposed as a regular SOAP web service. One
I have a SOAP result set that the nuSoap extension has turned into a
I have a SOAP message (see below). Using Xpath, how can I extract the
I have a SOAP service, the request and responses work as expected with good
I am new to using soap. I have a soap method returning an object.
I'm working on a project where we have several SOAP Web Services developed on
I have a working SOAP request from my website to a .net based API.
I have worked with SOAP in SAAJ and JAXM, and I want to extend

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.