Project Links

Recommended Books

Donate


« Documentation gets a face lift! | Main | State of the SOAP »

Announcing SOAP::Lite 0.67

I just pushed the latest version of SOAP::Lite to CPAN. It is a relatively small release containing the following fixes:

  • Fixed a bug where the charset parameter was being added and re-added multiple times to the Content-Type HTTP header.
  • Fixed a bug that prevented SOAP::Lite from parsing MIME messages that did not contain content-ids.
  • Made a few enhancements to how SOAP::Lite defines (internally) the use of default and non-default namespaces.

Comments

How do I get back my SOAP-ENV encoding. Have a ton of legacy clients requesting from a non-compatiable service now. They were coded to expect the SOAP-ENV default name space! :(

Figured it out .. Here is an example using the HTTP::Transport::CGI

my ($serializer) = SOAP::Serializer->new();
$serializer->envprefix('SOAP-ENV');
$serializer->encprefix('SOAP-ENC');
$serializer->use_prefix('true');

SOAP::Transport::HTTP::CGI
->serializer($serializer)
->dispatch_to('Core::Service')
->handle;

Weird error when I was trying the simple example:
------------
#!perl -w
use SOAP::Lite;
print SOAP::Lite
-> proxy('http://services.soaplite.com/hibye.cgi')
-> uri('http://www.soaplite.com/Demo')
-> hi()
-> result;
------------


Can't locate object method "new" via package "SOAP::Packager::MIME" (perhaps you forgot to load "SOAP::Packager::MIME"?) at /usr/lib/perl5/site_perl/5.8.5/SOAP/Lite.pm line 3216.

Got

Can't locate object method "catfile" via package "File::Spec" (perhaps you forgot to load "File::Spec"?) at /usr/lib/perl5/site_perl/5.8.3/SOAP/Lite.pm line 2921.

until I manually added

use File::Spec;

to Soap/Lite.pm

It's a great program

to Adam: Can you post real comments?

Proflogistics

The comments to this entry are closed.

Don't Hate the Ads

Recent Comments

Recent Posts

Blog powered by TypePad