Function: soap-parse-wsdl-phase-parse-schema
soap-parse-wsdl-phase-parse-schema is a byte-compiled function defined
in soap-client.el.gz.
Signature
(soap-parse-wsdl-phase-parse-schema NODE WSDL)
Documentation
Load types found in NODE into WSDL.
Source Code
;; Defined in /usr/src/emacs/lisp/net/soap-client.el.gz
(defun soap-parse-wsdl-phase-parse-schema (node wsdl)
"Load types found in NODE into WSDL."
(soap-with-local-xmlns node
;; Find all the 'xsd:schema nodes which are children of wsdl:types nodes and
;; build our type-library.
(let ((types (car (soap-xml-get-children1 node 'wsdl:types))))
(dolist (node (xml-node-children types))
;; We cannot use (xml-get-children node (soap-wk2l 'xsd:schema)) because
;; each node can install its own alias type so the schema nodes might
;; have a different prefix.
(when (consp node)
(soap-with-local-xmlns
node
(when (eq (soap-l2wk (xml-node-name node)) 'xsd:schema)
(soap-wsdl-add-namespace (soap-parse-schema node wsdl)
wsdl))))))))