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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T08:05:54+00:00 2026-05-20T08:05:54+00:00

I tried to call a webservices method through my asp.net project. I used Fiddler

  • 0

I tried to call a webservices method through my asp.net project.

I used Fiddler to log the soap request. However, I found a boolean type value in the request was not sent, the other types work fine.

The xsd file is defined like:

<xs:complexType name="TestObject">
 <xs:complexContent mixed="false">
  <xs:extension base="com:TestObjectDTO">
    <xs:sequence>
      <xs:element minOccurs="1" maxOccurs="1" name="scenario" type="xs:string" />
      <xs:element minOccurs="0" maxOccurs="1" name="asap" type="xs:boolean" />
    </xs:sequence>
  </xs:extension>
</xs:complexContent>

The soap request was logged as:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
    <TestObjectDTO xsi:type="TestObject" xmlns="http://ws.com/service/">
     <scenario>scenario_1</scenario>
    </TestObjectDTO>
</soap:Body>

The asap element was missing. Any idea?

thanks.

  • 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-20T08:05:55+00:00Added an answer on May 20, 2026 at 8:05 am
    <xs:element minOccurs="0" maxOccurs="1" name="asap" type="xs:boolean" />
    

    minOccurs=”0″ means it’s optional, and doesn’t need to appear in the request. With no default specified, I’d assume it’ll default to false, or it might have to be represented by a nullable type.

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

Sidebar

Related Questions

I tried to call a .NET web service with KSOAP2 and it throws an
How to create a generic method which can call overloaded methods? I tried but
I am trying to call some web services written in Java from my asp.net
I am able to call webservices now. But In my project i want to
As PageMethods in ASP.NET need to be static methods and marked as web method,
We have some ASP.NET stuff (it's not delineated clearly enough to call it a
When I tried to call a class called ShowHistory in Java, an error shows:
I want to ask,i tried to call webapp.RequestHandler ,but this handler didn't called: this
I am trying datatables. I successfully tried on ajax call. But now I am
I've dug the manual and tried extensivelly to drop the extra function(){...} call after

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.