On Sat, Feb 18, 2012 at 13:04, santhosh kotte <santhoshko...@yahoo.com> wrote: > > Hello > I am using Axis 1.1 to call a web service.
You just said that you are using Axis 1.4. Can you clarify this please? > 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. > > The second issue is that the multiple namespace prefixes are generated for > the same namespace URI when the Element type is converted to SOAPBodyElement > type. > Eg: > xmlns:x="http://xyz" > xmlns:y="http://xyz" > xmlns:z="http://xyz" > > Can anyone please help me in resolving this issue? > > Thanks in advance > santhosh --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org For additional commands, e-mail: java-user-h...@axis.apache.org