> Is there a way to set the default prefix Axis uses? I don't know the answer to your question, but...for correctly implemented webservices (xml) stacks, it is a matter of aesthetics.
Namespace Prefix strings should not matter. It is the URI of the namespace that is important. This: <superhero:set xmlns:superhero="urn:Superhero"> <superhero:Batman/> <superhero:Spiderman/> </superhero:set> ...is semantically the same as this: <tns:set xmlns:tns="urn:Superhero"> <tns:Batman/> <tns:Spiderman/> </tns:set> ..and also the same as this: <ns1:set xmlns:ns1="urn:Superhero"> <ns1:Batman/> <ns1:Spiderman/> </ns1:set> And even the same as this: <set xmlns="urn:Superhero"> <Batman/> <Spiderman/> </set> But *THIS* is something totally different: <superhero:set xmlns:superhero="urn:Movies"> <superhero:Batman/> <superhero:Spiderman/> </superhero:set> ... despite the use of the superhero prefix. Because the URI changed. Your Common Lisp soap server should tolerate any old legal prefix, or even, no prefix at all (the default namespace). -----Original Message----- From: Andy Dolbey [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 08, 2005 7:53 PM To: axis-user@ws.apache.org Subject: replacing default namespace prefixes Hello axis-users, I have a question that I've seen come up in this group several times, but so far I haven't seen an answer. So I'll try throwing out the question again. I have a wsdl for a service that I have used Axis-1.2 to generate client classes for. This went fine. But now when I make requests, Axis is using the namespace prefix "ns1" as a default. But the SOAP server (which is a Common Lisp server) really wants the prefix to be "tns". And in fairness to the server, this is the prefix specified in the wsdl. With a ns1 prefix, I now get error messages for all requests. Is there a way to set the default prefix Axis uses? I tried grep'ing all of the source for "ns1", but didn't find anything. This problem is draining a lot my time. If anyone has any ideas or suggestions, please let me know! Thanks. Andy