apcli - SOAP client for CLI with YAML and JSON input
=head1 SYNOPSIS
B<soapcli>
S<[--verbose|-v]>
S<[--dump-xml-request|-x]>
data.yml|data.json|{string:"JSON"}|-
[webservice.wsdl|webservice_wsdl.url
SOAP client which accepts YAML or JSON document as
an input data.
The first argument is a request data as a JSON string or a name of file which
contains data in JSON or YAML format.
The second argum
bin/perl -c
package App::soapcli;
=head1 NAME
App::soapcli - SOAP client for CLI with YAML and JSON input
=head1 SYNOPSIS
my $app = App::soapcli->new(argv => [qw( calculator.yml calculator.url
::Tiny ();
use YAML::Syck ();
use YAML::XS ();
use JSON::PP ();
=head1 ATTRIBUTES
=over
=item argv : ArrayRef
Arguments list with o
self->{extra_argv}->[2];
my $request = do {
if ($arg_request =~ /^{/) {
JSON::PP->new->utf8->relaxed->allow_barekey->decode($arg_request);
}
elsif ($arg_reque