Skip Menu |

This queue is for tickets about the Catalyst-Controller-SOAP CPAN distribution.

Report information
The Basics
Id: 54727
Status: resolved
Priority: 0/
Queue: Catalyst-Controller-SOAP

People
Owner: Nobody in particular
Requestors: zeppeh [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.19
Fixed in: (no value)



When using the attached controller and wsdl I get the following error: Couldn't load class (Example) because: error: cannot find element or attribute `{http://example.net/}TestRequest' It seems to be happening with any wsdl that uses a message part with a type.
Subject: example.wsdl
Download example.wsdl
application/octet-stream 3.4k

Message body not shown because it is not plain text.

Subject: Example.pm
package Example::Controller::Example; use Moose; use namespace::autoclean; BEGIN {extends 'Catalyst::Controller::SOAP'; } __PACKAGE__->config->{wsdl} = 'WSDL/example.wsdl'; sub Test : WSDLPort('Example') { my ($self, $c, $args) = @_; use Data::Dumper; $c->log->debug(Dumper($args)); } __PACKAGE__->meta->make_immutable;
Subject: Re: [rt.cpan.org #54727]
Date: Wed, 17 Feb 2010 18:19:30 -0300
To: bug-Catalyst-Controller-SOAP [...] rt.cpan.org
From: Daniel Ruoso <daniel [...] ruoso.com>
Em Qua, 2010-02-17 às 15:57 -0500, via RT escreveu: Show quoted text
> When using the attached controller and wsdl I get the following error: > Couldn't load class (Example) because: error: cannot find element or > attribute `{http://example.net/}TestRequest' > It seems to be happening with any wsdl that uses a message part with a type.
Yes... it makes sense... and yes... it is a bug... I'll take a look into it... daniel
This bug is actually caused by an old version of the XML::Compile suite which didn't support asking for types in the compile method, only elements. I've added another test in SVN in order to re-check that at installation. I'm releasing it to CPAN right now. daniel