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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T09:44:27+00:00 2026-05-11T09:44:27+00:00

I have a dynamic Class that is a Value Object that is used to

  • 0

I have a dynamic Class that is a Value Object that is used to pass arguments to a WebService. It has two public properties:

package {     [Bindable]     public dynamic class WebServiceCriteria     {         public var property1:String;          public var property2:String;     } } 

I set these two properties in one part of my application:

var myCriteria:WebServiceCriteria = new WebServiceCriteria();  myCriteria.property1 = 'x';  myCriteria.property2 = 'y'; 

Then I added other – dynamic – properties at another point in my application:

myCriteria.property3 = 'z'; 

However, when I pass the instance to the WebService as the arguments, the original two public properties are not sent (as I can see in Fiddler), even though they have values. But, I can see them as properties of my Class instance in the debugger just prior to the send().

operation.arguments = {args: myCriteria};  operation.send(); // only property3 is sent 

Why are those two properties not sent?

Here is an example of the SOAP request sent to the WebService:

<SOAP-ENV:Envelope xmlns:SOAP-ENV='http://schemas.xmlsoap.org/soap/envelope/' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>   <SOAP-ENV:Body SOAP-ENV:encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'>     <intf:webservice_controller xmlns:intf='http://childDir.parentDir'>       <args xsi:type='apachesoap:Map' xmlns:apachesoap='http://xml.apache.org/xml-soap'>         <item>           <key xsi:type='xsd:string'>property1</key>           <value xsi:type='xsd:string'></value>         </item>         <item>           <key xsi:type='xsd:string'>property2</key>           <value xsi:type='xsd:string'></value>         </item>         <item>           <key xsi:type='xsd:string'>property3</key>           <value xsi:type='xsd:string'>z</value>         </item>       </args>     </intf:webservice_controller>   </SOAP-ENV:Body> </SOAP-ENV:Envelope> 
  • 1 1 Answer
  • 1 View
  • 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. 2026-05-11T09:44:28+00:00Added an answer on May 11, 2026 at 9:44 am

    This behavior is documented in Flex 3.0 manuals. See Dynamic Classes for more information. A direct quote:

    […]Methods created in this way, however, do not have access to any private properties or methods of the [example] class. Moreover, even references to public properties or methods of the [example] class must be qualified with either the this keyword or the class name.

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

Sidebar

Related Questions

I have a dynamic class that serves as a storage container for configuration settings.
So I have a script that makes dynamic form content and each input has
I have a dynamic query that returns around 590,000 records. It runs successfully the
I have a Dynamic Data Entities Web Application that uses a database with GUIDs
Imagine I have a class used to represent some trivial numerical data, like a
Guys, I have got a slightly different problem with Java Dynamic class loading. I
How can I have a dynamic variable setting the amount of rows to return
When C# 4.0 comes out and we have the dynamic keyword as described in
We're looking at doing a MOSS 2007 site which will have a fairly dynamic
(Eclipse 3.4, Ganymede) I have an existing Dynamic Web Application project in Eclipse. When

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.