Site Map Contact Us Home
E-mail Newsletter
Subscribe to get informed about
Clever Components news.

Your Name:
Your Email:
 
SUBSCRIBE
 
Previous Newsletters
 




Products Articles Downloads Order Support
Customer Portal     

SOAP Message

Features | Detailed Description

The SOAP Message is a component from the Clever Internet Suite library.

It provides the SOAP XML data to be sent to the SOAP-WSDL service.

This component is used together with HTTP Client for submitting created request data to SOAP servers via HTTP protocol.

Available in VCL and ActiveX editions.

Features:

  • SOAP XML requests and responses
  • WSDL parameters
  • SOAP Attachments
  • Digitally Sign / Verify messages - SOAP-DSIG
  • Encrypt / Decrypt messages - Soap Security extension
  • Can be used with any third party SOAP and HTTP engine
  • Free one year upgrades and support

Send SOAP message in just few lines of code

The SOAP Message component can be used together with HTTP Client to communicate with SOAP servers. It includes an internal XML parser to create new SOAP requests and parse the results.

This component may also be used for exchanging XML data when the underlying SOAP transport is not HTTP. You can easily create new message and process it via SMTP, POP3 or any other protocol.

// [Delphi]
clSoapMessage.BuildSoapWSDL('http....method_uri', 'method_name', ['param1, param2'], ['param_value1', 'param_value2']);

clSoapMessage.BodyID := 'body1';
clSoapMessage.Timestamp.Created := '2015-04-07T13:45:48.210Z';
clSoapMessage.Timestamp.Expires := '2016-04-07T13:45:48.210Z';
clSoapMessage.Timestamp.ID := 'timestamp1';

clSoapMessage.Signatures.Clear();
clSoapMessage.Signatures.Add();
clSoapMessage.Signatures[0].References.Add(Id2UriReference(clSoapMessage.Timestamp.ID));
clSoapMessage.Signatures[0].References.Add(Id2UriReference(clSoapMessage.BodyID));

clSoapMessage.EncryptedKey.Clear();
clSoapMessage.EncryptedKey.References.Add(Id2UriReference(clSoapMessage.BodyID));

clSoapMessage.Sign();
clSoapMessage.Encrypt();

clHttp1.Post('http...soap_service', clSoapMessage, response);

Samples in Delphi and C++Builder

Please see the Demos code (Soap, SoapDSIG, SoapSecurity) and also the indexed Help documentation provided with the Clever Internet Suite installation to learn more about using this component in your application.

Complete Delphi source code

When Purchasing the Clever Internet Suite you receive the full sources for all suite components and also free unlimited support.

Interested?

    Copyright © 2000-2019