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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T16:31:33+00:00 2026-05-26T16:31:33+00:00

I am receiving xml from a webservice call that contains a nil=true : <cacheEntry>

  • 0

I am receiving xml from a webservice call that contains a nil="true":

<cacheEntry>
   <systemFK nil="true"/>
</cacheEntry>

I used the Flex DataService (webservice) wizard to create the service objects for the cacheEntry component. This object will be serialized later on a different webservice call and stored in a database.

I set a breakpoint on the set SystemFK method in the service object. It appears that the value passed in was an empty string!

Allowing this value to be an empty string will cause problems in the webservice implementation in Java on the other side. Since the database value was null it is expecting a null in return, If I avoid setting this value, the serviceObject should send back a null which will make the database happy.

My question is: How can I detect that a nil = true is present in the XML in order to avoid setting this value?

  • 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-26T16:31:34+00:00Added an answer on May 26, 2026 at 4:31 pm

    For some reason the ActionScript XML parsers don’t know about Booleans. Without seeing the code that got generated for you, my guess is that somehow you’re getting the string "true", instead of true, and that’s what’s causing your problem.

    Make changes to the accessors to act as if @nil comes from the XML as a string, and then convert to Boolean manually.

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

Sidebar

Related Questions

I'm receiving data from web-services in XML and I'm using that data via objects,
My web service is receiving xml from a third party that looks like this:
We are receiving an XML file from our client. I want to load the
I am working on a small project that is receiving XML data in string
I'm receiving feedback from a developer that The only way visual basic (6) can
My iPhone app will be receiving an xml feed from a Java web service.
I am receiving images from xml feed they are very large in size how
Problem: Flex/Flash4 client (built with FlashBuilder4) displays the xml sent from the server exactly
I'm building a rails app that takes information about products from an XML datafeed
I'm currently calling a web service from my J2ME app and receiving the xml

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.