Hi Does anyone have a solution to this issue? I also have one more issue where multiple namespace prefixes are created for the same namespace URI. Eg: xmlns:x="http;//abc.com" xmlns:y="http;//abc.com" xmlns:z="http;//abc.com"
This issue is also seen when coverting an Element type into SOAPBodyElement. --- On Wed, 15/2/12, Andreas Veithen <andreas.veit...@gmail.com> wrote: From: Andreas Veithen <andreas.veit...@gmail.com> Subject: Re: Axis 1.4 Java:Problem with missing namespace prefix in SOAP Body To: java-user@axis.apache.org Cc: axis1-java-u...@axis.apache.org Date: Wednesday, 15 February, 2012, 10:50 AM Are you using Axis 1.4 (as you wrote in the subject) or 1.1 (as you wrote in the body of the mail)? Andreas On Wed, Feb 15, 2012 at 18:39, santhosh kotte <santhoshko...@yahoo.com> wrote: > > Hello > I am using Axis 1.1 to call a web service. > While converting a org.w3c.dom.Element into a > org.apache.axis.message.SOAPBodyElement the namespace prefix present in the > Element is being removed. > Eg: > Following is the Element > <ns:Extend xmlns:ns="http://xyz" ></ns:Extend> > When it is converted into SOAPBodyElement it becomes > <Extend></Extend> > > I am using the following constructor to create SOAPBodyElement from Element > type. > SOAPBodyElement sle=new SOAPBodyElement(bodyElement); > where bodyElement is the Element type. > > Can anyone please help me in resolving this issue? --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org For additional commands, e-mail: java-user-h...@axis.apache.org