>Try to change the name of your class to MyDate instead of Date, and 
>see if that works fine. 
The error message is : 
- The class edf.gsr.cte.MyDate extends non-bean class java.util.Date.  An xml 
schema anyType will be used to define edf.gsr.cte.MyDate in the wsdl file.

>It appears that the wsdl file is incomplete. Can you just post it on 
>the web somewhere, the entire wsdl file, so it can be looked at carefully?
The file is attached.

Thanks


--------------------------------------------------
Slimane AMAR         Mail: [EMAIL PROTECTED]
GENIGRAPH            URL : http://www.genigraph.fr
104, rue Castagnary  Tel : +33 01 45 33 64 63
F-75015 PARIS FRANCE Fax : +33 01 45 33 89 63
--------------------------------------------------
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions targetNamespace="http://app.gsr.edf"; xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"; xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"; xmlns:tns2="http://cte.gsr.edf"; xmlns:apachesoap="http://xml.apache.org/xml-soap"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:intf="http://app.gsr.edf"; xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"; xmlns:impl="http://app.gsr.edf"; xmlns="http://schemas.xmlsoap.org/wsdl/";>
 <wsdl:types>
  <schema xmlns="http://www.w3.org/2001/XMLSchema"; targetNamespace="http://cte.gsr.edf";>
   <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
   <complexType name="Intervalle">
    <sequence>
     <element name="dateDeb_" nillable="true" type="tns2:MyDate"/>
     <element name="dateFin_" nillable="true" type="tns2:MyDate"/>
    </sequence>
   </complexType>
   <complexType name="ItIntervalle">
    <complexContent>
     <extension base="tns2:Intervalle">
      <sequence/>
     </extension>
    </complexContent>
   </complexType>
   <complexType name="Chronique">
    <sequence>
     <element name="it_" nillable="true" type="tns2:ItIntervalle"/>
     <element name="valDef_" type="xsd:int"/>
     <element name="vals_" nillable="true" type="apachesoap:Vector"/>
    </sequence>
   </complexType>
  </schema>
  <schema xmlns="http://www.w3.org/2001/XMLSchema"; targetNamespace="http://xml.apache.org/xml-soap";>
   <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
   <complexType name="Vector">
    <sequence>
     <element name="item" minOccurs="0" maxOccurs="unbounded" type="xsd:anyType"/>
    </sequence>
   </complexType>
  </schema>
  <schema xmlns="http://www.w3.org/2001/XMLSchema"; targetNamespace="http://app.gsr.edf";>
   <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
   <complexType name="ArrayOf_tns2_Chronique">
    <complexContent>
     <restriction base="soapenc:Array">
      <attribute ref="soapenc:arrayType" wsdl:arrayType="tns2:Chronique[]"/>
     </restriction>
    </complexContent>
   </complexType>
  </schema>
 </wsdl:types>

   <wsdl:message name="getAllSituationsRequest">

      <wsdl:part name="in0" type="xsd:int"/>

      <wsdl:part name="in1" type="xsd:int"/>

   </wsdl:message>

   <wsdl:message name="suppressionSituationResponse">

   </wsdl:message>

   <wsdl:message name="getChroniquesRequest">

   </wsdl:message>

   <wsdl:message name="transfertSituationRequest">

      <wsdl:part name="in0" type="xsd:string"/>

      <wsdl:part name="in1" type="xsd:int"/>

      <wsdl:part name="in2" type="xsd:string"/>

      <wsdl:part name="in3" type="xsd:string"/>

      <wsdl:part name="in4" type="xsd:string"/>

      <wsdl:part name="in5" type="xsd:float"/>

   </wsdl:message>

   <wsdl:message name="getSituationRequest1">

      <wsdl:part name="in0" type="xsd:string"/>

      <wsdl:part name="in1" type="xsd:int"/>

      <wsdl:part name="in2" type="xsd:string"/>

      <wsdl:part name="in3" type="xsd:int"/>

   </wsdl:message>

   <wsdl:message name="getSituationResponse">

      <wsdl:part name="getSituationReturn" type="xsd:base64Binary"/>

   </wsdl:message>

   <wsdl:message name="getSituationResponse1">

      <wsdl:part name="getSituationReturn" type="xsd:base64Binary"/>

   </wsdl:message>

   <wsdl:message name="getSituationRequest">

      <wsdl:part name="in0" type="xsd:int"/>

      <wsdl:part name="in1" type="xsd:string"/>

      <wsdl:part name="in2" type="xsd:int"/>

   </wsdl:message>

   <wsdl:message name="getChroniquesResponse">

      <wsdl:part name="getChroniquesReturn" type="intf:ArrayOf_tns2_Chronique"/>

   </wsdl:message>

   <wsdl:message name="transfertSituationResponse">

   </wsdl:message>

   <wsdl:message name="suppressionSituationRequest">

      <wsdl:part name="in0" type="xsd:int"/>

      <wsdl:part name="in1" type="xsd:string"/>

   </wsdl:message>

   <wsdl:message name="getAllSituationsRequest1">

      <wsdl:part name="in0" type="xsd:string"/>

      <wsdl:part name="in1" type="xsd:int"/>

      <wsdl:part name="in2" type="xsd:int"/>

   </wsdl:message>

   <wsdl:message name="getAllSituationsResponse">

      <wsdl:part name="getAllSituationsReturn" type="xsd:string"/>

   </wsdl:message>

   <wsdl:message name="putSituationResponse">

   </wsdl:message>

   <wsdl:message name="putSituationRequest">

      <wsdl:part name="in0" type="xsd:int"/>

      <wsdl:part name="in1" type="xsd:base64Binary"/>

      <wsdl:part name="in2" type="xsd:string"/>

      <wsdl:part name="in3" type="xsd:string"/>

      <wsdl:part name="in4" type="xsd:string"/>

      <wsdl:part name="in5" type="xsd:float"/>

      <wsdl:part name="in6" type="xsd:int"/>

      <wsdl:part name="in7" type="xsd:int"/>

   </wsdl:message>

   <wsdl:message name="getAllSituationsResponse1">

      <wsdl:part name="getAllSituationsReturn" type="xsd:string"/>

   </wsdl:message>

   <wsdl:portType name="IAnarchServeur">

      <wsdl:operation name="getAllSituations" parameterOrder="in0 in1">

         <wsdl:input name="getAllSituationsRequest" message="intf:getAllSituationsRequest"/>

         <wsdl:output name="getAllSituationsResponse" message="intf:getAllSituationsResponse"/>

      </wsdl:operation>

      <wsdl:operation name="getAllSituations" parameterOrder="in0 in1 in2">

         <wsdl:input name="getAllSituationsRequest1" message="intf:getAllSituationsRequest1"/>

         <wsdl:output name="getAllSituationsResponse1" message="intf:getAllSituationsResponse1"/>

      </wsdl:operation>

      <wsdl:operation name="getSituation" parameterOrder="in0 in1 in2">

         <wsdl:input name="getSituationRequest" message="intf:getSituationRequest"/>

         <wsdl:output name="getSituationResponse" message="intf:getSituationResponse"/>

      </wsdl:operation>

      <wsdl:operation name="getSituation" parameterOrder="in0 in1 in2 in3">

         <wsdl:input name="getSituationRequest1" message="intf:getSituationRequest1"/>

         <wsdl:output name="getSituationResponse1" message="intf:getSituationResponse1"/>

      </wsdl:operation>

      <wsdl:operation name="putSituation" parameterOrder="in0 in1 in2 in3 in4 in5 in6 in7">

         <wsdl:input name="putSituationRequest" message="intf:putSituationRequest"/>

         <wsdl:output name="putSituationResponse" message="intf:putSituationResponse"/>

      </wsdl:operation>

      <wsdl:operation name="transfertSituation" parameterOrder="in0 in1 in2 in3 in4 in5">

         <wsdl:input name="transfertSituationRequest" message="intf:transfertSituationRequest"/>

         <wsdl:output name="transfertSituationResponse" message="intf:transfertSituationResponse"/>

      </wsdl:operation>

      <wsdl:operation name="suppressionSituation" parameterOrder="in0 in1">

         <wsdl:input name="suppressionSituationRequest" message="intf:suppressionSituationRequest"/>

         <wsdl:output name="suppressionSituationResponse" message="intf:suppressionSituationResponse"/>

      </wsdl:operation>

      <wsdl:operation name="getChroniques">

         <wsdl:input name="getChroniquesRequest" message="intf:getChroniquesRequest"/>

         <wsdl:output name="getChroniquesResponse" message="intf:getChroniquesResponse"/>

      </wsdl:operation>

   </wsdl:portType>

   <wsdl:binding name="SituationGsrServiceSoapBinding" type="intf:IAnarchServeur">

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

      <wsdl:operation name="getAllSituations">

         <wsdlsoap:operation soapAction=""/>

         <wsdl:input name="getAllSituationsRequest">

            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; namespace="http://app.gsr.edf"/>

         </wsdl:input>

         <wsdl:output name="getAllSituationsResponse">

            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; namespace="http://app.gsr.edf"/>

         </wsdl:output>

      </wsdl:operation>

      <wsdl:operation name="getAllSituations">

         <wsdlsoap:operation soapAction=""/>

         <wsdl:input name="getAllSituationsRequest1">

            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; namespace="http://app.gsr.edf"/>

         </wsdl:input>

         <wsdl:output name="getAllSituationsResponse1">

            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; namespace="http://app.gsr.edf"/>

         </wsdl:output>

      </wsdl:operation>

      <wsdl:operation name="getSituation">

         <wsdlsoap:operation soapAction=""/>

         <wsdl:input name="getSituationRequest">

            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; namespace="http://app.gsr.edf"/>

         </wsdl:input>

         <wsdl:output name="getSituationResponse">

            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; namespace="http://app.gsr.edf"/>

         </wsdl:output>

      </wsdl:operation>

      <wsdl:operation name="getSituation">

         <wsdlsoap:operation soapAction=""/>

         <wsdl:input name="getSituationRequest1">

            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; namespace="http://app.gsr.edf"/>

         </wsdl:input>

         <wsdl:output name="getSituationResponse1">

            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; namespace="http://app.gsr.edf"/>

         </wsdl:output>

      </wsdl:operation>

      <wsdl:operation name="putSituation">

         <wsdlsoap:operation soapAction=""/>

         <wsdl:input name="putSituationRequest">

            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; namespace="http://app.gsr.edf"/>

         </wsdl:input>

         <wsdl:output name="putSituationResponse">

            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; namespace="http://app.gsr.edf"/>

         </wsdl:output>

      </wsdl:operation>

      <wsdl:operation name="transfertSituation">

         <wsdlsoap:operation soapAction=""/>

         <wsdl:input name="transfertSituationRequest">

            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; namespace="http://app.gsr.edf"/>

         </wsdl:input>

         <wsdl:output name="transfertSituationResponse">

            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; namespace="http://app.gsr.edf"/>

         </wsdl:output>

      </wsdl:operation>

      <wsdl:operation name="suppressionSituation">

         <wsdlsoap:operation soapAction=""/>

         <wsdl:input name="suppressionSituationRequest">

            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; namespace="http://app.gsr.edf"/>

         </wsdl:input>

         <wsdl:output name="suppressionSituationResponse">

            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; namespace="http://app.gsr.edf"/>

         </wsdl:output>

      </wsdl:operation>

      <wsdl:operation name="getChroniques">

         <wsdlsoap:operation soapAction=""/>

         <wsdl:input name="getChroniquesRequest">

            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; namespace="http://app.gsr.edf"/>

         </wsdl:input>

         <wsdl:output name="getChroniquesResponse">

            <wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; namespace="http://app.gsr.edf"/>

         </wsdl:output>

      </wsdl:operation>

   </wsdl:binding>

   <wsdl:service name="IAnarchServeurService">

      <wsdl:port name="SituationGsrService" binding="intf:SituationGsrServiceSoapBinding">

         <wsdlsoap:address location="http://localhost:8080/axis/services/SituationGsrService"/>

      </wsdl:port>

   </wsdl:service>

</wsdl:definitions>

Reply via email to