try changing the method signature to from Vector to Collection -- dims
On Mon, 14 Jun 2004 15:55:59 +0200, Pascal Prioux <[EMAIL PROTECTED]> wrote: > > > Hi, > Evething works fine now > (http://marc.theaimsgroup.com/?l=axis-user&m=108695341411607&w=2) > Thanks for the responses > > Except for a method wich returns a Vector > .(getVectorOfMIDPRecordStoreRecord) > the wscompile tool (bundled with JME SDK 2.1) generates the following error: > > error: Found unknown simple type: javax.xml.soap.SOAPElement > warning: Operation getVectorOfMIDPRecordStoreRecord does not have all valid > types for this platform; skipping generation of operation. > > my wsdl: > > <?xml version="1.0" encoding="UTF-8"?> > <wsdl:definitions targetNamespace="urn:jmeprovisioning-rpc-service" > xmlns:apachesoap="http://xml.apache.org/xml-soap" > xmlns:impl="urn:jmeprovisioning-rpc-service" > xmlns:intf="urn:jmeprovisioning-rpc-service" > xmlns:tns1="event.control.entreprise.server.tools.enitab" > xmlns:tns2="http://event.control.entreprise.server.tools.enitab" > xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" > xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" > xmlns:xsd="http://www.w3.org/2001/XMLSchema"> > <!--WSDL created by Apache Axis version: 1.2beta > Built on Jun 11, 2004 (12:01:17 PDT)--> > <wsdl:types> > <schema elementFormDefault="qualified" > targetNamespace="urn:jmeprovisioning-rpc-service" > xmlns="http://www.w3.org/2001/XMLSchema"> > <import namespace="event.control.entreprise.server.tools.enitab"/> > <import namespace="http://xml.apache.org/xml-soap"/> > <import namespace="http://event.control.entreprise.server.tools.enitab"/> > <element name="loadMIDPRecordStore"> > <complexType> > <sequence> > <element name="_recordStoreIdentifier" type="xsd:string"/> > </sequence> > </complexType> > </element> > <element name="loadMIDPRecordStoreResponse"> > <complexType/> > </element> > <element name="getVectorOfMIDPRecordStoreRecord"> > <complexType> > <sequence> > <element name="_startRecordIndex" type="xsd:int"/> > <element name="_endRecordIndex" type="xsd:int"/> > </sequence> > </complexType> > </element> > <element name="getVectorOfMIDPRecordStoreRecordResponse"> > <complexType> > <sequence> > <element name="getVectorOfMIDPRecordStoreRecordReturn" > type="apachesoap:Vector"/> > </sequence> > </complexType> > </element> > <element name="getMIDPDataLenth"> > <complexType/> > </element> > <element name="getMIDPDataLenthResponse"> > <complexType> > <sequence> > <element name="getMIDPDataLenthReturn" type="xsd:long"/> > </sequence> > </complexType> > </element> > <element name="getMIDPRecordCount"> > <complexType/> > </element> > <element name="getMIDPRecordCountResponse"> > <complexType> > <sequence> > <element name="getMIDPRecordCountReturn" type="xsd:long"/> > </sequence> > </complexType> > </element> > <element name="login"> > <complexType> > <sequence> > <element name="_loginEvent" type="tns1:ESTLoginEvent"/> > </sequence> > </complexType> > </element> > <element name="loginResponse"> > <complexType/> > </element> > <element name="logout"> > <complexType/> > </element> > <element name="logoutResponse"> > <complexType/> > </element> > <element name="initSession"> > <complexType> > <sequence> > <element name="_clientApplicationName" type="xsd:string"/> > </sequence> > </complexType> > </element> > <element name="initSessionResponse"> > <complexType> > <sequence> > <element name="initSessionReturn" type="xsd:string"/> > </sequence> > </complexType> > </element> > <element name="setSessionTimeOut"> > <complexType> > <sequence> > <element name="_sessionTimeOut" type="xsd:int"/> > </sequence> > </complexType> > </element> > <element name="setSessionTimeOutResponse"> > <complexType/> > </element> > <element name="sendMail"> > <complexType> > <sequence> > <element name="_toEMailAddress" type="xsd:string"/> > <element name="_fromEMailAddress" type="xsd:string"/> > <element name="_fromPersonalEMailAddress" type="xsd:string"/> > <element name="_subject" type="xsd:string"/> > <element name="_body" type="xsd:string"/> > <element name="_synchronousMode" type="xsd:boolean"/> > </sequence> > </complexType> > </element> > <element name="sendMailResponse"> > <complexType/> > </element> > </schema> > <schema elementFormDefault="qualified" > targetNamespace="http://xml.apache.org/xml-soap" > xmlns="http://www.w3.org/2001/XMLSchema"> > <import namespace="event.control.entreprise.server.tools.enitab"/> > <import namespace="http://event.control.entreprise.server.tools.enitab"/> > <complexType name="Vector"> > <sequence> > <element maxOccurs="unbounded" minOccurs="0" name="item" > type="xsd:anyType"/> > </sequence> > </complexType> > </schema> > <schema elementFormDefault="qualified" > targetNamespace="http://event.control.entreprise.server.tools.enitab" > xmlns="http://www.w3.org/2001/XMLSchema"> > <import namespace="event.control.entreprise.server.tools.enitab"/> > <import namespace="http://xml.apache.org/xml-soap"/> > <complexType name="ESTServerEventSupport"> > <sequence> > <element name="eventName" nillable="true" type="xsd:string"/> > </sequence> > </complexType> > </schema> > <schema elementFormDefault="qualified" > targetNamespace="event.control.entreprise.server.tools.enitab" > xmlns="http://www.w3.org/2001/XMLSchema"> > <import namespace="http://xml.apache.org/xml-soap"/> > <import namespace="http://event.control.entreprise.server.tools.enitab"/> > <complexType name="ESTLoginEvent"> > <complexContent> > <extension base="tns2:ESTServerEventSupport"> > <sequence> > <element name="identifier" nillable="true" type="xsd:string"/> > <element name="password" nillable="true" type="xsd:string"/> > </sequence> > </extension> > </complexContent> > </complexType> > </schema> > </wsdl:types> > > <wsdl:message name="getVectorOfMIDPRecordStoreRecordResponse"> > > <wsdl:part element="impl:getVectorOfMIDPRecordStoreRecordResponse" > name="parameters"/> > > </wsdl:message> > > <wsdl:message name="sendMailRequest"> > > <wsdl:part element="impl:sendMail" name="parameters"/> > > </wsdl:message> > > <wsdl:message name="loadMIDPRecordStoreResponse"> > > <wsdl:part element="impl:loadMIDPRecordStoreResponse" > name="parameters"/> > > </wsdl:message> > > <wsdl:message name="getVectorOfMIDPRecordStoreRecordRequest"> > > <wsdl:part element="impl:getVectorOfMIDPRecordStoreRecord" > name="parameters"/> > > </wsdl:message> > > <wsdl:message name="getMIDPDataLenthRequest"> > > <wsdl:part element="impl:getMIDPDataLenth" name="parameters"/> > > </wsdl:message> > > <wsdl:message name="getMIDPRecordCountResponse"> > > <wsdl:part element="impl:getMIDPRecordCountResponse" > name="parameters"/> > > </wsdl:message> > > <wsdl:message name="setSessionTimeOutRequest"> > > <wsdl:part element="impl:setSessionTimeOut" name="parameters"/> > > </wsdl:message> > > <wsdl:message name="loginRequest"> > > <wsdl:part element="impl:login" name="parameters"/> > > </wsdl:message> > > <wsdl:message name="getMIDPRecordCountRequest"> > > <wsdl:part element="impl:getMIDPRecordCount" name="parameters"/> > > </wsdl:message> > > <wsdl:message name="sendMailResponse"> > > <wsdl:part element="impl:sendMailResponse" name="parameters"/> > > </wsdl:message> > > <wsdl:message name="setSessionTimeOutResponse"> > > <wsdl:part element="impl:setSessionTimeOutResponse" > name="parameters"/> > > </wsdl:message> > > <wsdl:message name="logoutResponse"> > > <wsdl:part element="impl:logoutResponse" name="parameters"/> > > </wsdl:message> > > <wsdl:message name="initSessionRequest"> > > <wsdl:part element="impl:initSession" name="parameters"/> > > </wsdl:message> > > <wsdl:message name="loadMIDPRecordStoreRequest"> > > <wsdl:part element="impl:loadMIDPRecordStore" name="parameters"/> > > </wsdl:message> > > <wsdl:message name="logoutRequest"> > > <wsdl:part element="impl:logout" name="parameters"/> > > </wsdl:message> > > <wsdl:message name="initSessionResponse"> > > <wsdl:part element="impl:initSessionResponse" name="parameters"/> > > </wsdl:message> > > <wsdl:message name="getMIDPDataLenthResponse"> > > <wsdl:part element="impl:getMIDPDataLenthResponse" name="parameters"/> > > </wsdl:message> > > <wsdl:message name="loginResponse"> > > <wsdl:part element="impl:loginResponse" name="parameters"/> > > </wsdl:message> > > <wsdl:portType name="SoapJMEProvisioningSession"> > > <wsdl:operation name="loadMIDPRecordStore"> > > <wsdl:input message="impl:loadMIDPRecordStoreRequest" > name="loadMIDPRecordStoreRequest"/> > > <wsdl:output message="impl:loadMIDPRecordStoreResponse" > name="loadMIDPRecordStoreResponse"/> > > </wsdl:operation> > > <wsdl:operation name="getVectorOfMIDPRecordStoreRecord"> > > <wsdl:input message="impl:getVectorOfMIDPRecordStoreRecordRequest" > name="getVectorOfMIDPRecordStoreRecordRequest"/> > > <wsdl:output > message="impl:getVectorOfMIDPRecordStoreRecordResponse" > name="getVectorOfMIDPRecordStoreRecordResponse"/> > > </wsdl:operation> > > <wsdl:operation name="getMIDPDataLenth"> > > <wsdl:input message="impl:getMIDPDataLenthRequest" > name="getMIDPDataLenthRequest"/> > > <wsdl:output message="impl:getMIDPDataLenthResponse" > name="getMIDPDataLenthResponse"/> > > </wsdl:operation> > > <wsdl:operation name="getMIDPRecordCount"> > > <wsdl:input message="impl:getMIDPRecordCountRequest" > name="getMIDPRecordCountRequest"/> > > <wsdl:output message="impl:getMIDPRecordCountResponse" > name="getMIDPRecordCountResponse"/> > > </wsdl:operation> > > <wsdl:operation name="login"> > > <wsdl:input message="impl:loginRequest" name="loginRequest"/> > > <wsdl:output message="impl:loginResponse" name="loginResponse"/> > > </wsdl:operation> > > <wsdl:operation name="logout"> > > <wsdl:input message="impl:logoutRequest" name="logoutRequest"/> > > <wsdl:output message="impl:logoutResponse" name="logoutResponse"/> > > </wsdl:operation> > > <wsdl:operation name="initSession"> > > <wsdl:input message="impl:initSessionRequest" > name="initSessionRequest"/> > > <wsdl:output message="impl:initSessionResponse" > name="initSessionResponse"/> > > </wsdl:operation> > > <wsdl:operation name="setSessionTimeOut"> > > <wsdl:input message="impl:setSessionTimeOutRequest" > name="setSessionTimeOutRequest"/> > > <wsdl:output message="impl:setSessionTimeOutResponse" > name="setSessionTimeOutResponse"/> > > </wsdl:operation> > > <wsdl:operation name="sendMail"> > > <wsdl:input message="impl:sendMailRequest" name="sendMailRequest"/> > > <wsdl:output message="impl:sendMailResponse" > name="sendMailResponse"/> > > </wsdl:operation> > > </wsdl:portType> > > <wsdl:binding name="servicesSoapBinding" > type="impl:SoapJMEProvisioningSession"> > > <wsdlsoap:binding style="document" > transport="http://schemas.xmlsoap.org/soap/http"/> > > <wsdl:operation name="loadMIDPRecordStore"> > > <wsdlsoap:operation soapAction=""/> > > <wsdl:input name="loadMIDPRecordStoreRequest"> > > <wsdlsoap:body use="literal"/> > > </wsdl:input> > > <wsdl:output name="loadMIDPRecordStoreResponse"> > > <wsdlsoap:body use="literal"/> > > </wsdl:output> > > </wsdl:operation> > > <wsdl:operation name="getVectorOfMIDPRecordStoreRecord"> > > <wsdlsoap:operation soapAction=""/> > > <wsdl:input name="getVectorOfMIDPRecordStoreRecordRequest"> > > <wsdlsoap:body use="literal"/> > > </wsdl:input> > > <wsdl:output name="getVectorOfMIDPRecordStoreRecordResponse"> > > <wsdlsoap:body use="literal"/> > > </wsdl:output> > > </wsdl:operation> > > <wsdl:operation name="getMIDPDataLenth"> > > <wsdlsoap:operation soapAction=""/> > > <wsdl:input name="getMIDPDataLenthRequest"> > > <wsdlsoap:body use="literal"/> > > </wsdl:input> > > <wsdl:output name="getMIDPDataLenthResponse"> > > <wsdlsoap:body use="literal"/> > > </wsdl:output> > > </wsdl:operation> > > <wsdl:operation name="getMIDPRecordCount"> > > <wsdlsoap:operation soapAction=""/> > > <wsdl:input name="getMIDPRecordCountRequest"> > > <wsdlsoap:body use="literal"/> > > </wsdl:input> > > <wsdl:output name="getMIDPRecordCountResponse"> > > <wsdlsoap:body use="literal"/> > > </wsdl:output> > > </wsdl:operation> > > <wsdl:operation name="login"> > > <wsdlsoap:operation soapAction=""/> > > <wsdl:input name="loginRequest"> > > <wsdlsoap:body use="literal"/> > > </wsdl:input> > > <wsdl:output name="loginResponse"> > > <wsdlsoap:body use="literal"/> > > </wsdl:output> > > </wsdl:operation> > > <wsdl:operation name="logout"> > > <wsdlsoap:operation soapAction=""/> > > <wsdl:input name="logoutRequest"> > > <wsdlsoap:body use="literal"/> > > </wsdl:input> > > <wsdl:output name="logoutResponse"> > > <wsdlsoap:body use="literal"/> > > </wsdl:output> > > </wsdl:operation> > > <wsdl:operation name="initSession"> > > <wsdlsoap:operation soapAction=""/> > > <wsdl:input name="initSessionRequest"> > > <wsdlsoap:body use="literal"/> > > </wsdl:input> > > <wsdl:output name="initSessionResponse"> > > <wsdlsoap:body use="literal"/> > > </wsdl:output> > > </wsdl:operation> > > <wsdl:operation name="setSessionTimeOut"> > > <wsdlsoap:operation soapAction=""/> > > <wsdl:input name="setSessionTimeOutRequest"> > > <wsdlsoap:body use="literal"/> > > </wsdl:input> > > <wsdl:output name="setSessionTimeOutResponse"> > > <wsdlsoap:body use="literal"/> > > </wsdl:output> > > </wsdl:operation> > > <wsdl:operation name="sendMail"> > > <wsdlsoap:operation soapAction=""/> > > <wsdl:input name="sendMailRequest"> > > <wsdlsoap:body use="literal"/> > > </wsdl:input> > > <wsdl:output name="sendMailResponse"> > > <wsdlsoap:body use="literal"/> > > </wsdl:output> > > </wsdl:operation> > > </wsdl:binding> > > <wsdl:service name="SoapJMEProvisioningSessionService"> > > <wsdl:port binding="impl:servicesSoapBinding" name="services"> > > <wsdlsoap:address > location="http://ppx-ps.enitab.fr:8080/jmeprovisioning/control/services"/> > > </wsdl:port> > > </wsdl:service> > > </wsdl:definitions> > > Thanks in advance > > Pascal PRIOUX > > -- Davanum Srinivas - http://webservices.apache.org/~dims/