can you please open up a JIRA bug and upload your java code? am
currently shooting in the dark here :)
-- dims
On Wed, 23 Jun 2004 09:34:42 +0200, Pascal Prioux <[EMAIL PROTECTED]> wrote:
>
>
> I'have downloaded the nighly build (23/06/2004)
> The error in not the same but it's a another not declared namespace:
> the error in the generated wsdl:
>
> <complexType name="ArrayOf_tns1_anyType">
> <complexContent>
> <restriction base="tns2:Array">
> <attribute ref="tns2:arrayType" wsdl:arrayType="tns1:anyType[]"/>
> </restriction>
> </complexContent>
> </complexType>
>
> the error from wscompile tool:
> error: modeler error: model error: undeclared namespace prefix: "tns2"
>
> the tns2 namespace prefix is not declared
> See the complete wsdl in attached file
>
> Thanks for your investigation
>
>
> Pascal PRIOUX
> Ing�nieur de recherche Informatique
> Expert JAVA (JME,JSE,JEE)
> email:[EMAIL PROTECTED]
>
>
> ----- Original Message -----
> From: "Davanum Srinivas" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, June 22, 2004 8:15 PM
> Subject: Re: Collection,WS-I compliant file and wscompile
>
> > checked in a fix. please try tonight's nightly or get latest cvs.
> >
> > thanks,
> > -- dims
> >
> > On Tue, 22 Jun 2004 11:10:00 +0200, Pascal Prioux <[EMAIL PROTECTED]> wrote:
> > >
> > > Hi,
> > > I've downloaded the nightly build (22/06/2004)
> > >
> > > I've always the same error with the wscompile tools bundled with JMESDK
> 2.1
> > > from sun
> > >
> > > All works fine now expect witch method wich returns a collection of
> objects
> > >
> > > The wscompile tools say that the soapenc is not "namespaced" and it's
> true
> > > the wsdl generated by axis by the following ant task generate a bad wsdl
> > > file
> > > Here is the wsdl error:
> > >
> > > <complexType name="ArrayOf_tns2_anyType">
> > > <complexContent>
> > > <restriction base="soapenc:Array">
> > > <attribute ref="soapenc:arrayType"
> wsdl:arrayType="tns2:anyType[]"/>
> > > </restriction>
> > > </complexContent>
> > > </complexType>
> > >
> > > Thanks for your help ...
> > >
> > > Ant Task:
> > >
> > > <axis-java2wsdl
> > >
> > >
> output="${java.local.projects.webapps.dir}/${application.name}/${application
> > >
> .name}${java.local.webapps.application.name.web.suffix}/${java.local.web.dep
> > > loy.service.config.reldir}/${application.name}-doc.wsdl"
> > >
> > >
> location="http://${location.host.name}.${location.host.domain.name}:${locati
> > > on.host.port}/${application.name}${location.host.service.url}"
> > >
> > >
> classname="enitab.webapps.${application.name}.web.controller.soap.Soap${appl
> > > ication.class.name}Session"
> > > namespace="urn:${application.name}-rpc-service"
> > > style="wrapped"
> > > use="literal"
> > > >
> > >
> > > <complextype
> > > classname="enitab.tools.server.entreprise.control.event.ESTLoginEvent"
> > > namespace="event.control.entreprise.server.tools.enitab" />
> > >
> > > <complextype
> > > classname="enitab.tools.server.entreprise.control.event.ESTLogoutEvent"
> > > namespace="event.control.entreprise.server.tools.enitab" />
> > > </axis-java2wsdl>
> > >
> > > the wsdl generated:
> > >
> > > <?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="http://schemas.xmlsoap.org/soap/encoding/"
> > > xmlns:tns2="http://www.w3.org/1999/XMLSchema"
> > > xmlns:tns3="event.control.entreprise.server.tools.enitab"
> > > xmlns:tns4="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 22, 2004 (12:02:22 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://event.control.entreprise.server.tools.enitab"/>
> > > <element name="loadMIDPRecordStore">
> > > <complexType>
> > > <sequence>
> > > <element name="_recordStoreIdentifier" type="tns1:string"/>
> > > </sequence>
> > > </complexType>
> > > </element>
> > > <element name="loadMIDPRecordStoreResponse">
> > > <complexType/>
> > > </element>
> > > <element name="getVectorOfMIDPRecordStoreRecord">
> > > <complexType>
> > > <sequence>
> > > <element name="_startRecordIndex" type="tns1:int"/>
> > > <element name="_endRecordIndex" type="tns1:int"/>
> > > </sequence>
> > > </complexType>
> > > </element>
> > > <element name="getVectorOfMIDPRecordStoreRecordResponse">
> > > <complexType>
> > > <sequence>
> > > <element name="getVectorOfMIDPRecordStoreRecordReturn"
> > > type="impl:ArrayOf_tns2_anyType"/>
> > > </sequence>
> > > </complexType>
> > > </element>
> > > <complexType name="ArrayOf_tns2_anyType">
> > > <complexContent>
> > > <restriction base="soapenc:Array">
> > > <attribute ref="soapenc:arrayType"
> wsdl:arrayType="tns2:anyType[]"/>
> > > </restriction>
> > > </complexContent>
> > > </complexType>
> > > <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="tns3: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="tns1:string"/>
> > > </sequence>
> > > </complexType>
> > > </element>
> > > <element name="initSessionResponse">
> > > <complexType>
> > > <sequence>
> > > <element name="initSessionReturn" type="tns1:string"/>
> > > </sequence>
> > > </complexType>
> > > </element>
> > > <element name="setSessionTimeOut">
> > > <complexType>
> > > <sequence>
> > > <element name="_sessionTimeOut" type="tns1:int"/>
> > > </sequence>
> > > </complexType>
> > > </element>
> > > <element name="setSessionTimeOutResponse">
> > > <complexType/>
> > > </element>
> > > <element name="sendMail">
> > > <complexType>
> > > <sequence>
> > > <element name="_toEMailAddress" type="tns1:string"/>
> > > <element name="_fromEMailAddress" type="tns1:string"/>
> > > <element name="_fromPersonalEMailAddress" type="tns1:string"/>
> > > <element name="_subject" type="tns1:string"/>
> > > <element name="_body" type="tns1:string"/>
> > > <element name="_synchronousMode" type="tns1:boolean"/>
> > > </sequence>
> > > </complexType>
> > > </element>
> > > <element name="sendMailResponse">
> > > <complexType/>
> > > </element>
> > > </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="urn:jmeprovisioning-rpc-service"/>
> > > <complexType name="ESTServerEventSupport">
> > > <sequence>
> > > <element name="eventName" nillable="true" type="tns1:string"/>
> > > </sequence>
> > > </complexType>
> > > </schema>
> > > <schema elementFormDefault="qualified"
> > > targetNamespace="event.control.entreprise.server.tools.enitab"
> > > xmlns="http://www.w3.org/2001/XMLSchema">
> > > <import namespace="urn:jmeprovisioning-rpc-service"/>
> > > <import
> namespace="http://event.control.entreprise.server.tools.enitab"/>
> > > <complexType name="ESTLoginEvent">
> > > <complexContent>
> > > <extension base="tns4:ESTServerEventSupport">
> > > <sequence>
> > > <element name="identifier" nillable="true" type="tns1:string"/>
> > > <element name="password" nillable="true" type="tns1: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>
> > >
> > >
> >
> >
> >
> >
> > --
> > Davanum Srinivas - http://webservices.apache.org/~dims/
>
>
>
> jmeprovisioning-doc.wsdl - 13K
>
--
Davanum Srinivas - http://webservices.apache.org/~dims/