Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 98826 invoked from network); 20 May 2007 21:10:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 May 2007 21:10:49 -0000 Received: (qmail 95117 invoked by uid 500); 20 May 2007 21:10:46 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 95082 invoked by uid 500); 20 May 2007 21:10:46 -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: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 95071 invoked by uid 99); 20 May 2007 21:10:46 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 20 May 2007 14:10:46 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [206.123.75.163] (HELO sosnoski.com) (206.123.75.163) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 20 May 2007 14:10:40 -0700 Received: from [192.168.0.2] (ip-58-28-158-218.ubs-dsl.xnet.co.nz [58.28.158.218]) (authenticated bits=0) by sosnoski.com (8.12.10/8.12.10) with ESMTP id l4KLAGlm003626 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 20 May 2007 17:10:19 -0400 Message-ID: <4650B937.7030607@sosnoski.com> Date: Mon, 21 May 2007 09:10:15 +1200 From: Dennis Sosnoski Organization: Sosnoski Software User-Agent: Thunderbird 1.5.0.4 (X11/20060516) MIME-Version: 1.0 To: axis-user@ws.apache.org Subject: Re: Changing the namespace that is being generated by the Axis engine References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi Doug, The namespaces are the same in your two samples - the namespace *prefixes* are different ("soapenv" vs. "soap"), but these are just placeholders. I suspect the real issue is that your SOAP Body element is missing the expected element. How are you trying to call the service? - Dennis Dennis M. Sosnoski SOA and Web Services in Java Axis2 Training and Consulting http://www.sosnoski.com - http://www.sosnoski.co.nz Seattle, WA +1-425-939-0576 - Wellington, NZ +64-4-298-6117 Doug Schaible wrote: > Good Morning, > > How do you change the namespace that is used by the Axis engine when > it generates the SOAP body and envelope tags? I am trying to call a > .Net WS and it expects and , but > and are being created. > > Thanks, > Doug > > Example of what is being generated: > > xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd=" > http://www.w3.org/2001/XMLSchema" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> > > > > > The .Net WS is expecting this: > xmlns:xsd="http://www.w3.org/2001/XMLSchema > "xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-user-help@ws.apache.org