You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-dev@ws.apache.org by "Brown, Keith" <KB...@develop.com> on 2000/08/17 06:54:29 UTC

ANN: SOAP/Perl 0.25 released

I just uploaded the bits to:

*nix friendly bits:  http://soapl.develop.com/SOAP-0.25.tar.gz
Win32 friendly bits: http://soapl.develop.com/SOAP-0.25.zip

I've also uploaded these bits to CPAN, although it may take a day or so to
get through the CPAN pipeline.

To install, unzip and do the following (MS folks use "nmake"):
make
make test
make install

The test phase will make a few SOAP calls to Apache/mod-perl
running on soapl.develop.com, and you should see something like this:
3 + 4 = 7
3 + 4 = 7
3 + 4 = 7
3 + 4 = 7
3 + 4 = 7

Here's a summary of the changes in 0.24 and 0.25:

0.24  Tue  Aug 14  03:23:15 2000
	- Updated to support SOAP 1.1 (no array support yet, sorry)
      - NOTE NOTE NOTE: the following "public" interfaces have changed:
          * SOAP::Transport::HTTP::Client->send_receive
0.25  Thu  Aug 16  15:49:57 2000
	- Added SOAP::Struct and SOAP::StructSerializer to allow
        deterministic order of serialization of elements.
	- Changed "rootWithId" attribute to "root"
      - Deprecated SOAP::SimpleTypeWrapper; found a cleaner solution
      - Updated documentation

In order to send parameters in a deterministic order, serialize an instance
of the new SOAP::Struct class as opposed to a simple hash (which is
unordered in Perl).

Instead of this:

my $body = {
	a => 3,
	b => 4
};

do this:

my $body = SOAP::Struct->new(
	a => 3,
	b => 4
);

And to make apache happy (with xsi:type), instead of this:

my $body = SOAP::Struct->new(
	a => SOAP::TypedPrimitive(3, 'float'),
	b => SOAP::TypedPrimitive(4, 'float')
);

do this (it results in the same thing; it's just more readable):

my $body = SOAP::Struct->new_typed(
	a => 3, 'float',
	b => 4, 'float',
);

Flame away!

Keith
http://www.develop.com/kbrown