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 |
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;