Function: soap-wsdl-add-namespace
soap-wsdl-add-namespace is a byte-compiled function defined in
soap-client.el.gz.
Signature
(soap-wsdl-add-namespace NS WSDL)
Documentation
Add the namespace NS to the WSDL document.
If a namespace by this name already exists in WSDL, individual elements will be added to it.
Source Code
;; Defined in /usr/src/emacs/lisp/net/soap-client.el.gz
(defun soap-wsdl-add-namespace (ns wsdl)
"Add the namespace NS to the WSDL document.
If a namespace by this name already exists in WSDL, individual
elements will be added to it."
(let ((existing (soap-wsdl-find-namespace (soap-namespace-name ns) wsdl)))
(if existing
;; Add elements from NS to EXISTING, replacing existing values.
(maphash (lambda (_key value)
(dolist (v value)
(soap-namespace-put v existing)))
(soap-namespace-elements ns))
(push ns (soap-wsdl-namespaces wsdl)))))