2

I consume a web service that has a numeric element. The Delphi wsdl importer sets it up as an integer.

The web service allows this element to be nullable. I checked on the other posts to find that I had to use the WSDL importer option 'Use 'TXSString for simple nillable types' (Blank value in web service for Int64 type). My only question is how can I make the WSDL importer replace the basic types (integer in my example) without any changes from me ?

With the option checked, I get my function as this :

function  getCode(const login: string; const password: string): Integer; stdcall;

And it's on me to change to :

function  getCode(const login: string; const password: string): TXSInteger; stdcall;

Any option that I forgot to make the importer use the TXSxxx types by default ?

Community
  • 1
  • 1
Alix SIMON
  • 21
  • 1

0 Answers0