axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Glen Daniels <gdani...@macromedia.com>
Subject RE: SOAPBodyElement & prefixes
Date Mon, 15 Oct 2001 17:46:15 GMT

Doug:

Mmm, this might be line 133 of MessageElement.java.  Does getTagName()
return the whole "m:list", perhaps?  Try switching that call to
elem.getLocalName() and see if the problem goes away (please check in the
change if so).

--Glen

> -----Original Message-----
> From: Doug Davis [mailto:dug@us.ibm.com]
> Sent: Monday, October 15, 2001 1:36 PM
> To: axis-dev@xml.apache.org
> Subject: SOAPBodyElement & prefixes
> 
> 
> I create a new SOAPBodyElement, passing in the root DOM
> Element from the following xml:
>   <m:list xmlns:m="AdminService"/>
> I then create a SOAPEnvelope using this SOAPBodyElement
> as a BodyElement and use the envelope to create a new
> Message object.
> When I send it across the wire, I see:
>   <ns3:m:list xmlns:xmlns:m="AdminService" xmlns:ns3="AdminService"
> xmlns:xmlns="http://www.w3.org/2000/xmlns/"/>
> I don't understand all of the deserialization stuff we have in
> the code, so Glen/Sam, do either of you know why Axis
> is adding the additional prefixes?
> -Dug
> 
> 

Mime
View raw message