Function: soap-resolve-references-for-xs-attribute-group
soap-resolve-references-for-xs-attribute-group is a byte-compiled
function defined in soap-client.el.gz.
Signature
(soap-resolve-references-for-xs-attribute-group ATTRIBUTE-GROUP WSDL)
Documentation
Set slots in ATTRIBUTE-GROUP to the referenced objects in the WSDL.
This is a specialization of soap-resolve-references for
soap-xs-attribute-group objects.
See also soap-wsdl-resolve-references.
Source Code
;; Defined in /usr/src/emacs/lisp/net/soap-client.el.gz
(defun soap-resolve-references-for-xs-attribute-group (attribute-group wsdl)
"Set slots in ATTRIBUTE-GROUP to the referenced objects in the WSDL.
This is a specialization of `soap-resolve-references' for
`soap-xs-attribute-group' objects.
See also `soap-wsdl-resolve-references'."
(let ((reference (soap-xs-attribute-group-reference attribute-group)))
(when (soap-name-p reference)
(let ((resolved (soap-wsdl-get reference wsdl
'soap-xs-attribute-group-p)))
(dolist (attribute (soap-xs-attribute-group-attributes resolved))
(soap-resolve-references attribute wsdl))
(setf (soap-xs-attribute-group-name attribute-group)
(soap-xs-attribute-group-name resolved))
(setf (soap-xs-attribute-group-id attribute-group)
(soap-xs-attribute-group-id resolved))
(setf (soap-xs-attribute-group-reference attribute-group) nil)
(setf (soap-xs-attribute-group-attributes attribute-group)
(soap-xs-attribute-group-attributes resolved))
(setf (soap-xs-attribute-group-attribute-groups attribute-group)
(soap-xs-attribute-group-attribute-groups resolved))))))