Announcement

Collapse
No announcement yet.

WSDL Importer in Delphi 7 bug?

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

  • WSDL Importer in Delphi 7 bug?

    Hallo Miteinander

    Ich arbeite mit D7 und WebSphere (IBM).
    Im WebSphere wurde ein WebService geschrieben der eine WSDL-Datei zur Verfügung stellt.

    Hier ein Ausschnitt der WSDL:

    <?xml version="1.0" encoding="UTF-8"?><BR>
    <wsdl:definitions targetNamespace="http://ejb.ws.sas.helsana.ch"<BR>
    xmlns:impl="http://ejb.ws.sas.helsana.ch"<BR>
    xmlns:intf="http://ejb.ws.sas.helsana.ch"<BR>
    xmlns:tns2="http://struct.sas.helsana.ch"<BR>
    xmlns:tns3="http://exception.sas.helsana.ch"<BR>
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"<BR>
    xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/"<BR>
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"><BR>
    <wsdl:types><BR>
    <schema elementFormDefault="qualified" targetNamespace="...../"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"><BR>
    .<BR>
    .<BR>
    .<BR>
    <complexType name="EvDeckData"><BR>
    <sequence><BR>
    <element name="dirty" type="xsd:boolean"/><BR>
    <element name="mtgN" nillable="true" type="xsd:string"/><BR>
    <element name="varN" nillable="true" type="xsd:string"/><BR>
    <element name="anzmtdN" nillable="true" type="xsd:string"/><BR>
    <element name="anzmtlN" nillable="true" type="xsd:string"/><BR>
    <element maxOccurs="unbounded" name="evMtd" nillable="true"<BR>
    type="tns2:EvMtd"/><BR>
    <element maxOccurs="unbounded" name="evMtr" nillable="true" type="tns2:EvMtr"/><BR>
    <element maxOccurs="unbounded" name="evMtl" nillable="true" type="tns2:EvMtl"/><BR>
    <element maxOccurs="unbounded" name="evVor" nillable="true" type="tns2:EvVor"/><BR>
    </sequence><BR>
    </complexType><BR>
    <complexType name="EvMtd"><BR>
    <sequence><BR>
    <element name="dirty" type="xsd:boolean"/><BR>
    <element name="anzmtrN" nillable="true" type="xsd:string"/><BR>
    .<BR>
    .<BR>
    .<BR>
    <element name="lahistMtdN" nillable="true" type="xsd:string"/><BR>
    <element name="indexAntC" nillable="true" type="xsd:string"/><BR>
    </sequence><BR>
    </complexType><BR>
    .<BR>
    .<BR>
    .<BR>
    </complexType><BR>
    </schema><BR>
    .<BR>
    .<BR>
    .<BR>

    </wsdl:definitions><BR>

    Aus dieser WSDL erkennt man, dass das Objekt EvDeckData einen Array of EvMtd enthält,
    (<element maxOccurs="unbounded" name="evMtr" nillable="true" type="tns2:EvMtr"/>
    )

    Wenn ich diese WSDL-Datei in Delphi 7 importiere, wird EvDeckData erstellt, jedoch besitzt dieser nur EvMtd und nicht einen Array davon.
    Wird diese WSDL-Datei mit Delphi 8 importiert, wird diese richtig interpretiert.

    Hat jemand eine Ahnung wieso D7 dies nicht erkennt? Existiert ein Importer, dass diese Datei für D7 richtig importiert?

    Danke und Gruss
    Stefano
Working...
X