Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 10267 invoked from network); 14 Mar 2005 22:03:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 14 Mar 2005 22:03:59 -0000 Received: (qmail 48759 invoked by uid 500); 14 Mar 2005 22:03:46 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 48740 invoked by uid 500); 14 Mar 2005 22:03:46 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 48727 invoked by uid 99); 14 Mar 2005 22:03:46 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from mlbe2k1.cs.myharris.net (HELO mlbe2k1.cs.myharris.net) (137.237.90.88) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 14 Mar 2005 14:03:44 -0800 Received: from mlbmx2.cs.myharris.net ([137.237.90.74]) by mlbe2k1.cs.myharris.net with Microsoft SMTPSVC(5.0.2195.6713); Mon, 14 Mar 2005 17:03:40 -0500 Received: by mlbmx2.cs.myharris.net with Internet Mail Service (5.5.2657.72) id ; Mon, 14 Mar 2005 17:03:40 -0500 Message-ID: From: "Soti, Dheeraj" To: axis-user@ws.apache.org Subject: The client side class that gets generated with wsdl2java doesn't have all the fields Date: Mon, 14 Mar 2005 17:03:37 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2657.72) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C528E1.95DB92F8" X-OriginalArrivalTime: 14 Mar 2005 22:03:40.0648 (UTC) FILETIME=[AE45A680:01C528E1] X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C528E1.95DB92F8 Content-Type: text/plain When I run WSDL2Java on my wsdl then the ProgramContent.java gets generated but doesn't have any members. I have pasted below the WSDL and the generated java file. Any clues?. Thanks Dheeraj WSDL ---------- /** * ProgramContent.java * * This file was auto-generated from WSDL * by the Apache Axis 1.2RC2 Nov 16, 2004 (12:19:44 EST) WSDL2Java emitter. */ package com.harris.hrs.services.content; public class ProgramContent implements java.io.Serializable { public ProgramContent() { } private java.lang.Object __equalsCalc = null; public synchronized boolean equals(java.lang.Object obj) { if (!(obj instanceof ProgramContent)) return false; ProgramContent other = (ProgramContent) obj; if (obj == null) return false; if (this == obj) return true; if (__equalsCalc != null) { return (__equalsCalc == obj); } __equalsCalc = obj; boolean _equals; _equals = true; __equalsCalc = null; return _equals; } private boolean __hashCodeCalc = false; public synchronized int hashCode() { if (__hashCodeCalc) { return 0; } __hashCodeCalc = true; int _hashCode = 1; __hashCodeCalc = false; return _hashCode; } // Type metadata private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc(ProgramContent.class, true); static { typeDesc.setXmlType(new javax.xml.namespace.QName("http://content.services.hrs.harris.com/", "ProgramContent")); } /** * 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); } } ------_=_NextPart_001_01C528E1.95DB92F8 Content-Type: text/html Content-Transfer-Encoding: quoted-printable The client side class that gets generated with wsdl2java doesn't = have all the fields

When I run WSDL2Java on my wsdl then = the ProgramContent.java gets generated but doesn't have any members. I = have pasted below the WSDL and the generated java file. Any clues?. =

Thanks

Dheeraj

WSDL
----------
<?xml version=3D"1.0" = encoding=3D"UTF-8"?>
<wsdl:definitions = targetNamespace=3D"http://services.hrs.harris.com/"
  xmlns:apachesoap=3D"http://xml.apache.org/xml-soap"
  xmlns:impl=3D"http://services.hrs.harris.com/"
  xmlns:intf=3D"http://services.hrs.harris.com/"
  xmlns:soapenc=3D"http://schemas.xmlsoap.org/soap/encoding/"
  xmlns:tns1=3D"http://services.hrs.harris.com/"
  xmlns:content=3D"http://content.services.hrs.harris.com/"
  xmlns:media=3D"http://media.services.hrs.harris.com/"=
  xmlns:device=3D"http://device.services.hrs.harris.com/"
  xmlns:storage=3D"http://storage.services.hrs.harris.com/"
  xmlns:timecode=3D"http://timecode.services.hrs.harris.com/"
  xmlns:config=3D"http://config.services.hrs.harris.com/"
  xmlns:wsdl=3D"http://schemas.xmlsoap.org/wsdl/"
  xmlns:wsdlsoap=3D"http://schemas.xmlsoap.org/wsdl/soap/"=
  xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema">
<!--WSDL created by Apache Axis = version: 1.2RC2 Built on Nov 16, 2004 (12:19:44 EST)-->
<wsdl:types>
    <schema = targetNamespace=3D"http://timecode.services.hrs.harris.com/"
        = xmlns=3D"http://www.w3.org/2001/XMLSchema">
        = <complexType name=3D"ImmutableFrameTime">
         &nb= sp;  <complexContent>
         &nb= sp;      <element = name=3D"frameCount" = type=3D"xsd:long"/>      &nbs= p;    
         &nb= sp;      <element = name=3D"frameRate" type=3D"xsd:double" />
         &nb= sp;  </complexContent>   
        = </complexType>
       
        = <complexType name=3D"TimeCodeImpl">
         &nb= sp; <complexContent>
         &nb= sp;     <element name=3D"frameTime" = nillable=3D"true" = type=3D"timecode:ImmutableFrameTime"/>
         &nb= sp; </complexContent>   
        = </complexType>
         &nb= sp;   
    = </schema>
    <schema = targetNamespace=3D"http://media.services.hrs.harris.com/"=
        = xmlns=3D"http://www.w3.org/2001/XMLSchema">
        = <complexType name=3D"MediaImpl">
         &nb= sp;  = <complexContent>        =
         &nb= sp;      <element name=3D"id" = type=3D"xsd:long"/>
         &nb= sp;      <element = name=3D"storageFile" = type=3D"storage:StorageFileImpl"/>
         &nb= sp;      <element name=3D"som" = type=3D"timecode:ImmutableFrameTime"/>
         &nb= sp;      <element = name=3D"resolution" type=3D"xsd:int"/>
         &nb= sp;  </complexContent>
        = </complexType>
        = <complexType name=3D"ArrayOfMedia">
         &nb= sp;  = <complexContent>        =
         &nb= sp;      <sequence>
         &nb= sp;          <element = name=3D"" minOccurs=3D"0" = maxOccurs=3D"unbounded" type=3D"media:MediaImpl" = />
         &nb= sp;      </sequence>
         &nb= sp;  = </complexContent>        &= nbsp;      
        = </complexType>
    = </schema>

    <schema = elementFormDefault=3D"qualified" targetNamespace=3D"http://content.services.hrs.harris.com/"
        = xmlns=3D"http://www.w3.org/2001/XMLSchema">
        = <complexType name=3D"ContentContainer">
         &nb= sp;  <complexContent>
         &nb= sp;      <!--element = name=3D"contentMetadata" = type=3D"content:ProgramContent"/-->
         &nb= sp;      <element name=3D"id" = type=3D"xsd:long"/>
         &nb= sp;      <element name=3D"name" = type=3D"xsd:string"/>
         &nb= sp;      <element = name=3D"description" nillable=3D"true" = type=3D"xsd:string"/>
         &nb= sp;      <element = name=3D"mediaList" = type=3D"media:ArrayOfMedia"/>
         &nb= sp;      <!--element = name=3D"directOriginator" = type=3D"content:ContentContainer"/-->   &nbs= p;           &nbs= p;   
         &nb= sp;  = </complexContent>        &= nbsp;      
        = </complexType>

        = <complexType name=3D"ArrayOfContentContainer">
         &nb= sp;  = <complexContent>        =
         &nb= sp;      <sequence>
         &nb= sp;          <element = name=3D"ContentContainer" minOccurs=3D"0" = maxOccurs=3D"unbounded" = type=3D"content:ContentContainer" />

         &nb= sp;      </sequence>
         &nb= sp;  = </complexContent>        &= nbsp;      
        = </complexType>       
        = <complexType name=3D"ProgramContent">
         &nb= sp;  <element name=3D"description" = nillable=3D"true" type=3D"xsd:string"/>
         &nb= sp;  <element name=3D"houseId" = nillable=3D"true" type=3D"xsd:string"/>
         &nb= sp;  <element name=3D"id" = type=3D"xsd:long"/>
         &nb= sp;  <element name=3D"title" = nillable=3D"true" = type=3D"soapenc:string"/>
         &nb= sp;  <!--element name=3D"estimatedDuration" = nillable=3D"true" = type=3D"timecode:ImmutableFrameTime"/-->
         &nb= sp;  <element name=3D"episodeNumber" = nillable=3D"true" deafult=3D"" = type=3D"xsd:string"/>
         &nb= sp;  <element name=3D"umid" = nillable=3D"true" type=3D"xsd:string" = default=3D""/>
         &nb= sp;  <element name=3D"episodeTitle" = nillable=3D"true" type=3D"xsd:string" = default=3D""/>
         &nb= sp;  <!--element name=3D"contentRealizations" = nillable=3D"true" = type=3D"content:ArrayOfContentContainer"/-->
         &nb= sp;  <element name=3D"numberProgramSegments" = nillable=3D"true" default=3D"1" = type=3D"xsd:int"/>
        = </complexType>
    = </schema>
    <schema = targetNamespace=3D"http://device.services.hrs.harris.com/"
        = xmlns=3D"http://www.w3.org/2001/XMLSchema">
        = <complexType name=3D"DeviceVendorImpl">
         &nb= sp;  = <complexContent>        =
      &n= bsp;         <element = name=3D"name" type=3D"xsd:string"/>
         &nb= sp;      <element = name=3D"storageHandlerId" = type=3D"xsd:string"/>
         &nb= sp;  </complexContent>   
        = </complexType>
    = </schema>
    <schema = targetNamespace=3D"http://storage.services.hrs.harris.com/"
        = xmlns=3D"http://www.w3.org/2001/XMLSchema">
        = <complexType name=3D"StorageFileImpl">
         &nb= sp;  = <complexContent>        =
         &nb= sp;      <element name=3D"id" = type=3D"xsd:long"/>
         &nb= sp;      <element = name=3D"pathName" type=3D"xsd:string"/>
         &nb= sp;      <element name=3D"volume" = type=3D"storage:StorageVolumeImpl"/>
         &nb= sp;  = </complexContent>        &= nbsp;      
        = </complexType>
        = <complexType name=3D"StorageDeviceImpl">
         &nb= sp;  = <complexContent>        =
         &nb= sp;      <element name=3D"id" = type=3D"xsd:long"/>
         &nb= sp;      <element name=3D"name" = type=3D"xsd:string"/>
         &nb= sp;      <element = name=3D"volumes" = type=3D"storage:ArrayOfStorageVolumes"/>
         &nb= sp;      <element = name=3D"deviceVendorName" = type=3D"xsd:string"/>
         &nb= sp;      <element = name=3D"iPAddress" type=3D"xsd:string"/>
         &nb= sp;      <element = name=3D"protocol" type=3D"xsd:string"/>
         &nb= sp;      <element = name=3D"username" type=3D"xsd:string"/>
         &nb= sp;      <element = name=3D"password" type=3D"xsd:string"/>
         &nb= sp;  = </complexContent>        &= nbsp;      
        = </complexType>
        = <complexType name=3D"StorageVolumeImpl">
         &nb= sp;  = <complexContent>        =
         &nb= sp;      <sequence>
         &nb= sp;          <element = name=3D"id" type=3D"xsd:long"/>
         &nb= sp;          <element = name=3D"storageDevice" = type=3D"storage:StorageDeviceImpl"/>    = ;            = ;   
         &nb= sp;      </sequence>
         &nb= sp;  = </complexContent>        &= nbsp;      
        = </complexType>
        = <complexType name=3D"ArrayOfStorageVolumes">
         &nb= sp;  = <complexContent>        =
         &nb= sp;      <sequence>
         &nb= sp;          <element = name=3D"StorageVolume" minOccurs=3D"0" = maxOccurs=3D"unbounded" = type=3D"storage:StorageVolumeImpl" />

         &nb= sp;      </sequence>
         &nb= sp;  = </complexContent>        &= nbsp;      
        = </complexType>
    = </schema>
 </wsdl:types>

   <wsdl:message = name=3D"createContentRequest">

      = <wsdl:part name=3D"in0" = type=3D"content:ProgramContent"/>

   = </wsdl:message>

   <wsdl:message = name=3D"createContentResponse">

      = <wsdl:part name=3D"createContentReturn" = type=3D"xsd:boolean"/>

   = </wsdl:message>
   <wsdl:portType = name=3D"ContentService">

      = <wsdl:operation name=3D"createContent" = parameterOrder=3D"in0">

         = <wsdl:input message=3D"impl:createContentRequest" = name=3D"createContentRequest"/>

         = <wsdl:output message=3D"impl:createContentResponse" = name=3D"createContentResponse"/>

      = </wsdl:operation>

   = </wsdl:portType>

   <wsdl:binding = name=3D"ContentService" = type=3D"impl:ContentService">

      = <wsdlsoap:binding style=3D"rpc" transport=3D"http://schemas.xmlsoap.org/soap/http"/>

      = <wsdl:operation name=3D"createContent">

         = <wsdlsoap:operation soapAction=3D""/>

         = <wsdl:input name=3D"createContentRequest">

         &nb= sp;  <wsdlsoap:body encodingStyle=3D"http://schemas.xmlsoap.org/soap/encoding/" = namespace=3D"http://content.services.hrs.harris.com" = use=3D"encoded"/>

         = </wsdl:input>

         = <wsdl:output name=3D"createContentResponse">

         &nb= sp;  <wsdlsoap:body encodingStyle=3D"http://schemas.xmlsoap.org/soap/encoding/" = namespace=3D"http://content.services.hrs.harris.com" = use=3D"encoded"/>

         = </wsdl:output>

      = </wsdl:operation>

   = </wsdl:binding>
   <wsdl:service = name=3D"HRSWebService">

      = <wsdl:port binding=3D"impl:ContentService" = name=3D"ContentService">

         = <wsdlsoap:address location=3D"http://localhost:8080/hrsApp/services/ContentService"/>

      = </wsdl:port>

   = </wsdl:service>

</wsdl:definitions>


/**
 * ProgramContent.java
 *
 * This file was auto-generated = from WSDL
 * by the Apache Axis 1.2RC2 Nov = 16, 2004 (12:19:44 EST) WSDL2Java emitter.
 */

package = com.harris.hrs.services.content;

public class ProgramContent  = implements java.io.Serializable {

    public = ProgramContent() {
    }

    private = java.lang.Object __equalsCalc =3D null;
    public = synchronized boolean equals(java.lang.Object obj) {
        if (!(obj = instanceof ProgramContent)) return false;
        = ProgramContent other =3D (ProgramContent) obj;
        if (obj = =3D=3D null) return false;
        if (this = =3D=3D obj) return true;
        if = (__equalsCalc !=3D null) {
         &nb= sp;  return (__equalsCalc =3D=3D obj);
        }
        __equalsCalc = =3D obj;
        boolean = _equals;
        _equals =3D = true;
        __equalsCalc = =3D null;
        return = _equals;
    }

    private boolean = __hashCodeCalc =3D false;
    public = synchronized int hashCode() {
        if = (__hashCodeCalc) {
         &nb= sp;  return 0;
        }
        = __hashCodeCalc =3D true;
        int _hashCode = =3D 1;
        = __hashCodeCalc =3D false;
        return = _hashCode;
    }

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

    static {
        = typeDesc.setXmlType(new javax.xml.namespace.QName("
http://content.services.hrs.harris.com/", = "ProgramContent"));

    }

    /**
     * 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(
         &nb= sp; java.lang.String mechType,
         &nb= sp; java.lang.Class _javaType, 
         &nb= sp; javax.xml.namespace.QName _xmlType) {
        return =
          = new  org.apache.axis.encoding.ser.BeanSerializer(
         &nb= sp;  _javaType, _xmlType, typeDesc);
    }

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

}

------_=_NextPart_001_01C528E1.95DB92F8--