Re: More questions about SOAP
Chaitanya Gupta <[email protected]> Wed, 18 Oct 2006 12:29:32 +0530
| Newsgroups | gmane.lisp.allegro |
|---|---|
| Message-ID | <[email protected]> |
Chaitanya Gupta wrote: > Hi, > > 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. Just wanted to inform, I have found a solution to this problem. The toplevel body element in the response has an xmlns="url" attribute. So, by doing the following - > (define-namespace :keyword nil "url") The element and all the sub-elements are interned in the keyword package. Thanks, Chaitanya