XMLSerialization with WCF Enum Attribute ignored
I am having problem with serializing object before send to the wire. 

Basically I am expecting my object to be serialized as 

    <verb operation="and">Show</verb>

 However its ignoring the attribute as 

    <verb>Show</verb>

Below is the client proxy code 

        /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.2152")]
    [System.SerializableAttribute()]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.starstandards.org/webservices/2005/10/transport")]
    public enum OperationEnumeratedType
    {

        /// <remarks/>
        /// 
        and,

        /// <remarks/>
        /// 
        or,

        /// <remarks/>
        /// 
        not,
    }
	
	
	        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute(Form = System.Xml.Schema.XmlSchemaForm.Qualified)]
        public OperationEnumeratedType operation
        {
            get
            {
                return this.operationField;
            }
            set
            {
                this.operationField = value;
            }
        }

and Below is How I am Creating this object.

                        verb = new CriteriaLogicStringType
                        {
                            operation = OperationEnumeratedType.and,
                            Value = "Show"
                        }

Does anyone knows how can I get the Operation Attribute to appear in serialized xml?

Thanks
XMLSerialization with WCF Enum Attribute ignored
===

I am having problem with serializing object before send to the wire. 

Basically I am expecting my object to be serialized as 

    <verb operation="and">Show</verb>

 However its ignoring the attribute as 

    <verb>Show</verb>

Below is the client proxy code 

        /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("svcutil", "3.0.4506.2152")]
    [System.SerializableAttribute()]
    [System.Xml.Serialization.XmlTypeAttribute(Namespace = "http://www.starstandards.org/webservices/2005/10/transport")]
    public enum OperationEnumeratedType
    {

        /// <remarks/>
        /// 
        and,

        /// <remarks/>
        /// 
        or,

        /// <remarks/>
        /// 
        not,
    }
	
	
	        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute(Form = System.Xml.Schema.XmlSchemaForm.Qualified)]
        public OperationEnumeratedType operation
        {
            get
            {
                return this.operationField;
            }
            set
            {
                this.operationField = value;
            }
        }

and Below is How I am Creating this object.

                        verb = new CriteriaLogicStringType
                        {
                            operation = OperationEnumeratedType.and,
                            Value = "Show"
                        }

Does anyone knows how can I get the Operation Attribute to appear in serialized xml?

Thanks