Return-Path: X-Original-To: apmail-axis-java-user-archive@www.apache.org Delivered-To: apmail-axis-java-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AA9CD98BB for ; Sat, 18 Feb 2012 12:05:21 +0000 (UTC) Received: (qmail 54753 invoked by uid 500); 18 Feb 2012 12:05:18 -0000 Delivered-To: apmail-axis-java-user-archive@axis.apache.org Received: (qmail 54553 invoked by uid 500); 18 Feb 2012 12:05:18 -0000 Mailing-List: contact java-user-help@axis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@axis.apache.org Delivered-To: mailing list java-user@axis.apache.org Received: (qmail 54514 invoked by uid 99); 18 Feb 2012 12:05:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 18 Feb 2012 12:05:17 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [121.101.151.226] (HELO nm4.bullet.mail.in.yahoo.com) (121.101.151.226) by apache.org (qpsmtpd/0.29) with SMTP; Sat, 18 Feb 2012 12:05:06 +0000 Received: from [121.101.151.236] by nm4.bullet.mail.in.yahoo.com with NNFMP; 18 Feb 2012 12:04:44 -0000 Received: from [121.101.151.235] by tm1.bullet.mail.in.yahoo.com with NNFMP; 18 Feb 2012 12:06:00 -0000 Received: from [127.0.0.1] by omp1004.mail.in.yahoo.com with NNFMP; 18 Feb 2012 12:04:44 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 661968.51778.bm@omp1004.mail.in.yahoo.com Received: (qmail 79684 invoked by uid 60001); 18 Feb 2012 12:04:44 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1329566684; bh=iE2GDtV7Pjoej7+0fOGeBEqPTRmCxbkh5XS0dJ8xrfc=; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Subject:To:MIME-Version:Content-Type; b=z7on/4ikpQhIjYBGTlgEYF24cJHnHpkgSy2y2n2X3S+9Ult8zdU7TDI84StFmNTm/q+6uJB7Gk5BqAfmhk1v7qsWluR77JdkwIhlas+GUU8I6UbrknZSejBIJjPLoVWZRrSp3sPDFLIu7V8uBgQ9ferr5Do82uDI/5QROWlvHDc= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Subject:To:MIME-Version:Content-Type; b=y7wp3aP/LgPj+vSkvziIrlDxOop4nUxU9lyGqyFo1Qk/UAJn+vJHrag405iwGFHTUCwWeU6x7giMvJIRW1anwmwUZrG08MKCdITasyf9eRNi3sHo80gAXfWRNDM9da3tDZ0TJOy0urXKyJtK5VG27WhXZ0vbV31Q38VOy2prnN8=; X-YMail-OSG: mPgmPXIVM1n_ilMCppg3jo7IRguPAYJ1heQKydrQevkZT2h HKw87eNdJZHA_wSFkgUggoIvLSbVVsVlsk2xhrvUHl6F8tGX6lI7Ds9zRDPz Q9sBhZjupGuNh8EEpFaGNYZ2IxPH3q8kfq4N6vnzQ1YZvPP770ZsTtdZ8gq2 3T7_9T9qkaf0w5WFL0lJqlArPRCj.M340l8E9a76KNXQG63XAtflXUoxxOzn ecSQ1fJM8QL4pornGBoKVxFkBof_bLC3SXfiUfqB5iWpL6UxOKHMtd5NUbhh LviQvYT_FfQfSHT..u8JWuyUP2YcWKgK1cwctM0s1flVpEfQkZscI__BnAka I.gWfwTvnGqKl__9K97QRdwEAoctVf9FWe18No0.UfDUqos9Ezix36g3SYeP MhiEX49iLNlvsQXCbOEWnHkaHzXQdvRJ_ Received: from [183.82.16.4] by web95508.mail.in.yahoo.com via HTTP; Sat, 18 Feb 2012 17:34:44 IST X-Mailer: YahooMailClassic/15.0.4 YahooMailWebService/0.8.116.338427 Message-ID: <1329566684.57781.YahooMailClassic@web95508.mail.in.yahoo.com> Date: Sat, 18 Feb 2012 17:34:44 +0530 (IST) From: santhosh kotte Subject: Axis 1.1(Java): Problem with missing namespace prefix in SOAP Body To: java-user@axis.apache.org, axis-user@ws.apache.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="1031316701-1162109983-1329566684=:57781" X-Virus-Checked: Checked by ClamAV on apache.org --1031316701-1162109983-1329566684=:57781 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hello=20 I am using Axis 1.1 to call a web service. While converting=0A a=A0 org.w3c.dom.Element into a org.apache.axis.message= .SOAPBodyElement =0Athe namespace prefix present in the Element is being re= moved. Eg: Following is the Element When it is converted into=A0 SOAPBodyElement it becomes I am using the following constructor to create SOAPBodyElement from Element= type. SOAPBodyElement sle=3Dnew SOAPBodyElement(bodyElement); where bodyElement is the Element type. The second issue is that the multiple namespace prefixes are generated for = the same namespace URI when the Element type is converted to SOAPBodyElemen= t type. Eg: xmlns:x=3D"http://xyz" xmlns:y=3D"http://xyz" xmlns:z=3D"http://xyz" Can anyone please help me in resolving this issue? Thanks in advance santhosh --1031316701-1162109983-1329566684=:57781 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
Hello
I am using Axis 1.1 to call a web s= ervice.
While converting=0A a  org.w3c.dom.Element into a org.apach= e.axis.message.SOAPBodyElement =0Athe namespace prefix present in the Eleme= nt is being removed.
Eg:
Following is the Element
<ns:Extend xm= lns:ns=3D"http://xyz" ></ns:Extend>
When it is converted into&n= bsp; SOAPBodyElement it becomes
<Extend></Extend>

I a= m using the following constructor to create SOAPBodyElement from Element ty= pe.
SOAPBodyElement sle=3Dnew SOAPBodyElement(bodyElement);
where bod= yElement is the Element type.

The second issue is that the multiple = namespace prefixes are generated for the same namespace URI when the Elemen= t type is converted to SOAPBodyElement type.
Eg:
xmlns:x=3D"http://xy= z"
xmlns:y=3D"http://xyz"
xmlns:z=3D"http://xyz"

Can anyone pl= ease help me in resolving this issue?

Thanks in advance
santhosh<= /td>
--1031316701-1162109983-1329566684=:57781--