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

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} = sub {
    my $body = shift;
    my @nodes = grep { UNIVERSAL::isa($_, 'XML::LibXML::Element') }
$body->childNodes();
    return
      {
        map {
          my $data = $_->{compiled_reader}->(shift
@nodes);
          $_->{name} => $data;
        } @{$input_parts}
      }, @nodes;
  };

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

  my $data = $_->{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.

Cheers,

Ian




2008/9/25 Drew Taylor <[EMAIL PROTECTED]>

> On Wed, Sep 24, 2008 at 10:43 AM, Adam Bartosik <[EMAIL PROTECTED]>
> 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: [EMAIL PROTECTED]  *  Site implementation & hosting
>  Web  : www.drewtaylor.com   *  perl/mod_perl/DBI/mysql/postgres
>  ----------------------------------------------------------------
>
> _______________________________________________
> List: Catalyst@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
_______________________________________________
List: Catalyst@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/

Reply via email to