Hi all

I've created stubs from a remote wsdl file, and one of the java files it's created is the EndUserIdentifier.java

I now want to call a method

The method accepts 3 parameteres of type EndUserIdentifier , EndUserIdentifier , String

My question is how to i create a type EndUserIdentifier to pass to the method?

I want to pass this
Param 1.          "tel:+44123456;vnd.bt.cli-presentation=available";,
Param 2.          "tel:+44145678;vnd.bt.cli-presentation=available";,
Param 3.          "9F"


Thanks for any help





public class EndUserIdentifier implements java.io.Serializable
{
   private org.apache.axis.types.URI value;

   public EndUserIdentifier()
        {
   }

   public org.apache.axis.types.URI getValue()
        {
       return value;
   }

   public void setValue(org.apache.axis.types.URI value)
        {
       this.value = value;
   }

   private java.lang.Object __equalsCalc = null;

   public synchronized boolean equals(java.lang.Object obj)
        {
       if (!(obj instanceof EndUserIdentifier)) return false;
       EndUserIdentifier other = (EndUserIdentifier) obj;
       if (obj == null) return false;
       if (this == obj) return true;
       if (__equalsCalc != null) {
           return (__equalsCalc == obj);
       }
       __equalsCalc = obj;
       boolean _equals;
       _equals = true &&
           ((this.value==null && other.getValue()==null) ||
            (this.value!=null &&
             this.value.equals(other.getValue())));
       __equalsCalc = null;
       return _equals;
   }

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

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

   static {
typeDesc.setXmlType(new javax.xml.namespace.QName("http://www.csapi.org/schema/parlayx/common/v1_0";, "EndUserIdentifier")); org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
       elemField.setFieldName("value");
       elemField.setXmlName(new javax.xml.namespace.QName("", "value"));
elemField.setXmlType(new javax.xml.namespace.QName("http://www.w3.org/2001/XMLSchema";, "anyURI"));
       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);
   }

}

_________________________________________________________________
Be the first to hear what's new at MSN - sign up to our free newsletters! http://www.msn.co.uk/newsletters

Reply via email to