kamiar3001
kamiar3001

Reputation: 2676

Delphi send null string to webservice

I'm using my WebService from Delphi application, but, in my webservice, the parameter's value always get null.

Here is my web service code in .net

[WebMethod] int ExecSQL(string ASQL) { }

in delphi I use like this : Delphi Method for using web service which I have used

I don't know what is wrong ? my delphi application or my .net webservice ?

Upvotes: 2

Views: 1921

Answers (1)

formatc
formatc

Reputation: 36

Add this service unit:

InvRegistry.RegisterInvokeOptions(TypeInfo(xxx), ioDocument);

Read here: https://www.bobswart.nl/weblog/Blog.aspx?RootId=5:798

Upvotes: 2

Related Questions