[Catalyst] Failing tests in Catalyst::Controller::SOAP

Ian Sillitoe ian at sillit.com
Tue Nov 11 12:10:52 GMT 2008

Just a gentle nudge on this - anyone know if C::C::SOAP is still actively

I'm in the process of poking around since fixing C::C::SOAP seems like a
better long term solution than downgrading XML::Compile. I've got to here:

Catalyst::Controller::SOAP (version 1.10, line 216, "sub _parse_SOAP__atr")

  $self->decoders->{$name} =3D sub {
    my $body =3D shift;
    my @nodes =3D grep { UNIVERSAL::isa($_, 'XML::LibXML::Element') }
        map {
          my $data =3D $_->{compiled_reader}->(shift
          $_->{name} =3D> $data;
        } @{$input_parts}
      }, @nodes;

When running t/PostApp.t (test 4) the compiled reader seems to be returning

  my $data =3D $_->{compiled_reader}->(shift @nodes);

>From the docs of XML::Compile::Schema, I'm guessing this should return the
data structure of the compiled SOAP request.

I'm up against a deadline so I haven't got a great deal more time to spend
on this - any pointers from anyone who knows their way around X::C would be
very welcome - otherwise I'll probably just have to downgrade X::C and
postpone the problem for a rainy day.



2008/9/25 Drew Taylor <taylor.andrew.j at gmail.com>

> On Wed, Sep 24, 2008 at 10:43 AM, Adam Bartosik <moldovenu at gmail.com>
> wrote:
> >> I'll try to take a look at the test errors soon, but I'm pretty
> >> swamped at $work for the near future. That said, I'm using the latest
> >> C:C::SOAP in production without any problems. :-)
> >
> > Hi Drew,
> > Which versions of XML::Compile, XML::Compile::SOAP do you use there?
> I'm no longer on the cutting edge: X::C 0.86, X::C::SOAP 0.73. I
> remember from the changelog in recent versions of XML::Compile that
> there were some changes to attributes(?). I'm guessing this is what
> causes the tests to fail, but it's just a guess at this point.
> Drew
> --
> ----------------------------------------------------------------
>  Drew Taylor                 *  Web development & consulting
>  Email: drew at drewtaylor.com  *  Site implementation & hosting
>  Web  : www.drewtaylor.com   *  perl/mod_perl/DBI/mysql/postgres
>  ----------------------------------------------------------------
> _______________________________________________
> List: Catalyst at lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive:
> http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
> Dev site: http://dev.catalyst.perl.org/

-- =

Dr Ian Sillitoe
CATH Team -- http://cathdb.info
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20081111/1f958=

More information about the Catalyst mailing list