More questions about SOAP

"Chaitanya Gupta" <[email protected]> Wed, 18 Oct 2006 00:36:07 +0530
Newsgroups gmane.lisp.allegro
Message-ID <[email protected]>
Hi,

I have got two more questions regarding the SOAP API -

1. Attributes inside a SOAP response. From a particular service,
almost all the information I get is stored in the attributes of tags
inside the SOAP body. However, ACL's parser doesn't include the tag
attributes in the list that it returns. I can use
soap-get-attribute(s), but since the response that I get is huge, and
most tags have information inside their attributes, it would be better
if the list that is returned by default has the attributes included.
Also, I am concerned about performance if I have to traverse the whole
list just to get the attributes from each of the tags (using
soap-get-attributes).

2. When the toplevel element in the body of a response is not
namespace qualified (doesn't have any prefix), and its sub-elements
are also not namespace qualified, the corresponding Lisp symbols,
including the symbol for the top-level element, are interned in a new
package (net.xml.namespace.xx). How can I set the default package for
these symbols to be something else, like keyword? (I don't want a new
package.xx created everytime I get a response.). The :lisp-package
:keyword option given to soap-message-client didn't work.

Thanks,
Chaitanya