Announcement

Collapse
No announcement yet.

fehlerhafte WSDL

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • fehlerhafte WSDL

    Hallo,

    ich versuche nun schon seit 3 Tagen die im Anhang folgende WSDL zu validieren, leider ohne Erfolg.

    Ich hoffe mir kann hier jemand helfen.

    Mfg

    Rudi


  • #2
    Sorry, der Anhang ist zu groß und die WSDL ist zu lang als, dass ich sie in einem Rutsch posten könnte. Also hier die WSDL in mehreren Teilen:

    Teil 1:

    <?xml version="1.0" encoding="UTF-8"?>
    <wsdl:definitions
    targetNamespace="http://localhost:8080/cisCmWeb/services/CmService"
    name="CmService"
    xmlns:impl="http://localhost:8080/cisCmWeb/services/CmService"
    xmlns:intf="http://localhost:8080/cisCmWeb/services/CmService"
    xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
    xmlns:tns1="http://xml.apache.org/axis/wsdd/"
    xmlns:tns2="http://exception.cis.de.ibm.com"
    xmlns:tns3="http://soapinterop.org/xsd"
    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.2.1
    Built on Jun 14, 2005 (09:15:57 EDT)-->
    <wsdl:types>
    <schema targetNamespace="http://xml.apache.org/axis/wsdd/"
    xmlns="http://www.w3.org/2001/XMLSchema">

    <!-- <import namespace="http://xml.apache.org/xml-soap" /> -->

    <import
    namespace="http://localhost:8080/cisCmWeb/services/CmService" />
    <import namespace="http://exception.cis.de.ibm.com" />
    <import
    namespace="http://schemas.xmlsoap.org/soap/encoding/" />
    <complexType name="ArcRetrieveFinalizeReqVO">

    <sequence>
    <element name="archiveID" nillable="true"
    type="xsd:string" />
    <element name="configurationFile" nillable="true"
    type="xsd:base64Binary" />
    <element name="configurationName" nillable="true"
    type="xsd:string" />
    <element name="rootObjectToRetrieveID"
    nillable="true" type="xsd:string" />
    <element name="runID" type="xsd:int" />
    </sequence>
    </complexType>
    <complexType name="ArcRetrieveFinalizeRespVO">

    <sequence>
    <element name="archiveID" nillable="true"
    type="xsd:string" />
    <element name="rootObjectToRetrieveID"
    nillable="true" type="xsd:string" />
    <element name="runID" type="xsd:int" />
    </sequence>
    </complexType>
    <complexType name="ArcRetrieveProcessReqVO">
    <sequence>
    <element name="archiveID" nillable="true"
    type="xsd:string" />

    <element name="configurationFile" nillable="true"
    type="xsd:base64Binary" />
    <element name="configurationName" nillable="true"
    type="xsd:string" />
    <element name="rootObjectToRetrieveID"
    nillable="true" type="xsd:string" />
    <element name="runID" type="xsd:int" />
    </sequence>
    </complexType>
    <complexType name="ArcRetrieveProcessRespVO">
    <sequence>
    <element name="archiveID" nillable="true"
    type="xsd:string" />

    <element name="content" nillable="true"
    type="xsd:anyType" />
    <element name="rootObjectToRetrieveID"
    nillable="true" type="xsd:string" />
    <element name="runID" type="xsd:int" />
    </sequence>
    </complexType>
    <complexType name="ArcArchiveProcessReqVO">
    <sequence>
    <element name="archiveID" nillable="true"
    type="xsd:string" />
    <element name="configurationFile" nillable="true"
    type="xsd:base64Binary" />

    <element name="configurationName" nillable="true"
    type="xsd:string" />
    <element name="content" nillable="true"
    type="xsd:anyType" />
    <element name="rootObjectToArchiveID"
    nillable="true" type="xsd:string" />
    <element name="runID" type="xsd:int" />
    </sequence>
    </complexType>
    <complexType name="ArcArchiveProcessRespVO">
    <sequence>
    <element name="archiveID" nillable="true"
    type="xsd:string" />

    <element name="rootObjectToArchiveID"
    nillable="true" type="xsd:string" />
    <element name="runID" type="xsd:int" />
    </sequence>
    </complexType>
    </schema>
    <schema
    targetNamespace="http://localhost:8080/cisCmWeb/services/CmService"
    xmlns="http://www.w3.org/2001/XMLSchema">

    <!-- <import namespace="http://xml.apache.org/xml-soap" /> -->

    <import namespace="http://soapinterop.org/xsd" />

    <import namespace="http://xml.apache.org/axis/wsdd/" />
    <import namespace="http://exception.cis.de.ibm.com" />

    <import
    namespace="http://schemas.xmlsoap.org/soap/encoding/" />

    </schema>

    <schema targetNamespace="http://exception.cis.de.ibm.com"
    xmlns="http://www.w3.org/2001/XMLSchema">

    <!-- <import namespace="http://xml.apache.org/xml-soap" /> -->

    <import namespace="http://xml.apache.org/axis/wsdd/" />
    <import
    namespace="http://localhost:8080/cisCmWeb/services/CmService" />
    <import
    namespace="http://schemas.xmlsoap.org/soap/encoding/" />
    <complexType name="EncapsulatedException">
    <sequence>
    <element name="archiveID" nillable="true"
    type="xsd:string" />
    <element name="causeName" nillable="true"
    type="xsd:string" />

    <element name="messageText" nillable="true"
    type="xsd:string" />
    <element name="rootObjectID" nillable="true"
    type="xsd:string" />
    <element name="runID" type="xsd:int" />
    <element name="stackTraceElementsTexts"
    nillable="true" type="tns3:ArrayOfString" />
    </sequence>
    </complexType>
    </schema>
    </wsdl:types>

    <wsdl:message name="arcRetrieveProcessResponse">

    <wsdlart name="arcRetrieveProcessReturn"
    type="tns1:ArcRetrieveProcessRespVO" />

    </wsdl:message>

    <wsdl:message name="arcRetrieveFinalizeResponse">

    <wsdlart name="arcRetrieveFinalizeReturn"
    type="tns1:ArcRetrieveFinalizeRespVO" />

    </wsdl:message>

    <wsdl:message name="arcArchiveProcessRequest">

    <wsdlart name="arcArchiveProcessReqVO"
    type="tns1:ArcArchiveProcessReqVO" />

    </wsdl:message>

    <wsdl:message name="arcRetrieveFinalizeRequest">

    <wsdlart name="arcRetrieveFinalizeReqVO"
    type="tns1:ArcRetrieveFinalizeReqVO" />

    </wsdl:message>

    <wsdl:message name="EncapsulatedException">

    <wsdlart name="fault" type="tns2:EncapsulatedException" />

    </wsdl:message>

    <wsdl:message name="arcRetrieveProcessRequest">

    <wsdlart name="arcRetrieveProcessRespVO"
    type="tns1:ArcRetrieveProcessReqVO" />

    </wsdl:message>

    <wsdl:message name="arcArchiveProcessResponse">

    <wsdlart name="arcArchiveProcessReturn"
    type="tns1:ArcArchiveProcessRespVO" />

    </wsdl:message&gt

    Comment


    • #3
      Teil 2:

      <wsdlortType name="CmService">

      <wsdlperation name="arcRetrieveFinalize"
      parameterOrder="arcRetrieveFinalizeReqVO">

      <wsdl:input message="impl:arcRetrieveFinalizeRequest"
      name="arcRetrieveFinalizeRequest" />

      <wsdlutput message="impl:arcRetrieveFinalizeResponse"
      name="arcRetrieveFinalizeResponse" />

      <wsdl:fault message="impl:EncapsulatedException"
      name="EncapsulatedException" />

      </wsdlperation>

      <wsdlperation name="arcRetrieveProcess"
      parameterOrder="arcRetrieveProcessRespVO">

      <wsdl:input message="impl:arcRetrieveProcessRequest"
      name="arcRetrieveProcessRequest" />

      <wsdlutput message="impl:arcRetrieveProcessResponse"
      name="arcRetrieveProcessResponse" />

      <wsdl:fault message="impl:EncapsulatedException"
      name="EncapsulatedException" />

      </wsdlperation>

      <wsdlperation name="arcArchiveProcess"
      parameterOrder="arcArchiveProcessReqVO">

      <wsdl:input message="impl:arcArchiveProcessRequest"
      name="arcArchiveProcessRequest" />

      <wsdlutput message="impl:arcArchiveProcessResponse"
      name="arcArchiveProcessResponse" />

      <wsdl:fault message="impl:EncapsulatedException"
      name="EncapsulatedException" />

      </wsdlperation>

      </wsdlortType>

      <wsdl:binding name="CmServiceSoapBinding" type="impl:CmService">

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

      <wsdlperation name="arcRetrieveFinalize">

      <wsdlsoapperation soapAction="" />

      <wsdl:input name="arcRetrieveFinalizeRequest">

      <wsdlsoap:body
      encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
      namespace="http://cm.cis.de.ibm.com" use="encoded" />

      </wsdl:input>

      <wsdlutput name="arcRetrieveFinalizeResponse">

      <wsdlsoap:body
      encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
      namespace="http://localhost:8080/cisCmWeb/services/CmService"
      use="encoded" />

      </wsdlutput>

      <wsdl:fault name="EncapsulatedException">

      <wsdlsoap:fault
      encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
      name="EncapsulatedException"
      namespace="http://localhost:8080/cisCmWeb/services/CmService"
      use="encoded" />

      </wsdl:fault>

      </wsdlperation>

      <wsdlperation name="arcRetrieveProcess">

      <wsdlsoapperation soapAction="" />

      <wsdl:input name="arcRetrieveProcessRequest">

      <wsdlsoap:body
      encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
      namespace="http://cm.cis.de.ibm.com" use="encoded" />

      </wsdl:input>

      <wsdlutput name="arcRetrieveProcessResponse">

      <wsdlsoap:body
      encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
      namespace="http://localhost:8080/cisCmWeb/services/CmService"
      use="encoded" />

      </wsdlutput>

      <wsdl:fault name="EncapsulatedException">

      <wsdlsoap:fault
      encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
      name="EncapsulatedException"
      namespace="http://localhost:8080/cisCmWeb/services/CmService"
      use="encoded" />

      </wsdl:fault>

      </wsdlperation>

      <wsdlperation name="arcArchiveProcess">

      <wsdlsoapperation soapAction="" />

      <wsdl:input name="arcArchiveProcessRequest">

      <wsdlsoap:body
      encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
      namespace="http://cm.cis.de.ibm.com" use="encoded" />

      </wsdl:input>

      <wsdlutput name="arcArchiveProcessResponse">

      <wsdlsoap:body
      encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
      namespace="http://localhost:8080/cisCmWeb/services/CmService"
      use="encoded" />

      </wsdlutput>

      <wsdl:fault name="EncapsulatedException">

      <wsdlsoap:fault
      encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
      name="EncapsulatedException"
      namespace="http://localhost:8080/cisCmWeb/services/CmService"
      use="encoded" />

      </wsdl:fault>

      </wsdlperation>

      </wsdl:binding>

      <wsdl:service name="CmServiceService">

      <wsdlort binding="impl:CmServiceSoapBinding"
      name="CmService">

      <wsdlsoap:address
      location="http://localhost:8080/cisCmWeb/services/CmService" />

      </wsdlort>

      </wsdl:service>

      </wsdl:definitions&gt

      Comment


      • #4
        Hi Rudi,

        Mail mir doch mal das Teil an Martin.Szugat _at_ GMX.net. Vielleicht kann ich damit was anfangen.

        Gruß, Martin
        www.aboutxml.d
        Martin Szugat
        www.aboutxml.de

        Comment


        • #5
          Hi Rudi,

          Ich hab mal mit XMLSpy Home Edition (kostenlos) folgendes probiert: Als erstes dem Wurzelelement Verweise auf die XSD-(XML Schema)-Dateien für XML Schema und WSDL mittels XML Schema-Instance hinzugefügt. Die Dateien stammen von Visual Studio 2005:

          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://schemas.xmlsoap.org/wsdl/
          C:\Programme\MID05A~1\Xml\Schemas\wsdl.xsd http://www.w3.org/2001/XMLSchema C:\Programme\MID05A~1\Xml\Schemas\xsdschema.xsd"

          Anschließend mittels XMLSpy validiert. Keine Fehlermeldung ...

          Welchen Validator verwendest Du denn? Und wie lautet die Fehlermeldung?

          Viele Grüße

          Marti
          Martin Szugat
          www.aboutxml.de

          Comment

          Working...
          X