Pike v8.1 release 6

Module Web.SOAP

Description

This is a limited SOAP wsdl parser using Promises.

Example
Web.SOAP.Promise("https://foo.bar/Logon.svc?wsdl")
 .on_success(lambda(Web.SOAP.Client soap) {
  Web.SOAP.Arguments args, sh;
  args               = soap->get_arguments("Logon");
  sh                 = args->LogonRequestMsg;
  sh->Username       = "foo";
  sh->Password       = "bar";
  sh->WebServiceType = "Publisher";

  soap->call(args)
   .on_success(lambda(mapping resp) {
    string token = resp->CredentialToken;
  });
});