Sync with soap-client repository. Support SOAP simpleType. (Bug#10331)
authorAlex Harsanyi <AlexHarsanyi@gmail.com>
Wed, 25 Apr 2012 10:28:29 +0000 (12:28 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Wed, 25 Apr 2012 10:28:29 +0000 (12:28 +0200)
commitdb9b177bcc4aabebebf604de7a0efc5b32981c5b
treedb389c859ea4965a2d36215dbe24671f52c1098c
parent1fc6097bfa931cf17f8a5b76ec8442e22d33c724
Sync with soap-client repository.  Support SOAP simpleType.  (Bug#10331)

* soap-client.el (soap-resolve-references-for-sequence-type)
(soap-resolve-references-for-array-type): hack to prevent self
references, see Bug#9.
(soap-parse-envelope): report the contents of the 'detail' node
when receiving a fault reply.
(soap-parse-envelope): report the contents of the entire 'detail' node.

* soap-inspect.el (soap-sample-value-for-simple-type)
(soap-inspect-simple-type): new function

* soap-client.el (soap-simple-type): new struct
(soap-default-xsd-types, soap-default-soapenc-types)
(soap-decode-basic-type, soap-encode-basic-type): support
unsignedInt and double basic types
(soap-resolve-references-for-simple-type)
(soap-parse-simple-type, soap-encode-simple-type): new function
(soap-parse-schema): parse xsd:simpleType declarations

* soap-client.el (soap-default-xsd-types)
(soap-default-soapenc-types): add integer, byte and anyURI types
(soap-parse-complex-type-complex-content): use `soap-wk2l' to find
the local name of "soapenc:Array"
(soap-decode-basic-type, soap-encode-basic-type): support encoding
decoding integer, byte and anyURI xsd types.
lisp/ChangeLog
lisp/net/soap-client.el
lisp/net/soap-inspect.el