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.

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

Reply via email to