Sync with soap-client repository. Support SOAP simpleType. (Bug#10331)
commitd21aabd04ef54a8a90dfbaa011b016eeb7ed9da1
authorAlex Harsanyi <AlexHarsanyi@gmail.com>
Wed, 25 Apr 2012 10:28:29 +0000 (25 12:28 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Wed, 25 Apr 2012 10:28:29 +0000 (25 12:28 +0200)
tree25424438dc25c4d1edb1c3cbb8e841bc77ae7548
parent3e384fda817315b0a7346f44f7fc9a42db07a176
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