Help for this page

Select Code to Download


  1. or download this
    package MyApp::Controller::Service;
    use strict;
    ...
       # features, according to the WSDL types.
       $c->stash->{soap}->compile_return({ ... });
    }
    
  2. 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.
    }
    
  3. or download this
     
    package MyApp::Controller::Service;
    use strict;
    ...
       # forward to this action based on the SOAPAction
       # header.
    }