- or download this
package MyApp::Controller::Service;
use strict;
...
# features, according to the WSDL types.
$c->stash->{soap}->compile_return({ ... });
}
- or download this
sub other_operation : Local SOAP('DocumentLiteral') {
# the body is parsed the same way as RPC literal,
...
# the whole body.
# The return can be set in the exact same way.
}
- or download this
package MyApp::Controller::Service;
use strict;
...
# forward to this action based on the SOAPAction
# header.
}