Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 59755 invoked from network); 9 Mar 2005 00:53:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 9 Mar 2005 00:53:10 -0000 Received: (qmail 3750 invoked by uid 500); 9 Mar 2005 00:53:05 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 2882 invoked by uid 500); 9 Mar 2005 00:53:03 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 2868 invoked by uid 99); 9 Mar 2005 00:53:03 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=DNS_FROM_RFC_ABUSE,RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: domain of andy.dolbey@gmail.com designates 64.233.184.198 as permitted sender) Received: from wproxy.gmail.com (HELO wproxy.gmail.com) (64.233.184.198) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 08 Mar 2005 16:53:02 -0800 Received: by wproxy.gmail.com with SMTP id 71so13788wra for ; Tue, 08 Mar 2005 16:53:01 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=H6zYLXcXxATWvzj8pSPFRh70QCyeDTsJQcnHKlPhC4cKFoD3aHpuewQ8A4zoK+nLWjoeZgNH5QfgNX6C/ntREM71aR3B0KGkUOyLkD7xCnILA4B+Xc+G4+CMKswyRH8aj3oGRbZdyBjhnsazTRpAsg1j/g3pxcRmQZsjp5nnzoc= Received: by 10.54.72.6 with SMTP id u6mr224531wra; Tue, 08 Mar 2005 16:53:01 -0800 (PST) Received: by 10.54.7.66 with HTTP; Tue, 8 Mar 2005 16:53:01 -0800 (PST) Message-ID: Date: Tue, 8 Mar 2005 17:53:01 -0700 From: Andy Dolbey Reply-To: Andy Dolbey To: axis-user@ws.apache.org Subject: replacing default namespace prefixes Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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