%PDF- %PDF-
Direktori : /usr/local/share/emacs/27.2/lisp/net/ |
Current File : //usr/local/share/emacs/27.2/lisp/net/soap-client.elc |
;ELC ;;; Compiled ;;; in Emacs version 27.2 ;;; with all optimizations. ;;; This file uses dynamic docstrings, first added in Emacs 19.29. ;;; This file does not contain utf-8 non-ASCII characters, ;;; and so can be loaded in Emacs versions earlier than 23. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (byte-code "\300\301!\210\300\302!\210\300\303!\210\300\304!\210\300\305!\210\300\306!\210\300\307!\210\300\310!\210\300\311!\210\300\312!\210\300\313!\207" [require cl-lib xml xsd-regexp rng-xsd rng-dt warnings url url-http url-util url-vars mm-decode] 2) #@101 Display a warning MESSAGE with ARGS, using the `soap-client' warning type. (fn MESSAGE &rest ARGS) (defalias 'soap-warning #[385 "\300\301\302\303#\304#\207" [display-warning soap-client apply format :warning] 8 (#$ . 666)]) (byte-code "\300\301\302\303#\210\304\305\306\307\310\311\312\313&\207" [put soap-warning byte-optimizer byte-compile-inline-expand custom-declare-group soap-client nil "Access SOAP web services from Emacs." :version "24.1" :group tools] 8) #@56 A list of well known xml namespaces and their aliases. (defconst soap-well-known-xmlns '(("apachesoap" . "http://xml.apache.org/xml-soap") ("soapenc" . "http://schemas.xmlsoap.org/soap/encoding/") ("wsdl" . "http://schemas.xmlsoap.org/wsdl/") ("wsdlsoap" . "http://schemas.xmlsoap.org/wsdl/soap/") ("xsd" . "http://www.w3.org/2001/XMLSchema") ("xsi" . "http://www.w3.org/2001/XMLSchema-instance") ("wsa" . "http://www.w3.org/2005/08/addressing") ("wsaw" . "http://www.w3.org/2006/05/addressing/wsdl") ("soap" . "http://schemas.xmlsoap.org/soap/envelope/") ("soap12" . "http://schemas.xmlsoap.org/wsdl/soap12/") ("http" . "http://schemas.xmlsoap.org/wsdl/http/") ("mime" . "http://schemas.xmlsoap.org/wsdl/mime/") ("xml" . "http://www.w3.org/XML/1998/namespace")) (#$ . 1142)) #@113 A list of local namespace aliases. This is a dynamically bound variable, controlled by `soap-with-local-xmlns'. (defvar soap-local-xmlns '(("xml" . "http://www.w3.org/XML/1998/namespace")) (#$ . 1925)) #@151 The default XML namespaces. Names in this namespace will be unqualified. This is a dynamically bound variable, controlled by `soap-with-local-xmlns' (defvar soap-default-xmlns nil (#$ . 2134)) #@215 The target XML namespace. New XSD elements will be defined in this namespace, unless they are fully qualified for a different namespace. This is a dynamically bound variable, controlled by `soap-with-local-xmlns' (defvar soap-target-xmlns nil (#$ . 2335)) #@103 The current WSDL document used when decoding the SOAP response. This is a dynamically bound variable. (defvar soap-current-wsdl nil (#$ . 2599)) #@288 Return local variant of WELL-KNOWN-NAME. This is done by looking up the namespace in the `soap-well-known-xmlns' table and resolving the namespace to the local name based on the current local translation table `soap-local-xmlns'. See also `soap-with-local-xmlns'. (fn WELL-KNOWN-NAME) (defalias 'soap-wk2l #[257 "\2119\203 \303!\202\f \211\304\305\"\203T \306\307\"\306\310\"\311\"A\211 \232\2035 9\2031 \312!\202M \202M \313\n\"@\211\314Q9\203J \312!\202K \211\266\202\262\266\202\202U \207" [soap-well-known-xmlns soap-default-xmlns soap-local-xmlns symbol-name string-match "^\\(.*\\):\\(.*\\)$" match-string 1 2 assoc intern rassoc ":"] 9 (#$ . 2751)]) #@277 Convert LOCAL-NAME into a well known name. The namespace of LOCAL-NAME is looked up in the `soap-well-known-xmlns' table and a well known namespace tag is used in the name. nil is returned if there is no well-known namespace for the namespace of LOCAL-NAME. (fn LOCAL-NAME) (defalias 'soap-l2wk #[257 "\2119\203 \303!\202\f \211\304\211\305\306\"\2035 \307\310\"\262\307\311\"\312\"A\262\2041 \313\314#\210\210\202; \262 \262\203_ \315\n\"@\211\205Z \211\316Q9\203W \317!\202X \211\262\262\202` \211\207" [soap-local-xmlns soap-default-xmlns soap-well-known-xmlns symbol-name nil string-match "^\\(.*\\):\\(.*\\)$" match-string 2 1 assoc error "Soap-l2wk(%s): no namespace for alias %s" rassoc ":" intern] 9 (#$ . 3434)]) #@598 Convert LOCAL-NAME into a fully qualified name. A fully qualified name is a cons of the namespace name and the name of the element itself. For example "xsd:string" is converted to ("http://www.w3.org/2001/XMLSchema" . "string"). The USE-TNS argument specifies what to do when LOCAL-NAME has no namespace tag. If USE-TNS is non-nil, the `soap-target-xmlns' will be used as the element's namespace, otherwise `soap-default-xmlns' will be used. This is needed because different parts of a WSDL document can use different namespace aliases for the same element. (fn LOCAL-NAME &optional USE-TNS) (defalias 'soap-l2fq #[513 "9\203 \303!\202\f \304\305\"\2037 \306\307\"\306\310\"\311\"A\211\203* \211B\2020 \312\313#\262\266\202\202B \203? \202@ \nB\207" [soap-local-xmlns soap-target-xmlns soap-default-xmlns symbol-name string-match "^\\(.*\\):\\(.*\\)$" match-string 1 2 assoc error "Soap-l2fq(%s): unknown alias %s"] 10 (#$ . 4188)]) #@131 Return t if NAME is a valid name for XMLSchema types. A valid name is either a string or a cons of (NAMESPACE . NAME). (fn NAME) (defalias 'soap-name-p #[257 "\211;\206 \211:\205 \211@;\205 \211A;\207" [] 2 (#$ . 5150)]) #@100 Return a namespace alias table for NODE by extending XMLNS-TABLE. (fn NODE &optional XMLNS-TABLE) (defalias 'soap-extract-xmlns #[513 "\300\211\211\211A@\262\211\203H \211@\301@!A\302\230\203! \211\262\202? \303\230\203- \211\262\202? \304\305\"\203? \306\307\"BB\262\266A\266\202\202 \210\310\311\"\211\203r \203r A\232\204~ \312\211@\262C\313\314\315\316#\317#\266\202~ \211\203~ \204~ \211A\262\210\320\"E\207" [nil symbol-name "targetNamespace" "xmlns" string-match "^xmlns:\\(.*\\)$" match-string 1 assoc "tns" "soap-extract-xmlns(%s): tns alias and targetNamespace mismatch" display-warning soap-client apply format :warning append] 14 (#$ . 5382)]) #@79 Install a local alias table from NODE and execute BODY. (fn NODE &rest BODY) (defalias 'soap-with-local-xmlns '(macro . #[385 "\300\301!\302\303\304BBDC\302\305\306\307\310E\311BBD\312\306\307\313E\314BBD\315\307\316EDEBBE\207" [make-symbol "xmlns" let soap-extract-xmlns (soap-local-xmlns) soap-default-xmlns or nth 0 (soap-default-xmlns) soap-target-xmlns 1 (soap-target-xmlns) soap-local-xmlns 2] 12 (#$ . 6079)])) (byte-code "\300\301\302\303#\210\304\301\305\306#\300\207" [put soap-with-local-xmlns edebug-form-spec (form &rest form) function-put lisp-indent-function 1] 4) #@110 Return the target namespace of NODE. This is the namespace in which new elements will be defined. (fn NODE) (defalias 'soap-get-target-namespace #[257 "\302\303\"\206 \304\305\"A\206 \207" [soap-local-xmlns soap-target-xmlns xml-get-attribute-or-nil targetNamespace assoc "tns"] 4 (#$ . 6676)]) #@148 Return the children of NODE named CHILD-NAME. This is the same as `xml-get-children', but CHILD-NAME can have namespace tag. (fn NODE CHILD-NAME) (defalias 'soap-xml-get-children1 #[514 "\303\211AA\262\211\203N \211@\211:\203G \304\"\211@\206 A@\206# \n\3058\30618 \307\211@\262!0\202: \210\303+=\262\203G \211B\262A\266\202\202 \210\211\237\207" [soap-local-xmlns soap-default-xmlns soap-target-xmlns nil soap-extract-xmlns 2 (error) soap-l2wk] 10 (#$ . 6984)]) #@78 Return the first child of NODE whose name is a member of SET. (fn NODE SET) (defalias 'soap-xml-node-find-matching-child #[514 "\30020 \211AA\262\211\205- \211@\211:\203&