in Education by
I've got a problem with exposing a DTO class through SOAP WebService. My class looks like TKontrahent = class public Imie : string; Nazwisko : string; Id : integer; end; Here's the Service's code: TKontrahentService = class(TInvokableClass, IKontrahentService) public function Dodaj( kontrahnet : TKontrahent) : integer; stdcall; function Aktualizuj ( kontrahent : TKontrahent) : integer; stdcall; function Usun ( kontrahent : TKontrahent) : integer; stdcall; function Nowy : TKontrahent; stdcall; end; And how the type is published in WSDL: I'd be thankful for any advices. I cannot find any sample with more complex types. Best regards, krlm JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by
To expose and consume the class TKontrahent in a standard Delphi SOAP service, it must be a subclass of TRemotable and its properties must be published. As a starting point (for example after the migration from Delphi 7 to 2009) I usually import an existing WSDL to create a SOAP client and study the generated source code for classes and properties.

Related questions

0 votes
    I've got a problem with exposing a DTO class through SOAP WebService. My class looks like TKontrahent = ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 28, 2022 in Education by JackTerrance
0 votes
    How can you expose an Apex class as a REST WebService in Salesforce?...
asked Nov 11, 2020 in Technology by JackTerrance
0 votes
    I want to expose multiple ports to the machine’s interface. How to achieve this using a docker container? Please help. Select the correct answer from above options...
asked Jan 22, 2022 in Education by JackTerrance
0 votes
    I need to pull item quantity from a DB2 database from an aspx page and then update after the quantity ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 5, 2022 in Education by JackTerrance
0 votes
    I've got a webservice which takes a RequestDTO with 6 strings in it. When testing the webservice I ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 28, 2022 in Education by JackTerrance
0 votes
    I'm trying to access my .xml file in the ClientBin with no success. code: WebClient xmlClient = ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 23, 2022 in Education by JackTerrance
0 votes
    Companies expose their services as a set of HTTP _____. Proxies Endpoints...
asked Sep 3, 2021 in Technology by JackTerrance
0 votes
    What are the two ways to expose data items in Blue Prism?...
asked Nov 6, 2020 in Technology by JackTerrance
0 votes
    I just got Delphi 2009 and have previously read some articles about modifications that might be necessary because ... for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 18, 2022 in Education by JackTerrance
0 votes
    I just got Delphi 2009 and have previously read some articles about modifications that might be necessary because ... for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 18, 2022 in Education by JackTerrance
0 votes
    I just got Delphi 2009 and have previously read some articles about modifications that might be necessary because ... for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 16, 2022 in Education by JackTerrance
0 votes
    It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 5, 2022 in Education by JackTerrance
0 votes
    It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 5, 2022 in Education by JackTerrance
0 votes
    Anyone know of an example of using Amazon SES with Delphi, or failing that, some tips to get me ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Mar 4, 2022 in Education by JackTerrance
0 votes
    When I'm calling a Dll method it sometimes throws an exception, and sometimes doesn't. I'm calling ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 20, 2022 in Education by JackTerrance
...