Einzelnen Beitrag anzeigen

Benutzerbild von Samashy
Samashy

Registriert seit: 20. Feb 2004
Ort: Cottbus
127 Beiträge
 
Delphi 10.4 Sydney
 
#1

WDSL Import hat "contentType" als Datentyp an eine Property in einer Klasse erzeugt?

  Alt 18. Mai 2017, 13:04
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
  Mit Zitat antworten Zitat