Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Programmieren allgemein (https://www.delphipraxis.net/40-programmieren-allgemein/)
-   -   Delphi WDSL Import hat "contentType" als Datentyp an eine Property in einer Klasse erzeugt? (https://www.delphipraxis.net/192780-wdsl-import-hat-contenttype-als-datentyp-eine-property-einer-klasse-erzeugt.html)

Samashy 18. Mai 2017 13:04

WDSL Import hat "contentType" als Datentyp an eine Property in einer Klasse erzeugt?
 
Hallo,
ich schon wieder mit Webservice Problemen. Ich arbeite mit Delphi 10.2.
Nach einem WDSL Import wird in der erzeugten PAS folgende Klasse definiert:
Code:
 // ************************************************************************ //
  // XML      : base64Binary, global, <complexType>
  // Namespace : http://www.w3.org/2005/05/xmlmime
  // ************************************************************************ //
  base64Binary = class(TRemotable)
  private
    FText: TByteDynArray;
    FcontentType: contentType;
    FcontentType_Specified: boolean;
    procedure SetcontentType(Index: Integer; const AcontentType: contentType);
    function contentType_Specified(Index: Integer): boolean;
  published
    property Text:       TByteDynArray Index (IS_TEXT) read FText write FText;
    property contentType: contentType   Index (IS_ATTR or IS_OPTN) read FcontentType write SetcontentType stored contentType_Specified;
  end;
Mit contentType kann ich nichts anfangen. Spricht das mit Euch?

Lieben Gruß,
Samashy

DeddyH 18. Mai 2017 14:15

AW: WDSL Import hat "contentType" als Datentyp an eine Property in einer Klasse erzeu
 
Ist der Typ denn nicht ebenfalls importiert worden? Ich vermute, das ist eine Aufzählung o.ä., die im Webservice deklariert wurde.

Samashy 18. Mai 2017 14:28

AW: WDSL Import hat "contentType" als Datentyp an eine Property in einer Klasse erzeu
 
Nein, komischerweise nicht.


Alle Zeitangaben in WEZ +1. Es ist jetzt 21:04 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz