WSDL Validation Problem - soapenc

Hi,

Im exposing a ws in domino 6.5 and therefore do not have capabilities of 7. I have to create WSDL manually in Eclipse and Im having problems with declaring Arrays and inparticular the soapenc namespace…

Heres the complete WSDL below…

<?xml version="1.0" encoding="UTF-8"?>

<definitions name=“calendarService”

xmlns= "http://schemas.xmlsoap.org/wsdl/"

xmlns:soapenc=“http://schemas.xmlsoap.org/soap/encoding/” targetNamespace= “http://eagle.nottscc.gov.uk/dev/mandip/calendarTest.nsf/calendarService.wsdl

xmlns:soap= "http://schemas.xmlsoap.org/wsdl/soap/"

xmlns:tns= "http://eagle.nottscc.gov.uk/dev/mandip/calendarTest.nsf/calendarService.wsdl"

xmlns:xsd= "http://www.w3.org/2001/XMLSchema"

xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" >   

<types>

    <xsd:schema

      	targetNamespace= "http://eagle.nottscc.gov.uk/dev/mandip/calendarTest.nsf/calendarService.wsdl"

      	xmlns="http://www.w3.org/2001/XMLSchema">

    <xsd:simpleType name="EntryType">

    	<xsd:restriction base="string">

    		<xsd:enumeration value="Meeting"></xsd:enumeration>

    		<xsd:enumeration value="Event"></xsd:enumeration>

    		<xsd:enumeration value="Appointment"></xsd:enumeration>

    	</xsd:restriction>

    </xsd:simpleType>



    <xsd:complexType name="Credentials">

		<xsd:sequence>

			<xsd:element name="UID" type="xsd:string"/>

			<xsd:element name="password" type="xsd:string"/>

		</xsd:sequence>

	</xsd:complexType>

	

	<xsd:element name="DateAdded">

	<xsd:simpleType>

		<xsd:restriction base="xsd:gDay">

     		 <xsd:pattern value="[0-2][0-9]"/>

		</xsd:restriction>

		</xsd:simpleType>

	</xsd:element>

	

	

	<xsd:complexType name="CalendarRequest">

        <xsd:sequence>

			<xsd:element name="UID" type="xsd:string" maxOccurs="1" minOccurs="1" nillable="false" />

			<xsd:element name="password" type="xsd:string" maxOccurs="1" minOccurs="1" nillable="false" />

			<xsd:element name="targetMailFile" type="xsd:string" maxOccurs="1" minOccurs="1" nillable="false" />

			<xsd:element name="startDate" minOccurs="1"

				maxOccurs="1" nillable="false" type="xsd:date">



			</xsd:element>

			<xsd:element name="endDate" minOccurs="1" maxOccurs="1" type="xsd:date" nillable="false" />

			<xsd:element name="startTime" minOccurs="1" maxOccurs="1" type="xsd:time" nillable="false" />

			<xsd:element name="endTime" minOccurs="1" maxOccurs="1" type="xsd:time" nillable="false" />

			<xsd:element name="appointmentType" maxOccurs="1"

				minOccurs="1" type="xsd:string" />

			<element name="appontmentTypeNew" nillable="true"

				type="tns:EntryType" minOccurs="1" maxOccurs="1"/>

			

			<xsd:element name="subject" minOccurs="1" maxOccurs="1" type="xsd:string" nillable="false" />

		</xsd:sequence>

	</xsd:complexType>



	<xsd:complexType name="EditRequest">

		<xsd:sequence>

			<xsd:element name="UID" type="xsd:string" maxOccurs="1" minOccurs="1"/>

			<xsd:element name="password" type="xsd:string" maxOccurs="1" minOccurs="1"/>

			<xsd:element name="targetMailFile" type="xsd:string" maxOccurs="1" minOccurs="1"/>

			<xsd:element name="appointmentUNID" type="xsd:string" maxOccurs="1" minOccurs="1"/>

			<xsd:element name="startTime" type="xsd:time" maxOccurs="1" minOccurs="0"/>

			<xsd:element name="endTime" type="xsd:time" maxOccurs="1" minOccurs="0"/>

			<xsd:element name="subject" type="xsd:string" maxOccurs="1" minOccurs="0"/>

		</xsd:sequence>

	</xsd:complexType>

	

	

	 <xsd:complexType name="DeleteRequest">

		<xsd:sequence>

			<xsd:element name="UID" type="xsd:string" maxOccurs="1" minOccurs="1"/>

			<xsd:element name="password" type="xsd:string" maxOccurs="1" minOccurs="1"/>

			<xsd:element name="targetMailFile" type="xsd:string" maxOccurs="1" minOccurs="1"/>

			<xsd:element name="startDate" type="xsd:date" maxOccurs="1" minOccurs="1"/>

			<xsd:element name="endDate" type="xsd:date" maxOccurs="1" minOccurs="1"/>

			<xsd:element name="appointmentUNID" type="xsd:string" maxOccurs="1" minOccurs="1"/>

		</xsd:sequence>

	</xsd:complexType> 

	<xsd:complexType name="RetrieveRequest">

		<xsd:sequence>

			<xsd:element name="UID" type="xsd:string" maxOccurs="1" minOccurs="1"/>

			<xsd:element name="password" type="xsd:string" maxOccurs="1" minOccurs="1"/>

			<xsd:element name="targetMailFile" type="xsd:string" maxOccurs="1" minOccurs="1"/>

			<xsd:element name="targetDate" type="xsd:date" maxOccurs="1" minOccurs="1"/>

		</xsd:sequence>

	</xsd:complexType> 

	<xsd:complexType name="RetrieveResults">

		<xsd:sequence>

			<xsd:element name="apptUNID" type="xsd:string"/>

			<xsd:element name="appointmentType" type="xsd:string"/>

			<xsd:element name="subject" type="xsd:string"/>

			<xsd:element name="startDateTime" type="xsd:date"/>

			<xsd:element name="endDateTime" type="xsd:date"/>

			<xsd:element name="startTime" type="xsd:time"/>

			<xsd:element name="endTime" type="xsd:time"/>

		</xsd:sequence>

	</xsd:complexType> 

	<xsd:complexType name="RetrieveResultsArray">

		<xsd:complexContent>

			<xsd:restriction base="soapenc:Array" >

				<xsd:attribute ref="arrayType" wsdl:arrayType="tns:RetrieveResults[]" /> 

			</xsd:restriction>

	   </xsd:complexContent>

	</xsd:complexType>

			

 </xsd:schema>

 

</types>

<message name="createCalendarEntryRequest">

    <part name="createEntryRequest" type="tns:CalendarRequest"/>

</message>

<message name="createCalendarEntryResponse">

	<part name="success" type="xsd:boolean"/>

    <part name="apptUNID" type="xsd:string"/>

</message>

<message name="editCalendarEntryRequest">

    <part name="editEntryRequest" type="tns:EditRequest"/>

</message>

<message name="editCalendarEntryResponse">

    <part name="result" type="xsd:string"/>

</message>

<message name="deleteCalendarEntryRequest">

    <part name="deleteEntryRequest" type="tns:DeleteRequest"/>

</message>

<message name="deleteCalendarEntryResponse">

    <part name="result" type="xsd:string"/>

</message>

<message name="retrieveCalendarEntriesRequest">

    <part name="retrieveEntriesRequest" type="tns:RetrieveRequest"/>

</message>

<message name="retrieveCalendarEntriesResponse">

   <part name="retrieveEntriesResponse" type="tns:RetrieveResultsArray"/> 

 <!-- <part name="result" type="xsd:string"/>--> 

</message>

<portType name="calendarServicePort">

    <operation name="createCalendarEntry">

        <input message="tns:createCalendarEntryRequest"/>

        <output message="tns:createCalendarEntryResponse"/>

    </operation>

    <operation name="editCalendarEntry">

        <input message="tns:editCalendarEntryRequest"/>

        <output message="tns:editCalendarEntryResponse"/>

    </operation>

    <operation name="deleteCalendarEntry">

        <input message="tns:deleteCalendarEntryRequest"/>

        <output message="tns:deleteCalendarEntryResponse"/>

    </operation>

  <operation name="retrieveCalendarEntries">

        <input message="tns:retrieveCalendarEntriesRequest"/>

        <output message="tns:retrieveCalendarEntriesResponse"/>

    </operation>

</portType>

<binding name="calendarServiceBinding" type="tns:calendarServicePort">

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

    <operation name="createCalendarEntry">

        <soap:operation

            soapAction="urn:createCalendarEntryAction"/>

        <input>

            <soap:body

                encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"

                namespace="urn:calendarService"

                use="encoded"/>

        </input>

        <output>

            <soap:body

                encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"

                namespace="urn:calendarService"

                use="encoded"/>

        </output>

    </operation>

    <operation name="editCalendarEntry">

        <soap:operation

            soapAction="urn:editCalendarEntryAction"/>

        <input>

            <soap:body

                encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"

                namespace="urn:calendarService"

                use="encoded"/>

        </input>

        <output>

            <soap:body

                encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"

                namespace="urn:calendarService"

                use="encoded"/>

        </output>

    </operation>

          <operation name="deleteCalendarEntry">

    <soap:operation

            soapAction="urn:deleteCalendarEntryAction"/>

        <input>

            <soap:body

                encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"

                namespace="urn:calendarService"

                use="encoded"/>

        </input>

        <output>

            <soap:body

                encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"

                namespace="urn:calendarService"

                use="encoded"/>

        </output>

    </operation>

          <operation name="retrieveCalendarEntries">

        <soap:operation

            soapAction="urn:retrieveCalendarEntryAction"/>

        <input>

            <soap:body

                encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"

                namespace="urn:calendarService"

                use="encoded"/>

        </input>

        <output>

            <soap:body

                encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"

                namespace="urn:calendarService"

                use="encoded"/>

        </output>

    </operation>

</binding>

<service name="calendarServiceService">

    <port name="calendarServicePort" binding="tns:calendarServiceBinding">

        <soap:address location="http://eagle.nottscc.gov.uk/dev/mandip/calendarTest.nsf/WebService"/>

    </port>

</service>

Ive been banging my head on this one for a while so any help would be great. Thanks.