Lazarus

Programming => Networking and Web Programming => Topic started by: Renat.Su on June 04, 2018, 05:42:14 pm

Title: Access to SOAP request body
Post by: Renat.Su on June 04, 2018, 05:42:14 pm
Component: Web service toolkit.
How can I access the request (SOAP) body to modify it before sending it over HTTP to the endpoint? Can anyone tell? Can be an event or in extreme case a hard change in the code?
Title: Re: Access to SOAP request body
Post by: d.ioannidis on June 04, 2018, 07:39:52 pm
Hi,

  the app is a server (producer) or a client (consumer) ?

  Anyway you can look in wiki Services Extensions (http://wiki.lazarus.freepascal.org/Web_Service_Toolkit#Services_Extensions), for a starting point .

regards,
Title: Re: Access to SOAP request body
Post by: Renat.Su on June 05, 2018, 01:14:34 am
Hi,

  the app is a server (producer) or a client (consumer) ?

  Anyway you can look in wiki Services Extensions (http://wiki.lazarus.freepascal.org/Web_Service_Toolkit#Services_Extensions), for a starting point .

regards,
Client side. Thanks for the link! Will I need to write an extension to be able to access SOAP after generation just before sending the request?  In the wiki, the service extensions section is located in the Server side part. Is this true for the client side as well?
TinyPortal © 2005-2018