Function: soap-operation-arity

soap-operation-arity is a byte-compiled function defined in soap-client.el.gz.

Signature

(soap-operation-arity WSDL SERVICE OPERATION-NAME)

Documentation

Return the number of arguments required by a soap operation.

WSDL, SERVICE, OPERATION-NAME and PARAMETERS are as described in soap-invoke.

Source Code

;; Defined in /usr/src/emacs/lisp/net/soap-client.el.gz
(defun soap-operation-arity (wsdl service operation-name)
  "Return the number of arguments required by a soap operation.
WSDL, SERVICE, OPERATION-NAME and PARAMETERS are as described in
`soap-invoke'."
  (let* ((port (soap-find-port wsdl service))
         (op (soap-find-operation port operation-name))
         (bop (soap-bound-operation-operation op)))
    (length (soap-operation-parameter-order bop))))