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 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

Ask A Question

Stats

  • Questions 85k
  • Answers 85k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer You can call the OptionBox_AfterUpdate() method directly - after you… May 11, 2026 at 5:15 pm
  • Editorial Team
    Editorial Team added an answer Can you enumerate the types needed at the time you… May 11, 2026 at 5:15 pm
  • Editorial Team
    Editorial Team added an answer See Kohana's documentation - Migrating from CodeIgniter. A smart fellow… May 11, 2026 at 5:15 pm

Related Questions

I'm looking for something similar to the Proxy pattern or the Dynamic Proxy Classes
I'm working with a legacy system that I'm experimenting with adding NHibernate to. I
We have recently been faced with the problem of porting our C++ framework to
I am using a class Foo that provides these methods: String overloadedMethod(Object) String overloadedMethod(Goo)

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.