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

2008-11-11 Thread Ian Sillitoe
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/


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

2008-11-11 Thread Ian Sillitoe
 otherwise I'll probably just have to downgrade X::C and postpone the
 problem for a rainy day.


Hmmm... it appears that versions of XML::Compile older than 0.93 have been
cleared off CPAN. I was able to find older versions of X::C and X::C::SOAP
by Googling around but it does make it more of an issue, especially for new
users. I'll carry on poking around...

Cheers,

Ian
___
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/


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

2008-09-24 Thread Adam Bartosik
 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?

Adam

-- 
Adam Bartosik
http://langs-tech-stuff.blogspot.com/

___
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/


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

2008-09-22 Thread Drew Taylor
On Fri, Sep 12, 2008 at 8:36 AM, Zbigniew Lukasiak [EMAIL PROTECTED] wrote:
 Dear all,

 I have tried to install Catalyst::Controller::SOAP on both an Open
 SUSE 10.3 with Perl 5.8.8 and Ubuntu Hardy with the same Perl version.
  Both give the same errors as in the report at:
 http://www.nntp.perl.org/group/perl.cpan.testers/2008/09/msg2179625.html

 Can anyone with more knowledge of SOAP tell if that is something important?

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. :-)

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/


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

2008-09-18 Thread Adam Bartosik
2008/9/12 Zbigniew Lukasiak [EMAIL PROTECTED]:
 Can anyone with more knowledge of SOAP tell if that is something important?

Hi Zbyszek,
try the previous versions of XML::Compile
install MARKOV/XML-Compile-0.87.tar.gz
install MARKOV/XML-Compile-SOAP-0.74.tar.gz

Btw - anyone has any experience implementing ws-security with c::c::soap?

Cheers,

-- 
Adam
http://langs-tech-stuff.blogspot.com/

___
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/


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

2008-09-12 Thread Zbigniew Lukasiak
Dear all,

I have tried to install Catalyst::Controller::SOAP on both an Open
SUSE 10.3 with Perl 5.8.8 and Ubuntu Hardy with the same Perl version.
 Both give the same errors as in the report at:
http://www.nntp.perl.org/group/perl.cpan.testers/2008/09/msg2179625.html

Can anyone with more knowledge of SOAP tell if that is something important?

Cheers,
Zbigniew Lukasiak
http://brudnopis.blogspot.com/
http://perlalchemy.blogspot.com/

___
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/