Hello,

 Having a problem with marshal calls not traversing sub-elements.

 Previously had similar problem and following the 
org.exolab.castor.parser.namespaces=true 
suggestions as shown in:
 I.E: http://www.mail-archive.com/castor-dev%40exolab.org/msg15403.html
      and
      http://www.mail-archive.com/castor-dev%40exolab.org/msg15353.html

 The classes below exemplify a problem where a sub-element
will not explode appropriately. The sub-element: PG_OrderStatusType
does not explode. If we marshal just the PG_OrderStatusType element
it works fine, only if it is nested as a sub-element.

 We have a second example using essentially identical wsdl/soap
structure PG_Address and it also fails? 

 Any help would be appreciated. 

Ron.


--------------- Main Stub/Handler ---------------

// Standard SUN java libs
import java.net.*;
import java.io.*;
import java.util.*;
import java.text.*;

// Axis castor mashalling libraries
import org.apache.axis.utils.*;
import org.exolab.castor.xml.*;


// Execution notes:
//
// Ensure we have what we need in CLASSPATH to execute
// export
CLASSPATH="./;d:/opt/java/castor-0.9.5.2/castor-0.9.5.2-xml.jar;c:/jdk1.3/axis1.0/xml-axis-10/lib/axis.jar;c:/jdk1.3/axis1.0/xml-axis-10/lib/jaxrpc.jar;c:/jdk1.3/xerces-1_3_0/xerces.jar"
// cd D:/home/rvanclea/dev/stcjava/debugCastorMarshalling/classes

// Using static file.
// c:/jdk1.3/bin/java.exe -cp $CLASSPATH DebugCastorMarshalling

public class DebugCastorMarshalling {

 public static void main(String[] args) throws Exception {

   System.out.println("DebugCastorMarshalling main START");


   com.hp.goit.pgs.fqm.update.OrderInfo thisOrderInfo = new
com.hp.goit.pgs.fqm.update.OrderInfo();
   com.hp.goit.pgs.fqm.update.PG_Address thisAddressInfo = new
com.hp.goit.pgs.fqm.update.PG_Address();
   try {

     // Populate the stubbed object
     thisOrderInfo.setOrderStatus("Some Default OrderStatus to be
marshalled.");
    
thisOrderInfo.setOrderStatusCode(com.hp.goit.pgs.fqm.update.PG_OrderStatusType.APPROVE);
     thisOrderInfo.setParentOrderId("Some Default Parent Order Number to be
marshalled");
     thisOrderInfo.setComment("Some Default Comment to be marshalled.");

     // Prove object is populated, setter/getter functioning.
     System.out.println("\nDemonstrate the setter,getter methods are working
correctly==>");

     System.out.println("DebugCastorMarshalling thisOrderInfo.getOrderStatus   
 :" + thisOrderInfo.getOrderStatus());
     System.out.println("DebugCastorMarshalling
thisOrderInfo.getOrderStatusCode :" +
thisOrderInfo.getOrderStatusCode().toString());
     System.out.println("DebugCastorMarshalling thisOrderInfo.getParentOrderId 
 :" + thisOrderInfo.getParentOrderId());
     System.out.println("DebugCastorMarshalling thisOrderInfo.getComment       
 :" + thisOrderInfo.getComment());

     // marshal OrderInfo object to XML via castor
     String orderInfoObjToXml = null;
     StringWriter orderInfoObjToXmlBfr = new StringWriter();
     Marshaller.marshal(thisOrderInfo, orderInfoObjToXmlBfr);
     orderInfoObjToXml = orderInfoObjToXmlBfr.toString();
     orderInfoObjToXmlBfr.close();
     System.out.println("\n\nThe nested OrderInfo object will not marshal the
orderStatusCode element==>");
     System.out.println("DebugCastorMarshalling marshalled OrderInfo xml:" +
orderInfoObjToXml.toString());

     orderInfoObjToXmlBfr = new StringWriter();
     Marshaller.marshal(thisOrderInfo.getOrderStatusCode(),
orderInfoObjToXmlBfr);
     orderInfoObjToXml = orderInfoObjToXmlBfr.toString();
     orderInfoObjToXmlBfr.close();
     System.out.println("\n\nThe orderStatusCode will marshal if processed
independently==>");
     System.out.println("DebugCastorMarshalling marshalled
thisOrderInfo.getOrderStatusCode() xml:" + orderInfoObjToXml.toString());

     // Try some debugging
     orderInfoObjToXmlBfr = new StringWriter();
     Marshaller myMarshaller = new Marshaller(orderInfoObjToXmlBfr);
     myMarshaller.setDebug(true);
     myMarshaller.marshal(thisOrderInfo);
     orderInfoObjToXml = orderInfoObjToXmlBfr.toString();
     orderInfoObjToXmlBfr.close();
     System.out.println("\n\nDebug enabled Marshal OrderInfo object ==>");
     System.out.println("DebugCastorMarshalling marshalled OrderInfo xml:" +
orderInfoObjToXml.toString());

     // This shows the Address working fine, it has essentially identical
wsdl/soap structure.
     thisAddressInfo.setAddress1("Some Address to be marshalled");
     thisAddressInfo.setAddressName("Some AddressName to be marshalled");
     thisAddressInfo.setCity("Some City to be marshalled");
    
thisAddressInfo.setAddressType(com.hp.goit.pgs.fqm.update.PG_AddressType.BillToAddress);


     String addressInfoObjToXml = null;
     StringWriter addressInfoObjToXmlBfr = new StringWriter();
     Marshaller.marshal(thisAddressInfo, addressInfoObjToXmlBfr);
     addressInfoObjToXml = addressInfoObjToXmlBfr.toString();
     addressInfoObjToXmlBfr.close();
     System.out.println("\n\nThe AddressType will also not marshall
correctly==>");
     System.out.println("DebugCastorMarshalling marshalled PG_Address xml:" +
addressInfoObjToXml.toString());


   }
   catch (Exception ex) {
     // If for any reason we fail to get the transaction information we
probably need to set the FRAUD_PROCESS_STATE to ERROR
     System.out.println("FAILED: DebugCastorMarshalling OrderInfo
Marshaller.marshal Exception:" + ex.toString());
   }

   System.out.println("DebugCastorMarshalling main END");

 } // public static void main(String[] args)

} // class DebugCastorMarshalling





---  Child classes ------------------

/**
 * OrderInfo.java
 *
 * This file was auto-generated from WSDL
 * by the Apache Axis WSDL2Java emitter.
 */

package com.hp.goit.pgs.fqm.update;

public class OrderInfo  implements java.io.Serializable {
    private java.lang.String orderStatus;
    private com.hp.goit.pgs.fqm.update.PG_OrderStatusType orderStatusCode;
    private java.lang.String comment;
    private java.lang.String parentOrderId;

    public OrderInfo() {
    }

    public java.lang.String getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(java.lang.String orderStatus) {
        this.orderStatus = orderStatus;
    }

    public com.hp.goit.pgs.fqm.update.PG_OrderStatusType getOrderStatusCode() {
        return orderStatusCode;
    }

    public void
setOrderStatusCode(com.hp.goit.pgs.fqm.update.PG_OrderStatusType
orderStatusCode) {
        this.orderStatusCode = orderStatusCode;
    }

    public java.lang.String getComment() {
        return comment;
    }

    public void setComment(java.lang.String comment) {
        this.comment = comment;
    }

    public java.lang.String getParentOrderId() {
        return parentOrderId;
    }

    public void setParentOrderId(java.lang.String parentOrderId) {
        this.parentOrderId = parentOrderId;
    }

    private java.lang.Object __equalsCalc = null;
    public synchronized boolean equals(java.lang.Object obj) {
        if (!(obj instanceof OrderInfo)) return false;
        OrderInfo other = (OrderInfo) obj;
        if (obj == null) return false;
        if (this == obj) return true;
        if (__equalsCalc != null) {
            return (__equalsCalc == obj);
        }
        __equalsCalc = obj;
        boolean _equals;
        _equals = true && 
            ((orderStatus==null && other.getOrderStatus()==null) || 
             (orderStatus!=null &&
              orderStatus.equals(other.getOrderStatus()))) &&
            ((orderStatusCode==null && other.getOrderStatusCode()==null) || 
             (orderStatusCode!=null &&
              orderStatusCode.equals(other.getOrderStatusCode()))) &&
            ((comment==null && other.getComment()==null) || 
             (comment!=null &&
              comment.equals(other.getComment()))) &&
            ((parentOrderId==null && other.getParentOrderId()==null) || 
             (parentOrderId!=null &&
              parentOrderId.equals(other.getParentOrderId())));
        __equalsCalc = null;
        return _equals;
    }

    private boolean __hashCodeCalc = false;
    public synchronized int hashCode() {
        if (__hashCodeCalc) {
            return 0;
        }
        __hashCodeCalc = true;
        int _hashCode = 1;
        if (getOrderStatus() != null) {
            _hashCode += getOrderStatus().hashCode();
        }
        if (getOrderStatusCode() != null) {
            _hashCode += getOrderStatusCode().hashCode();
        }
        if (getComment() != null) {
            _hashCode += getComment().hashCode();
        }
        if (getParentOrderId() != null) {
            _hashCode += getParentOrderId().hashCode();
        }
        __hashCodeCalc = false;
        return _hashCode;
    }

    // Type metadata
    private static org.apache.axis.description.TypeDesc typeDesc =
        new org.apache.axis.description.TypeDesc(OrderInfo.class);

    static {
        org.apache.axis.description.FieldDesc field = new
org.apache.axis.description.ElementDesc();
        field.setFieldName("orderStatus");
        field.setXmlName(new
javax.xml.namespace.QName("com.hp.goit.pgs.fqm.update", "orderStatus"));
        field.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema";, "string"));
        field.setMinOccursIs0(true);
        typeDesc.addFieldDesc(field);
        field = new org.apache.axis.description.ElementDesc();
        field.setFieldName("orderStatusCode");
        field.setXmlName(new
javax.xml.namespace.QName("com.hp.goit.pgs.fqm.update", "orderStatusCode"));
        field.setXmlType(new
javax.xml.namespace.QName("com.hp.goit.pgs.fqm.update", "PG_OrderStatusType"));
        field.setMinOccursIs0(true);
        typeDesc.addFieldDesc(field);
        field = new org.apache.axis.description.ElementDesc();
        field.setFieldName("comment");
        field.setXmlName(new
javax.xml.namespace.QName("com.hp.goit.pgs.fqm.update", "comment"));
        field.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema";, "string"));
        field.setMinOccursIs0(true);
        typeDesc.addFieldDesc(field);
        field = new org.apache.axis.description.ElementDesc();
        field.setFieldName("parentOrderId");
        field.setXmlName(new
javax.xml.namespace.QName("com.hp.goit.pgs.fqm.update", "parentOrderId"));
        field.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema";, "string"));
        field.setMinOccursIs0(true);
        typeDesc.addFieldDesc(field);
    };

    /**
     * Return type metadata object
     */
    public static org.apache.axis.description.TypeDesc getTypeDesc() {
        return typeDesc;
    }

    /**
     * Get Custom Serializer
     */
    public static org.apache.axis.encoding.Serializer getSerializer(
           java.lang.String mechType, 
           java.lang.Class _javaType,  
           javax.xml.namespace.QName _xmlType) {
        return 
          new  org.apache.axis.encoding.ser.BeanSerializer(
            _javaType, _xmlType, typeDesc);
    }

    /**
     * Get Custom Deserializer
     */
    public static org.apache.axis.encoding.Deserializer getDeserializer(
           java.lang.String mechType, 
           java.lang.Class _javaType,  
           javax.xml.namespace.QName _xmlType) {
        return 
          new  org.apache.axis.encoding.ser.BeanDeserializer(
            _javaType, _xmlType, typeDesc);
    }

}



-----------------------------------------------------



/**
 * PG_AddressType.java
 *
 * This file was auto-generated from WSDL
 * by the Apache Axis WSDL2Java emitter.
 */

package com.hp.goit.pgs.fqm.update;

public class PG_AddressType implements java.io.Serializable {
    private java.lang.String _value_;
    private static java.util.HashMap _table_ = new java.util.HashMap();

    // Constructor
    protected PG_AddressType(java.lang.String value) {
        _value_ = value;
        _table_.put(_value_,this);
    };

    public static final java.lang.String _BillToAddress = "BillToAddress";
    public static final java.lang.String _ShipToAddress = "ShipToAddress";
    public static final java.lang.String _SoldToAddress = "SoldToAddress";
    public static final java.lang.String _NullAddress = "NullAddress";
    public static final PG_AddressType BillToAddress = new
PG_AddressType(_BillToAddress);
    public static final PG_AddressType ShipToAddress = new
PG_AddressType(_ShipToAddress);
    public static final PG_AddressType SoldToAddress = new
PG_AddressType(_SoldToAddress);
    public static final PG_AddressType NullAddress = new
PG_AddressType(_NullAddress);
    public java.lang.String getValue() { return _value_;}
    public static PG_AddressType fromValue(java.lang.String value)
          throws java.lang.IllegalStateException {
        PG_AddressType enum = (PG_AddressType)
            _table_.get(value);
        if (enum==null) throw new java.lang.IllegalStateException();
        return enum;
    }
    public static PG_AddressType fromString(java.lang.String value)
          throws java.lang.IllegalStateException {
        return fromValue(value);
    }
    public boolean equals(java.lang.Object obj) {return (obj == this);}
    public int hashCode() { return toString().hashCode();}
    public java.lang.String toString() { return _value_;}
}





------------------------------------------------------------------




/**
 * PG_Address.java
 *
 * This file was auto-generated from WSDL
 * by the Apache Axis WSDL2Java emitter.
 */

package com.hp.goit.pgs.fqm.update;

public class PG_Address  implements java.io.Serializable {
    private java.lang.String companyName;
    private java.lang.String registrationNumber;
    private com.hp.goit.pgs.fqm.update.PG_AddressType addressType;
    private java.lang.String addressName;
    private java.lang.String address1;
    private java.lang.String address2;
    private java.lang.String address3;
    private java.lang.String address4;
    private java.lang.String city;
    private java.lang.String county;
    private java.lang.String state;
    private java.lang.String postalCode;
    private java.lang.String country;
    private java.lang.String contactFirstName;
    private java.lang.String contactLastName;
    private java.lang.String contactDayPhone;
    private java.lang.String contactNightPhone;
    private java.lang.String contactEmail;

    public PG_Address() {
    }

    public java.lang.String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(java.lang.String companyName) {
        this.companyName = companyName;
    }

    public java.lang.String getRegistrationNumber() {
        return registrationNumber;
    }

    public void setRegistrationNumber(java.lang.String registrationNumber) {
        this.registrationNumber = registrationNumber;
    }

    public com.hp.goit.pgs.fqm.update.PG_AddressType getAddressType() {
        return addressType;
    }

    public void setAddressType(com.hp.goit.pgs.fqm.update.PG_AddressType
addressType) {
        this.addressType = addressType;
    }

    public java.lang.String getAddressName() {
        return addressName;
    }

    public void setAddressName(java.lang.String addressName) {
        this.addressName = addressName;
    }

    public java.lang.String getAddress1() {
        return address1;
    }

    public void setAddress1(java.lang.String address1) {
        this.address1 = address1;
    }

    public java.lang.String getAddress2() {
        return address2;
    }

    public void setAddress2(java.lang.String address2) {
        this.address2 = address2;
    }

    public java.lang.String getAddress3() {
        return address3;
    }

    public void setAddress3(java.lang.String address3) {
        this.address3 = address3;
    }

    public java.lang.String getAddress4() {
        return address4;
    }

    public void setAddress4(java.lang.String address4) {
        this.address4 = address4;
    }

    public java.lang.String getCity() {
        return city;
    }

    public void setCity(java.lang.String city) {
        this.city = city;
    }

    public java.lang.String getCounty() {
        return county;
    }

    public void setCounty(java.lang.String county) {
        this.county = county;
    }

    public java.lang.String getState() {
        return state;
    }

    public void setState(java.lang.String state) {
        this.state = state;
    }

    public java.lang.String getPostalCode() {
        return postalCode;
    }

    public void setPostalCode(java.lang.String postalCode) {
        this.postalCode = postalCode;
    }

    public java.lang.String getCountry() {
        return country;
    }

    public void setCountry(java.lang.String country) {
        this.country = country;
    }

    public java.lang.String getContactFirstName() {
        return contactFirstName;
    }

    public void setContactFirstName(java.lang.String contactFirstName) {
        this.contactFirstName = contactFirstName;
    }

    public java.lang.String getContactLastName() {
        return contactLastName;
    }

    public void setContactLastName(java.lang.String contactLastName) {
        this.contactLastName = contactLastName;
    }

    public java.lang.String getContactDayPhone() {
        return contactDayPhone;
    }

    public void setContactDayPhone(java.lang.String contactDayPhone) {
        this.contactDayPhone = contactDayPhone;
    }

    public java.lang.String getContactNightPhone() {
        return contactNightPhone;
    }

    public void setContactNightPhone(java.lang.String contactNightPhone) {
        this.contactNightPhone = contactNightPhone;
    }

    public java.lang.String getContactEmail() {
        return contactEmail;
    }

    public void setContactEmail(java.lang.String contactEmail) {
        this.contactEmail = contactEmail;
    }

    private java.lang.Object __equalsCalc = null;
    public synchronized boolean equals(java.lang.Object obj) {
        if (!(obj instanceof PG_Address)) return false;
        PG_Address other = (PG_Address) obj;
        if (obj == null) return false;
        if (this == obj) return true;
        if (__equalsCalc != null) {
            return (__equalsCalc == obj);
        }
        __equalsCalc = obj;
        boolean _equals;
        _equals = true && 
            ((companyName==null && other.getCompanyName()==null) || 
             (companyName!=null &&
              companyName.equals(other.getCompanyName()))) &&
            ((registrationNumber==null && other.getRegistrationNumber()==null)
|| 
             (registrationNumber!=null &&
              registrationNumber.equals(other.getRegistrationNumber()))) &&
            ((addressType==null && other.getAddressType()==null) || 
             (addressType!=null &&
              addressType.equals(other.getAddressType()))) &&
            ((addressName==null && other.getAddressName()==null) || 
             (addressName!=null &&
              addressName.equals(other.getAddressName()))) &&
            ((address1==null && other.getAddress1()==null) || 
             (address1!=null &&
              address1.equals(other.getAddress1()))) &&
            ((address2==null && other.getAddress2()==null) || 
             (address2!=null &&
              address2.equals(other.getAddress2()))) &&
            ((address3==null && other.getAddress3()==null) || 
             (address3!=null &&
              address3.equals(other.getAddress3()))) &&
            ((address4==null && other.getAddress4()==null) || 
             (address4!=null &&
              address4.equals(other.getAddress4()))) &&
            ((city==null && other.getCity()==null) || 
             (city!=null &&
              city.equals(other.getCity()))) &&
            ((county==null && other.getCounty()==null) || 
             (county!=null &&
              county.equals(other.getCounty()))) &&
            ((state==null && other.getState()==null) || 
             (state!=null &&
              state.equals(other.getState()))) &&
            ((postalCode==null && other.getPostalCode()==null) || 
             (postalCode!=null &&
              postalCode.equals(other.getPostalCode()))) &&
            ((country==null && other.getCountry()==null) || 
             (country!=null &&
              country.equals(other.getCountry()))) &&
            ((contactFirstName==null && other.getContactFirstName()==null) || 
             (contactFirstName!=null &&
              contactFirstName.equals(other.getContactFirstName()))) &&
            ((contactLastName==null && other.getContactLastName()==null) || 
             (contactLastName!=null &&
              contactLastName.equals(other.getContactLastName()))) &&
            ((contactDayPhone==null && other.getContactDayPhone()==null) || 
             (contactDayPhone!=null &&
              contactDayPhone.equals(other.getContactDayPhone()))) &&
            ((contactNightPhone==null && other.getContactNightPhone()==null) ||

             (contactNightPhone!=null &&
              contactNightPhone.equals(other.getContactNightPhone()))) &&
            ((contactEmail==null && other.getContactEmail()==null) || 
             (contactEmail!=null &&
              contactEmail.equals(other.getContactEmail())));
        __equalsCalc = null;
        return _equals;
    }

    private boolean __hashCodeCalc = false;
    public synchronized int hashCode() {
        if (__hashCodeCalc) {
            return 0;
        }
        __hashCodeCalc = true;
        int _hashCode = 1;
        if (getCompanyName() != null) {
            _hashCode += getCompanyName().hashCode();
        }
        if (getRegistrationNumber() != null) {
            _hashCode += getRegistrationNumber().hashCode();
        }
        if (getAddressType() != null) {
            _hashCode += getAddressType().hashCode();
        }
        if (getAddressName() != null) {
            _hashCode += getAddressName().hashCode();
        }
        if (getAddress1() != null) {
            _hashCode += getAddress1().hashCode();
        }
        if (getAddress2() != null) {
            _hashCode += getAddress2().hashCode();
        }
        if (getAddress3() != null) {
            _hashCode += getAddress3().hashCode();
        }
        if (getAddress4() != null) {
            _hashCode += getAddress4().hashCode();
        }
        if (getCity() != null) {
            _hashCode += getCity().hashCode();
        }
        if (getCounty() != null) {
            _hashCode += getCounty().hashCode();
        }
        if (getState() != null) {
            _hashCode += getState().hashCode();
        }
        if (getPostalCode() != null) {
            _hashCode += getPostalCode().hashCode();
        }
        if (getCountry() != null) {
            _hashCode += getCountry().hashCode();
        }
        if (getContactFirstName() != null) {
            _hashCode += getContactFirstName().hashCode();
        }
        if (getContactLastName() != null) {
            _hashCode += getContactLastName().hashCode();
        }
        if (getContactDayPhone() != null) {
            _hashCode += getContactDayPhone().hashCode();
        }
        if (getContactNightPhone() != null) {
            _hashCode += getContactNightPhone().hashCode();
        }
        if (getContactEmail() != null) {
            _hashCode += getContactEmail().hashCode();
        }
        __hashCodeCalc = false;
        return _hashCode;
    }

    // Type metadata
    private static org.apache.axis.description.TypeDesc typeDesc =
        new org.apache.axis.description.TypeDesc(PG_Address.class);

    static {
        org.apache.axis.description.FieldDesc field = new
org.apache.axis.description.ElementDesc();
        field.setFieldName("companyName");
        field.setXmlName(new
javax.xml.namespace.QName("com.hp.goit.pgs.fqm.update", "CompanyName"));
        field.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema";, "string"));
        field.setMinOccursIs0(true);
        typeDesc.addFieldDesc(field);
        field = new org.apache.axis.description.ElementDesc();
        field.setFieldName("registrationNumber");
        field.setXmlName(new
javax.xml.namespace.QName("com.hp.goit.pgs.fqm.update", "RegistrationNumber"));
        field.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema";, "string"));
        field.setMinOccursIs0(true);
        typeDesc.addFieldDesc(field);
        field = new org.apache.axis.description.ElementDesc();
        field.setFieldName("addressType");
        field.setXmlName(new
javax.xml.namespace.QName("com.hp.goit.pgs.fqm.update", "AddressType"));
        field.setXmlType(new
javax.xml.namespace.QName("com.hp.goit.pgs.fqm.update", "PG_AddressType"));
        typeDesc.addFieldDesc(field);
        field = new org.apache.axis.description.ElementDesc();
        field.setFieldName("addressName");
        field.setXmlName(new
javax.xml.namespace.QName("com.hp.goit.pgs.fqm.update", "AddressName"));
        field.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema";, "string"));
        field.setMinOccursIs0(true);
        typeDesc.addFieldDesc(field);
        field = new org.apache.axis.description.ElementDesc();
        field.setFieldName("address1");
        field.setXmlName(new
javax.xml.namespace.QName("com.hp.goit.pgs.fqm.update", "Address1"));
        field.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema";, "string"));
        field.setMinOccursIs0(true);
        typeDesc.addFieldDesc(field);
        field = new org.apache.axis.description.ElementDesc();
        field.setFieldName("address2");
        field.setXmlName(new
javax.xml.namespace.QName("com.hp.goit.pgs.fqm.update", "Address2"));
        field.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema";, "string"));
        field.setMinOccursIs0(true);
        typeDesc.addFieldDesc(field);
        field = new org.apache.axis.description.ElementDesc();
        field.setFieldName("address3");
        field.setXmlName(new
javax.xml.namespace.QName("com.hp.goit.pgs.fqm.update", "Address3"));
        field.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema";, "string"));
        field.setMinOccursIs0(true);
        typeDesc.addFieldDesc(field);
        field = new org.apache.axis.description.ElementDesc();
        field.setFieldName("address4");
        field.setXmlName(new
javax.xml.namespace.QName("com.hp.goit.pgs.fqm.update", "Address4"));
        field.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema";, "string"));
        field.setMinOccursIs0(true);
        typeDesc.addFieldDesc(field);
        field = new org.apache.axis.description.ElementDesc();
        field.setFieldName("city");
        field.setXmlName(new
javax.xml.namespace.QName("com.hp.goit.pgs.fqm.update", "City"));
        field.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema";, "string"));
        field.setMinOccursIs0(true);
        typeDesc.addFieldDesc(field);
        field = new org.apache.axis.description.ElementDesc();
        field.setFieldName("county");
        field.setXmlName(new
javax.xml.namespace.QName("com.hp.goit.pgs.fqm.update", "County"));
        field.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema";, "string"));
        field.setMinOccursIs0(true);
        typeDesc.addFieldDesc(field);
        field = new org.apache.axis.description.ElementDesc();
        field.setFieldName("state");
        field.setXmlName(new
javax.xml.namespace.QName("com.hp.goit.pgs.fqm.update", "State"));
        field.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema";, "string"));
        field.setMinOccursIs0(true);
        typeDesc.addFieldDesc(field);
        field = new org.apache.axis.description.ElementDesc();
        field.setFieldName("postalCode");
        field.setXmlName(new
javax.xml.namespace.QName("com.hp.goit.pgs.fqm.update", "PostalCode"));
        field.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema";, "string"));
        field.setMinOccursIs0(true);
        typeDesc.addFieldDesc(field);
        field = new org.apache.axis.description.ElementDesc();
        field.setFieldName("country");
        field.setXmlName(new
javax.xml.namespace.QName("com.hp.goit.pgs.fqm.update", "Country"));
        field.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema";, "string"));
        field.setMinOccursIs0(true);
        typeDesc.addFieldDesc(field);
        field = new org.apache.axis.description.ElementDesc();
        field.setFieldName("contactFirstName");
        field.setXmlName(new
javax.xml.namespace.QName("com.hp.goit.pgs.fqm.update", "ContactFirstName"));
        field.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema";, "string"));
        field.setMinOccursIs0(true);
        typeDesc.addFieldDesc(field);
        field = new org.apache.axis.description.ElementDesc();
        field.setFieldName("contactLastName");
        field.setXmlName(new
javax.xml.namespace.QName("com.hp.goit.pgs.fqm.update", "ContactLastName"));
        field.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema";, "string"));
        field.setMinOccursIs0(true);
        typeDesc.addFieldDesc(field);
        field = new org.apache.axis.description.ElementDesc();
        field.setFieldName("contactDayPhone");
        field.setXmlName(new
javax.xml.namespace.QName("com.hp.goit.pgs.fqm.update", "ContactDayPhone"));
        field.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema";, "string"));
        field.setMinOccursIs0(true);
        typeDesc.addFieldDesc(field);
        field = new org.apache.axis.description.ElementDesc();
        field.setFieldName("contactNightPhone");
        field.setXmlName(new
javax.xml.namespace.QName("com.hp.goit.pgs.fqm.update", "ContactNightPhone"));
        field.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema";, "string"));
        field.setMinOccursIs0(true);
        typeDesc.addFieldDesc(field);
        field = new org.apache.axis.description.ElementDesc();
        field.setFieldName("contactEmail");
        field.setXmlName(new
javax.xml.namespace.QName("com.hp.goit.pgs.fqm.update", "ContactEmail"));
        field.setXmlType(new
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema";, "string"));
        field.setMinOccursIs0(true);
        typeDesc.addFieldDesc(field);
    };

    /**
     * Return type metadata object
     */
    public static org.apache.axis.description.TypeDesc getTypeDesc() {
        return typeDesc;
    }

    /**
     * Get Custom Serializer
     */
    public static org.apache.axis.encoding.Serializer getSerializer(
           java.lang.String mechType, 
           java.lang.Class _javaType,  
           javax.xml.namespace.QName _xmlType) {
        return 
          new  org.apache.axis.encoding.ser.BeanSerializer(
            _javaType, _xmlType, typeDesc);
    }

    /**
     * Get Custom Deserializer
     */
    public static org.apache.axis.encoding.Deserializer getDeserializer(
           java.lang.String mechType, 
           java.lang.Class _javaType,  
           javax.xml.namespace.QName _xmlType) {
        return 
          new  org.apache.axis.encoding.ser.BeanDeserializer(
            _javaType, _xmlType, typeDesc);
    }

}





-----------------------------------------------------------------------






/**
 * PG_OrderStatusType.java
 *
 * This file was auto-generated from WSDL
 * by the Apache Axis WSDL2Java emitter.
 */

package com.hp.goit.pgs.fqm.update;

public class PG_OrderStatusType implements java.io.Serializable {
    private java.lang.String _value_;
    private static java.util.HashMap _table_ = new java.util.HashMap();

    // Constructor
    protected PG_OrderStatusType(java.lang.String value) {
        _value_ = value;
        _table_.put(_value_,this);
    };

    public static final java.lang.String _APPROVE = "APPROVE";
    public static final java.lang.String _DECLINE = "DECLINE";
    public static final java.lang.String _BANK_DECLINE = "BANK_DECLINE";
    public static final java.lang.String _RETURN = "RETURN";
    public static final java.lang.String _EXCHANGE = "EXCHANGE";
    public static final PG_OrderStatusType APPROVE = new
PG_OrderStatusType(_APPROVE);
    public static final PG_OrderStatusType DECLINE = new
PG_OrderStatusType(_DECLINE);
    public static final PG_OrderStatusType BANK_DECLINE = new
PG_OrderStatusType(_BANK_DECLINE);
    public static final PG_OrderStatusType RETURN = new
PG_OrderStatusType(_RETURN);
    public static final PG_OrderStatusType EXCHANGE = new
PG_OrderStatusType(_EXCHANGE);
    public java.lang.String getValue() { return _value_;}
    public static PG_OrderStatusType fromValue(java.lang.String value)
          throws java.lang.IllegalStateException {
        PG_OrderStatusType enum = (PG_OrderStatusType)
            _table_.get(value);
        if (enum==null) throw new java.lang.IllegalStateException();
        return enum;
    }
    public static PG_OrderStatusType fromString(java.lang.String value)
          throws java.lang.IllegalStateException {
        return fromValue(value);
    }
    public boolean equals(java.lang.Object obj) {return (obj == this);}
    public int hashCode() { return toString().hashCode();}
    public java.lang.String toString() { return _value_;}
}





__________________________________
Do you Yahoo!?
Yahoo! Search - Find what you�re looking for faster
http://search.yahoo.com

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to