Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Netzwerke (https://www.delphipraxis.net/14-netzwerke/)
-   -   Delphi WSDL Import Problem (https://www.delphipraxis.net/199519-wsdl-import-problem.html)

wjjw 29. Jan 2019 10:21

WSDL Import Problem
 
Hallo!

Ich habe ein Problem mit einem Web-Service. Normalerweise verwende ich den WSDLImp(orter) um die Klassen zu erzeugen.
Nur bei einem Webservice stürzt er ab und die Klassen werden nicht erzeugt.
Gibt es eine andere Möglichkeit die Struktur "nachzubauen" bzw. andere Tools hierfür?

mjustin 29. Jan 2019 13:02

AW: WSDL Import Problem
 
Stürzt er ab, wenn die WSDL als Endpunkt-URL im Wizard eingegeben wird, oder liegt die WSDL Datei schon auf der lokalen Platte? Gibt es eine Fehlermeldung?
Der WSDL Importer kann auch von der Kommandozeile aus aufgerufen werden: http://docwiki.embarcadero.com/RADSt..._WSDL_Importer
Zitat:

Tip: The command line interpreter includes some options that are not available when you use the WSDL importer in the IDE. For details, see the help for WSDLIMP.

Code:
Usage: WSDLIMP [options] <WSDL[File|URL]|UDDI BindingKey>

 Code Generation Options:
  -C  Generate C++ code                  -P  Generate Pascal code
                          [ -option{+|-} default shown ]
  -Oa- Process optional/nillable elements -Op+ Process inc/imported schemas
  -Od+ Generate Complex Type Destructors  -Oq- Quiet mode (Suppress Headers)
  -Of- Process Faults                     -Og- Use OLE GUIDs for interface
  -Oi- Ignore Schema errors               -Os- Generate Server skeleton code
  -Ok- Map pure collections to classes    -Ot- Output unused types
  -Ol- Generate Literal types             -Ou+ Unwrap Literal Parameters
  -Om- Allow out parameters               -Ov+ Verbose Info. in file
  -On- Declare Types in Namespace         -Ow+ Map strings to WideStrings
  -Oo+ One out param becomes return       -Ox+ Strong class Aliases
 Other options:
  -D<path> Output directory path          -=+ Output filename after'=' in URL
  -U<url of UDDI Registry> UDDI Registry [NOTE: input must be UDDI bindingkey(s)

   @<Resp> Response file with list of WSDL|UDDIBindingKey to import

wjjw 30. Jan 2019 10:22

AW: WSDL Import Problem
 
Habe einen Fix vom Embarcadero bekommen. Ich hoffe er wird auch in der nächsten Delphi-Version "offiziell" bereitgestellt.
Jetzt wird das Webservice Pas-Source-File generiert (Zuvor Absturz bei WSDL Import UI Assistent und bei der Konsole).

Lemmy 30. Jan 2019 17:29

AW: WSDL Import Problem
 
Zitat:

Zitat von wjjw (Beitrag 1424418)
Habe einen Fix vom Embarcadero bekommen. Ich hoffe er wird auch in der nächsten Delphi-Version "offiziell" bereitgestellt.
Jetzt wird das Webservice Pas-Source-File generiert (Zuvor Absturz bei WSDL Import UI Assistent und bei der Konsole).

welche Delphi Version? 10.2 oder schon Rio?


Alle Zeitangaben in WEZ +1. Es ist jetzt 17:51 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