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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T12:57:52+00:00 2026-05-27T12:57:52+00:00

The above are the points taken from this site http://blog.ibeesolutions.com/web-services-implementation-considerations.html Serialization is an important

  • 0

The above are the points taken from this site
http://blog.ibeesolutions.com/web-services-implementation-considerations.html

Serialization is an important issue from the web services’ performance point of view since web services uses XML in SOAP messages.

So Reduce Serialization with XmlIgnore

To limit which fields exposed by an object are serialized when the object is passed to or from a Web method and to reduce the amount of data sent over the wire, the XmlIgnore attribute should be used as shown below.

The XmlSerializer class ignores any field annotated with this attribute.

Please note that XmlIgnore serializes only public members unlike the formatters derived from IFormatter interface.

// This is the class that will be serialized.
public class MyClass
{
// The str1 value will be serialized.
public string str1;

/* This field will be ignored when serialized–
unless it’s overridden. */
[XmlIgnoreAttribute]
public string str2;
}

Here the author mentions about the tips on Inproving Webservices and on of them is to use XmlIgnoreAttribute

I have developed a Webservice using Java through Apache CXF Framework .

Please tell me how can I use that or any similar attribute with in Java Technology ??

  • 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-27T12:57:52+00:00Added an answer on May 27, 2026 at 12:57 pm

    Web Services implemented using JAX-WS (SOAP) or JAX-RS (RESTful) implementations use JAXB (JSR-222) for the binding layer. When using JAXB you can leverage the @XmlTransient annotation to exclude a field/property from the XML representation.

    For More Information

    • http://blog.bdoughan.com/2012/04/jaxb-and-unmapped-properties.html
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Attempted translation of the above question from non-native English to English: This is a
This piece of code has been taken from a game built with XNA framework.
Hi all, The images above are taken from the Nike Boom App. I am
The above expression is working fine. this expression means first leter should start with
The image above is from Wikipedia's entry on AVL trees which Wikipedia indicates is
My application have to load some points from internal sqlite database of android, and
Has anybody come across this? I've taken the GTK HelloWorld sample . It runs
I have template for my ComboBox . taken from here . Lets say each
I have this massive array of ints from 0-4 in this triangle. I am
i am declaring cg-point or rect as const it giving above error any one

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.