AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Programmierung allgemein Programmieren allgemein Delphi WDSL Import hat "contentType" als Datentyp an eine Property in einer Klasse erzeugt?
Thema durchsuchen
Ansicht
Themen-Optionen

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

Ein Thema von Samashy · begonnen am 18. Mai 2017 · letzter Beitrag vom 18. Mai 2017
Antwort Antwort
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
Benutzerbild von DeddyH
DeddyH

Registriert seit: 17. Sep 2006
Ort: Barchfeld
27.540 Beiträge
 
Delphi 11 Alexandria
 
#2

AW: WDSL Import hat "contentType" als Datentyp an eine Property in einer Klasse erzeu

  Alt 18. Mai 2017, 14:15
Ist der Typ denn nicht ebenfalls importiert worden? Ich vermute, das ist eine Aufzählung o.ä., die im Webservice deklariert wurde.
Detlef
"Ich habe Angst vor dem Tag, an dem die Technologie unsere menschlichen Interaktionen übertrumpft. Die Welt wird eine Generation von Idioten bekommen." (Albert Einstein)
Dieser Tag ist längst gekommen
  Mit Zitat antworten Zitat
Benutzerbild von Samashy
Samashy

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

AW: WDSL Import hat "contentType" als Datentyp an eine Property in einer Klasse erzeu

  Alt 18. Mai 2017, 14:28
Nein, komischerweise nicht.
  Mit Zitat antworten Zitat
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 10:47 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