logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Pod::WSDL::Method - Represents a method in Pod::WSDL (internal use only)

Author

       Tarek Ahmed, <bloerch -the character every email address contains- oelbsk.org>

Bugs

       see Pod::WSDL

Description

       This module is used internally by Pod::WSDL. It is unlikely that you have to interact directly with it.
       If that is the case, take a look at the code, it is rather simple.

Examples

       see Pod::WSDL

External Dependencies

         [none]

Methods

new
       Instantiates a new Pod::WSDL::Method.

   Parameters
       •   name - name of the method, mandatory

       •   doc - a Pod::WSDL::Doc object, can be omitted, use method doc later

       •   return - a Pod::WSDL::Return object, can be omitted, use method return later

       •   params - ref to array of Pod::WSDL::Param objects, can be omitted, use addParam() later

       •   faults - ref to array of Pod::WSDL::Fault objects, can be omitted, use addFault() later

       •   oneway - if true, method is a one way operation

       •   writer - XML::Writer-Object for output, mandatory

   addParam
       Add a Pod::WSDL::Param object to Pod::WSDL::Method

   addFault
       Add a Pod::WSDL::Fault object to Pod::WSDL::Method

   return
       Get or Set the Pod::WSDL::Return object for Pod::WSDL::Method

   doc
       Get or Set the Pod::WSDL::Doc object for Pod::WSDL::Method

   requestName
       Get name for request in XML output

   responseName
       Get name for response in XML output

   writeBindingOperation
       Write operation child for binding element in XML output

   writeMessages
       Write message elements in XML output

   writePortTypeOperation
       Write operation child for porttype element in XML output

Name

       Pod::WSDL::Method - Represents a method in Pod::WSDL (internal use only)

See Also

         Pod::WSDL :-)

Synopsis

         use Pod::WSDL::Method;
         my $m = new Pod::WSDL::Method(name => 'mySub', writer => 'myWriter', doc => new Pod::WSDL::Doc($docStr), return => new Pod::WSDL::Return($retStr));

Todo

       see Pod::WSDL

See Also