SOAP-XML-Client

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

2.4 Wed Jun  1 2010
    - Add XML Parser warning message to returned error - helps with debugging

2.3 Mon Dec 20 16:56:10 GMT 2010
    - removed encode() from sending in SOAP::XML::Client  (mjemmeson patch)

2.2 Fri Sep 17 14:54:08 BST 2010
    - Add even better encoding (mjemmeson patch)

2.1 Fri  4 Dec 11:42:33 GMT 2009
    - Add a header() so you can add a SOAP::Header objects to use
    - get embarrassed by the code, but it refractor left for another day

2.0 Sun Feb 18 15:09:06 GMT 2007
	- Replace s/xmlns=".+?"//g with s/xmlns=".*?"//g
      for servers sending xmlns="", thanks to David Hall
      for the heads up

1.9 Mon May 29 10:00:39 BST 2006
	- Switch to SOAP::XML::Client name space
	- renamed 'Real' to 'Generic'

lib/SOAP/XML/Client.pm  view on Meta::CPAN


To stop SOAP::Lite being overly keen to encode values as Base64, pass
in disable_base64:

   ...
     disable_base64 => 1,
   ...

=head2 header()

   my $header = SOAP::Header->name(
          SomeDomain => {
              Username => "a_user",
              Password => 'xxxxx',
          }
      )->uri('http://www.thedomain.com/')->prefix('');

    $soap_client->header($header);

Add a soap header to the soap call, probably useful if there is
credential based authenditcation

lib/SOAP/XML/Client/DotNet.pm  view on Meta::CPAN


This constructor requires uri, proxy and xmlns to be
supplied, otherwise it will croak.

strip_default_xmlns is used to remove xmlns="http://.../"
from returned XML, it will NOT alter xmlns:FOO="http//.../"
set to '0' if you do not wish for this to happen.

=head2 header()

   my $header = SOAP::Header->name(
          SomeDomain => {
              Username => "a_user",
              Password => 'xxxxx',
          }
      )->uri('http://www.thedomain.com/')->prefix('');

    $soap_client->header($header);

Add a soap header to the soap call, probably useful if there is
credential based authenditcation

lib/SOAP/XML/Client/Generic.pm  view on Meta::CPAN


This constructor requires uri, proxy and xmlns to be
supplied, otherwise it will croak.

strip_default_xmlns is used to remove xmlns="http://.../"
from returned XML, it will NOT alter xmlns:FOO="http//.../"
set to '0' if you do not wish for this to happen.

=head2 header()
 
   my $header = SOAP::Header->name(
          SomeDomain => {
              Username => "a_user",
              Password => 'xxxxx',
          }
      )->uri('http://www.thedomain.com/')->prefix('');

    $soap_client->header($header);

Add a soap header to the soap call, probably useful if there is
credential based authenditcation



( run in 0.268 second using v1.01-cache-2.11-cpan-454fe037f31 )