axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Durham <ddur...@vailsys.com>
Subject Tibco vs Axis [round 1 ...]
Date Fri, 16 Dec 2005 17:48:33 GMT
I've got a shema, which I'll post if necessary, that I'm using to 
generate client classes with Axis 1.3.  My client needs to connect to a 
Tibco server, and it does so successfully, but fails to parse the 
response.  The error I get is a SAXException with regards to the element 
POVerifyReply.  Here's what the response looks like:


<SOAP-ENV:Envelope
     xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
   <SOAP-ENV:Body>
       <ns0:getPOStatusResponse
          xmlns:xs="http://www.w3.org/2001/XMLSchema"
          xmlns:soap-enc="http://schemas.xmlsoap.org/soap/encoding/"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xmlns:ns0="http://OutputMessageNamespace">
            <POVerifyReply>
                <ns:POVerifyReply
        xmlns:ns0="http://.../POVerifyReply"
        xmlns:ns="http://.../POVerifyReply">
                    <ns:Error />
                     ...
                 </ns:POVerifyReply>
            </POVerifyReply>
       </ns0:getPOStatusResponse>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>


Notice a nested <ns:POVerifyReply/> within a <POVerifyReply>.  I think 
this is the problem because the SAX Exception looks like this:

org.xml.sax.SAXException: Invalid element in <packagename>.POVerifyReply 
- POVerifyReply at 
org.apache.axis.encoding.ser.BeanDeserializer.onStartChild(BeanDeserializer.java:258)


I'm new to web services, but that looks like the Holder pattern, but 
Axis doesn't generate a Holder based on the given WSDL/Schema.  So, 
maybe this is an interoperability issue with Tibco.  I don't know. 
Anyone have any ideas?  Or can point me to something related to this. 
Anything please.

Thanks.


POVerifyReply.java follows:


/**
  * POVerifyReply.java
  *
  * This file was auto-generated from WSDL
  * by the Apache Axis 1.3 Oct 05, 2005 (05:23:37 EDT) WSDL2Java emitter.
  */

package versay.armstrong.dci.gpos;

public class POVerifyReply  implements java.io.Serializable {
     private java.lang.String error;

     private java.lang.String source;

     private java.lang.String distributorID;

     private java.lang.String orderProdType;

     private java.lang.String packListAvail;

     private java.lang.String reqAssist;

     private java.lang.String POFound;

     private java.lang.String onHold;

     private java.lang.String status;

     private java.lang.String armRefer;

     private java.lang.String dateRqd;

     private java.lang.String shipDate;

     private java.lang.String shipment;

     private java.lang.String PRONum;

     private java.lang.String buyerName;

     private java.lang.String buyerPhone;

     private POVerifyReplyShipFrom shipFrom;

     private POVerifyReplyCarrier carrier;

     private ItemDetails[] itemDetails;

     public POVerifyReply() {
     }

     public POVerifyReply(
            java.lang.String error,
            java.lang.String source,
            java.lang.String distributorID,
            java.lang.String orderProdType,
            java.lang.String packListAvail,
            java.lang.String reqAssist,
            java.lang.String POFound,
            java.lang.String onHold,
            java.lang.String status,
            java.lang.String armRefer,
            java.lang.String dateRqd,
            java.lang.String shipDate,
            java.lang.String shipment,
            java.lang.String PRONum,
            java.lang.String buyerName,
            java.lang.String buyerPhone,
            POVerifyReplyShipFrom shipFrom,
            POVerifyReplyCarrier carrier,
            ItemDetails[] itemDetails) {
            this.error = error;
            this.source = source;
            this.distributorID = distributorID;
            this.orderProdType = orderProdType;
            this.packListAvail = packListAvail;
            this.reqAssist = reqAssist;
            this.POFound = POFound;
            this.onHold = onHold;
            this.status = status;
            this.armRefer = armRefer;
            this.dateRqd = dateRqd;
            this.shipDate = shipDate;
            this.shipment = shipment;
            this.PRONum = PRONum;
            this.buyerName = buyerName;
            this.buyerPhone = buyerPhone;
            this.shipFrom = shipFrom;
            this.carrier = carrier;
            this.itemDetails = itemDetails;
     }


     /**
      * Gets the error value for this POVerifyReply.
      *
      * @return error
      */
     public java.lang.String getError() {
         return error;
     }


     /**
      * Sets the error value for this POVerifyReply.
      *
      * @param error
      */
     public void setError(java.lang.String error) {
         this.error = error;
     }


     /**
      * Gets the source value for this POVerifyReply.
      *
      * @return source
      */
     public java.lang.String getSource() {
         return source;
     }


     /**
      * Sets the source value for this POVerifyReply.
      *
      * @param source
      */
     public void setSource(java.lang.String source) {
         this.source = source;
     }


     /**
      * Gets the distributorID value for this POVerifyReply.
      *
      * @return distributorID
      */
     public java.lang.String getDistributorID() {
         return distributorID;
     }


     /**
      * Sets the distributorID value for this POVerifyReply.
      *
      * @param distributorID
      */
     public void setDistributorID(java.lang.String distributorID) {
         this.distributorID = distributorID;
     }


     /**
      * Gets the orderProdType value for this POVerifyReply.
      *
      * @return orderProdType
      */
     public java.lang.String getOrderProdType() {
         return orderProdType;
     }


     /**
      * Sets the orderProdType value for this POVerifyReply.
      *
      * @param orderProdType
      */
     public void setOrderProdType(java.lang.String orderProdType) {
         this.orderProdType = orderProdType;
     }


     /**
      * Gets the packListAvail value for this POVerifyReply.
      *
      * @return packListAvail
      */
     public java.lang.String getPackListAvail() {
         return packListAvail;
     }


     /**
      * Sets the packListAvail value for this POVerifyReply.
      *
      * @param packListAvail
      */
     public void setPackListAvail(java.lang.String packListAvail) {
         this.packListAvail = packListAvail;
     }


     /**
      * Gets the reqAssist value for this POVerifyReply.
      *
      * @return reqAssist
      */
     public java.lang.String getReqAssist() {
         return reqAssist;
     }


     /**
      * Sets the reqAssist value for this POVerifyReply.
      *
      * @param reqAssist
      */
     public void setReqAssist(java.lang.String reqAssist) {
         this.reqAssist = reqAssist;
     }


     /**
      * Gets the POFound value for this POVerifyReply.
      *
      * @return POFound
      */
     public java.lang.String getPOFound() {
         return POFound;
     }


     /**
      * Sets the POFound value for this POVerifyReply.
      *
      * @param POFound
      */
     public void setPOFound(java.lang.String POFound) {
         this.POFound = POFound;
     }


     /**
      * Gets the onHold value for this POVerifyReply.
      *
      * @return onHold
      */
     public java.lang.String getOnHold() {
         return onHold;
     }


     /**
      * Sets the onHold value for this POVerifyReply.
      *
      * @param onHold
      */
     public void setOnHold(java.lang.String onHold) {
         this.onHold = onHold;
     }


     /**
      * Gets the status value for this POVerifyReply.
      *
      * @return status
      */
     public java.lang.String getStatus() {
         return status;
     }


     /**
      * Sets the status value for this POVerifyReply.
      *
      * @param status
      */
     public void setStatus(java.lang.String status) {
         this.status = status;
     }


     /**
      * Gets the armRefer value for this POVerifyReply.
      *
      * @return armRefer
      */
     public java.lang.String getArmRefer() {
         return armRefer;
     }


     /**
      * Sets the armRefer value for this POVerifyReply.
      *
      * @param armRefer
      */
     public void setArmRefer(java.lang.String armRefer) {
         this.armRefer = armRefer;
     }


     /**
      * Gets the dateRqd value for this POVerifyReply.
      *
      * @return dateRqd
      */
     public java.lang.String getDateRqd() {
         return dateRqd;
     }


     /**
      * Sets the dateRqd value for this POVerifyReply.
      *
      * @param dateRqd
      */
     public void setDateRqd(java.lang.String dateRqd) {
         this.dateRqd = dateRqd;
     }


     /**
      * Gets the shipDate value for this POVerifyReply.
      *
      * @return shipDate
      */
     public java.lang.String getShipDate() {
         return shipDate;
     }


     /**
      * Sets the shipDate value for this POVerifyReply.
      *
      * @param shipDate
      */
     public void setShipDate(java.lang.String shipDate) {
         this.shipDate = shipDate;
     }


     /**
      * Gets the shipment value for this POVerifyReply.
      *
      * @return shipment
      */
     public java.lang.String getShipment() {
         return shipment;
     }


     /**
      * Sets the shipment value for this POVerifyReply.
      *
      * @param shipment
      */
     public void setShipment(java.lang.String shipment) {
         this.shipment = shipment;
     }


     /**
      * Gets the PRONum value for this POVerifyReply.
      *
      * @return PRONum
      */
     public java.lang.String getPRONum() {
         return PRONum;
     }


     /**
      * Sets the PRONum value for this POVerifyReply.
      *
      * @param PRONum
      */
     public void setPRONum(java.lang.String PRONum) {
         this.PRONum = PRONum;
     }


     /**
      * Gets the buyerName value for this POVerifyReply.
      *
      * @return buyerName
      */
     public java.lang.String getBuyerName() {
         return buyerName;
     }


     /**
      * Sets the buyerName value for this POVerifyReply.
      *
      * @param buyerName
      */
     public void setBuyerName(java.lang.String buyerName) {
         this.buyerName = buyerName;
     }


     /**
      * Gets the buyerPhone value for this POVerifyReply.
      *
      * @return buyerPhone
      */
     public java.lang.String getBuyerPhone() {
         return buyerPhone;
     }


     /**
      * Sets the buyerPhone value for this POVerifyReply.
      *
      * @param buyerPhone
      */
     public void setBuyerPhone(java.lang.String buyerPhone) {
         this.buyerPhone = buyerPhone;
     }


     /**
      * Gets the shipFrom value for this POVerifyReply.
      *
      * @return shipFrom
      */
     public POVerifyReplyShipFrom getShipFrom() {
         return shipFrom;
     }


     /**
      * Sets the shipFrom value for this POVerifyReply.
      *
      * @param shipFrom
      */
     public void setShipFrom(POVerifyReplyShipFrom shipFrom) {
         this.shipFrom = shipFrom;
     }


     /**
      * Gets the carrier value for this POVerifyReply.
      *
      * @return carrier
      */
     public POVerifyReplyCarrier getCarrier() {
         return carrier;
     }


     /**
      * Sets the carrier value for this POVerifyReply.
      *
      * @param carrier
      */
     public void setCarrier(POVerifyReplyCarrier carrier) {
         this.carrier = carrier;
     }


     /**
      * Gets the itemDetails value for this POVerifyReply.
      *
      * @return itemDetails
      */
     public ItemDetails[] getItemDetails() {
         return itemDetails;
     }


     /**
      * Sets the itemDetails value for this POVerifyReply.
      *
      * @param itemDetails
      */
     public void setItemDetails(ItemDetails[] itemDetails) {
         this.itemDetails = itemDetails;
     }

     public ItemDetails getItemDetails(int i) {
         return this.itemDetails[i];
     }

     public void setItemDetails(int i, ItemDetails _value) {
         this.itemDetails[i] = _value;
     }

     private java.lang.Object __equalsCalc = null;
     public synchronized boolean equals(java.lang.Object obj) {
         if (!(obj instanceof POVerifyReply)) return false;
         POVerifyReply other = (POVerifyReply) obj;
         if (obj == null) return false;
         if (this == obj) return true;
         if (__equalsCalc != null) {
             return (__equalsCalc == obj);
         }
         __equalsCalc = obj;
         boolean _equals;
         _equals = true &&
             ((this.error==null && other.getError()==null) ||
              (this.error!=null &&
               this.error.equals(other.getError()))) &&
             ((this.source==null && other.getSource()==null) ||
              (this.source!=null &&
               this.source.equals(other.getSource()))) &&
             ((this.distributorID==null && 
other.getDistributorID()==null) ||
              (this.distributorID!=null &&
               this.distributorID.equals(other.getDistributorID()))) &&
             ((this.orderProdType==null && 
other.getOrderProdType()==null) ||
              (this.orderProdType!=null &&
               this.orderProdType.equals(other.getOrderProdType()))) &&
             ((this.packListAvail==null && 
other.getPackListAvail()==null) ||
              (this.packListAvail!=null &&
               this.packListAvail.equals(other.getPackListAvail()))) &&
             ((this.reqAssist==null && other.getReqAssist()==null) ||
              (this.reqAssist!=null &&
               this.reqAssist.equals(other.getReqAssist()))) &&
             ((this.POFound==null && other.getPOFound()==null) ||
              (this.POFound!=null &&
               this.POFound.equals(other.getPOFound()))) &&
             ((this.onHold==null && other.getOnHold()==null) ||
              (this.onHold!=null &&
               this.onHold.equals(other.getOnHold()))) &&
             ((this.status==null && other.getStatus()==null) ||
              (this.status!=null &&
               this.status.equals(other.getStatus()))) &&
             ((this.armRefer==null && other.getArmRefer()==null) ||
              (this.armRefer!=null &&
               this.armRefer.equals(other.getArmRefer()))) &&
             ((this.dateRqd==null && other.getDateRqd()==null) ||
              (this.dateRqd!=null &&
               this.dateRqd.equals(other.getDateRqd()))) &&
             ((this.shipDate==null && other.getShipDate()==null) ||
              (this.shipDate!=null &&
               this.shipDate.equals(other.getShipDate()))) &&
             ((this.shipment==null && other.getShipment()==null) ||
              (this.shipment!=null &&
               this.shipment.equals(other.getShipment()))) &&
             ((this.PRONum==null && other.getPRONum()==null) ||
              (this.PRONum!=null &&
               this.PRONum.equals(other.getPRONum()))) &&
             ((this.buyerName==null && other.getBuyerName()==null) ||
              (this.buyerName!=null &&
               this.buyerName.equals(other.getBuyerName()))) &&
             ((this.buyerPhone==null && other.getBuyerPhone()==null) ||
              (this.buyerPhone!=null &&
               this.buyerPhone.equals(other.getBuyerPhone()))) &&
             ((this.shipFrom==null && other.getShipFrom()==null) ||
              (this.shipFrom!=null &&
               this.shipFrom.equals(other.getShipFrom()))) &&
             ((this.carrier==null && other.getCarrier()==null) ||
              (this.carrier!=null &&
               this.carrier.equals(other.getCarrier()))) &&
             ((this.itemDetails==null && other.getItemDetails()==null) ||
              (this.itemDetails!=null &&
               java.util.Arrays.equals(this.itemDetails, 
other.getItemDetails())));
         __equalsCalc = null;
         return _equals;
     }

     private boolean __hashCodeCalc = false;
     public synchronized int hashCode() {
         if (__hashCodeCalc) {
             return 0;
         }
         __hashCodeCalc = true;
         int _hashCode = 1;
         if (getError() != null) {
             _hashCode += getError().hashCode();
         }
         if (getSource() != null) {
             _hashCode += getSource().hashCode();
         }
         if (getDistributorID() != null) {
             _hashCode += getDistributorID().hashCode();
         }
         if (getOrderProdType() != null) {
             _hashCode += getOrderProdType().hashCode();
         }
         if (getPackListAvail() != null) {
             _hashCode += getPackListAvail().hashCode();
         }
         if (getReqAssist() != null) {
             _hashCode += getReqAssist().hashCode();
         }
         if (getPOFound() != null) {
             _hashCode += getPOFound().hashCode();
         }
         if (getOnHold() != null) {
             _hashCode += getOnHold().hashCode();
         }
         if (getStatus() != null) {
             _hashCode += getStatus().hashCode();
         }
         if (getArmRefer() != null) {
             _hashCode += getArmRefer().hashCode();
         }
         if (getDateRqd() != null) {
             _hashCode += getDateRqd().hashCode();
         }
         if (getShipDate() != null) {
             _hashCode += getShipDate().hashCode();
         }
         if (getShipment() != null) {
             _hashCode += getShipment().hashCode();
         }
         if (getPRONum() != null) {
             _hashCode += getPRONum().hashCode();
         }
         if (getBuyerName() != null) {
             _hashCode += getBuyerName().hashCode();
         }
         if (getBuyerPhone() != null) {
             _hashCode += getBuyerPhone().hashCode();
         }
         if (getShipFrom() != null) {
             _hashCode += getShipFrom().hashCode();
         }
         if (getCarrier() != null) {
             _hashCode += getCarrier().hashCode();
         }
         if (getItemDetails() != null) {
             for (int i=0;
                  i<java.lang.reflect.Array.getLength(getItemDetails());
                  i++) {
                 java.lang.Object obj = 
java.lang.reflect.Array.get(getItemDetails(), i);
                 if (obj != null &&
                     !obj.getClass().isArray()) {
                     _hashCode += obj.hashCode();
                 }
             }
         }
         __hashCodeCalc = false;
         return _hashCode;
     }

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

     static {
         typeDesc.setXmlType(new 
javax.xml.namespace.QName("http://[deleted]/POVerifyReply", 
">POVerifyReply"));
         org.apache.axis.description.ElementDesc elemField = new 
org.apache.axis.description.ElementDesc();
         elemField.setFieldName("error");
         elemField.setXmlName(new 
javax.xml.namespace.QName("http://[deleted]/POVerifyReply", "Error"));
         elemField.setXmlType(new 
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
         elemField.setMinOccurs(0);
         elemField.setNillable(false);
         typeDesc.addFieldDesc(elemField);
         elemField = new org.apache.axis.description.ElementDesc();
         elemField.setFieldName("source");
         elemField.setXmlName(new 
javax.xml.namespace.QName("http://[deleted]POVerifyReply", "Source"));
         elemField.setXmlType(new 
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
         elemField.setMinOccurs(0);
         elemField.setNillable(false);
         typeDesc.addFieldDesc(elemField);
         elemField = new org.apache.axis.description.ElementDesc();
         elemField.setFieldName("distributorID");
         elemField.setXmlName(new 
javax.xml.namespace.QName("http://[deleted]POVerifyReply", 
"DistributorID"));
         elemField.setXmlType(new 
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
         elemField.setMinOccurs(0);
         elemField.setNillable(false);
         typeDesc.addFieldDesc(elemField);
         elemField = new org.apache.axis.description.ElementDesc();
         elemField.setFieldName("orderProdType");
         elemField.setXmlName(new 
javax.xml.namespace.QName("http://[deleted]OVerifyReply", "OrderProdType"));
         elemField.setXmlType(new 
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
         elemField.setMinOccurs(0);
         elemField.setNillable(false);
         typeDesc.addFieldDesc(elemField);
         elemField = new org.apache.axis.description.ElementDesc();
         elemField.setFieldName("packListAvail");
         elemField.setXmlName(new 
javax.xml.namespace.QName("http://[deleted]POVerifyReply", 
"PackListAvail"));
         elemField.setXmlType(new 
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
         elemField.setMinOccurs(0);
         elemField.setNillable(false);
         typeDesc.addFieldDesc(elemField);
         elemField = new org.apache.axis.description.ElementDesc();
         elemField.setFieldName("reqAssist");
         elemField.setXmlName(new 
javax.xml.namespace.QName("http://[deleted]/POVerifyReply", "ReqAssist"));
         elemField.setXmlType(new 
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
         elemField.setMinOccurs(0);
         elemField.setNillable(false);
         typeDesc.addFieldDesc(elemField);
         elemField = new org.apache.axis.description.ElementDesc();
         elemField.setFieldName("POFound");
         elemField.setXmlName(new 
javax.xml.namespace.QName("http://[deleted]/POVerifyReply", "POFound"));
         elemField.setXmlType(new 
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
         elemField.setMinOccurs(0);
         elemField.setNillable(false);
         typeDesc.addFieldDesc(elemField);
         elemField = new org.apache.axis.description.ElementDesc();
         elemField.setFieldName("onHold");
         elemField.setXmlName(new 
javax.xml.namespace.QName("http://[deleted]/POVerifyReply", "OnHold"));
         elemField.setXmlType(new 
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
         elemField.setMinOccurs(0);
         elemField.setNillable(false);
         typeDesc.addFieldDesc(elemField);
         elemField = new org.apache.axis.description.ElementDesc();
         elemField.setFieldName("status");
         elemField.setXmlName(new 
javax.xml.namespace.QName("http://[deleted]/POVerifyReply", "Status"));
         elemField.setXmlType(new 
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
         elemField.setMinOccurs(0);
         elemField.setNillable(false);
         typeDesc.addFieldDesc(elemField);
         elemField = new org.apache.axis.description.ElementDesc();
         elemField.setFieldName("armRefer");
         elemField.setXmlName(new 
javax.xml.namespace.QName("http://[deleted]/POVerifyReply", "ArmRefer"));
         elemField.setXmlType(new 
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
         elemField.setMinOccurs(0);
         elemField.setNillable(false);
         typeDesc.addFieldDesc(elemField);
         elemField = new org.apache.axis.description.ElementDesc();
         elemField.setFieldName("dateRqd");
         elemField.setXmlName(new 
javax.xml.namespace.QName("http://[deleted]/POVerifyReply", "DateRqd"));
         elemField.setXmlType(new 
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
         elemField.setMinOccurs(0);
         elemField.setNillable(false);
         typeDesc.addFieldDesc(elemField);
         elemField = new org.apache.axis.description.ElementDesc();
         elemField.setFieldName("shipDate");
         elemField.setXmlName(new 
javax.xml.namespace.QName("http://[deleted]/POVerifyReply", "ShipDate"));
         elemField.setXmlType(new 
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
         elemField.setMinOccurs(0);
         elemField.setNillable(false);
         typeDesc.addFieldDesc(elemField);
         elemField = new org.apache.axis.description.ElementDesc();
         elemField.setFieldName("shipment");
         elemField.setXmlName(new 
javax.xml.namespace.QName("http://[deleted]/POVerifyReply", "Shipment"));
         elemField.setXmlType(new 
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
         elemField.setMinOccurs(0);
         elemField.setNillable(false);
         typeDesc.addFieldDesc(elemField);
         elemField = new org.apache.axis.description.ElementDesc();
         elemField.setFieldName("PRONum");
         elemField.setXmlName(new 
javax.xml.namespace.QName("http://[deleted]/POVerifyReply", "PRONum"));
         elemField.setXmlType(new 
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
         elemField.setMinOccurs(0);
         elemField.setNillable(false);
         typeDesc.addFieldDesc(elemField);
         elemField = new org.apache.axis.description.ElementDesc();
         elemField.setFieldName("buyerName");
         elemField.setXmlName(new 
javax.xml.namespace.QName("http://[deleted]/POVerifyReply", "BuyerName"));
         elemField.setXmlType(new 
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
         elemField.setMinOccurs(0);
         elemField.setNillable(false);
         typeDesc.addFieldDesc(elemField);
         elemField = new org.apache.axis.description.ElementDesc();
         elemField.setFieldName("buyerPhone");
         elemField.setXmlName(new 
javax.xml.namespace.QName("http://[deleted]/POVerifyReply", "BuyerPhone"));
         elemField.setXmlType(new 
javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema", "string"));
         elemField.setMinOccurs(0);
         elemField.setNillable(false);
         typeDesc.addFieldDesc(elemField);
         elemField = new org.apache.axis.description.ElementDesc();
         elemField.setFieldName("shipFrom");
         elemField.setXmlName(new 
javax.xml.namespace.QName("http://[deleted]/POVerifyReply", "ShipFrom"));
         elemField.setXmlType(new 
javax.xml.namespace.QName("http://[deleted]/POVerifyReply", 
">>POVerifyReply>ShipFrom"));
         elemField.setMinOccurs(0);
         elemField.setNillable(false);
         typeDesc.addFieldDesc(elemField);
         elemField = new org.apache.axis.description.ElementDesc();
         elemField.setFieldName("carrier");
         elemField.setXmlName(new 
javax.xml.namespace.QName("http://[deleted]/POVerifyReply", "Carrier"));
         elemField.setXmlType(new 
javax.xml.namespace.QName("http://[deleted]/POVerifyReply", 
">>POVerifyReply>Carrier"));
         elemField.setMinOccurs(0);
         elemField.setNillable(false);
         typeDesc.addFieldDesc(elemField);
         elemField = new org.apache.axis.description.ElementDesc();
         elemField.setFieldName("itemDetails");
         elemField.setXmlName(new 
javax.xml.namespace.QName("http://[deleted]/POVerifyReply", "ItemDetails"));
         elemField.setXmlType(new 
javax.xml.namespace.QName("http://[deleted]/POVerifyReply", "ItemDetails"));
         elemField.setMinOccurs(0);
         elemField.setNillable(false);
         elemField.setMaxOccursUnbounded(true);
         typeDesc.addFieldDesc(elemField);
     }

     /**
      * 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);
     }

}

Mime
View raw message