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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T08:42:08+00:00 2026-05-12T08:42:08+00:00

We have Flex applications that connect to our ASP.NET 3.5 Web Applications and usually

  • 0

We have Flex applications that connect to our ASP.NET 3.5 Web Applications and usually download lot of data. Now considering XML as transport, for every item, it transmits meta data twice for example.. instead of transferring int value as <Customer CustomerID=23/> it transmits <Customer><CustomerID>23</CustomerID></Customer> .. now here is where bandwidth conservation becomes an issue.

  1. FLEX Can not read GZip and DEFLATE compressed HTTP Response ( So cant use any of them )
  2. I heard of some WSCompression but it requires WSE 3.0 now I am skeptical to introduce too many dependency in my hosting environment which requires too much management and overheads. Is WSE 3.0 only dll library which requires no installation on production server? Does it require rewriting all WebService attribute? Or is it simple one time configuration and more or less, anyone knows does it work with Flex ?
  3. Flex dynamically generates web services, and we use lot of its auto generated code, now if we want to support compression then do we need to rewrite lot of code?

Simplest solution I can think of is, reduce unnecessary XML tags and reduce them down to attributes to save bandwidth. Is there an easy way to achieve it, our classes has more then 50-70 properties, I understand it will be nightmare to add attributes to each property but we dont know how to do it in case of SOAP.

Question:

  1. What is WSE 3.0 anyway, does it need to be installed on production server? To enable WSCompression do we need additional code to be integrated in our web service code like with each WebMethod attribute, do we need to add more code in attributes?

  2. Is there an easy way to tag properties with attributes and force serialization in simple form like [SoapAttribute], which transforms data as attribute instead of tag and does it work with FLEX or will it work with any client?

  3. Does SOAP has standard format of only elements or it can support attributes?

  • 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-12T08:42:09+00:00Added an answer on May 12, 2026 at 8:42 am

    Finally I found workaround by using XmlAttribute

    [XmlAttribute]
    public long CustomerID;
    

    Forces field to be serialized as “Attribute” however MSDN Documentation of SoapAttribute says following “Apply the SoapAttributeAttribute to a public field to specify that the XmlSerializer serializes the field as an XML attribute.” and according to SOAP standard, it should do it, but it does not !!

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

Sidebar

Related Questions

I have a flex application that needs the ability to generate and execute JavaScript.
I have a Flex application that calls a function which searches a large document
I have a Flex application that seems larger than it should be. There is
I have a Canvas in a Flex application which has items inside it that
Have you tried using straight javascript (rather straight ECMAscript 3 standard) in Flex applications,
So, I have Flex project that loads a Module using the ModuleManager - not
I have a Flex ComboBox that gets populated by a dataprovider all is well...
I have a Flex application where I'm using a Canvas to contain several other
I would like to show some hidden text in a Flex application and have
I have a Flex swf hosted at http://www.a.com/a.swf . I have a flash code

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.