You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Andrew Vardeman <an...@iastate.edu> on 2002/05/03 19:15:53 UTC

SOAPHeaderElement.getValue()

Hi.

Anyone understand the getValue() method of a SOAPHeaderElement?

I have a SOAPHeaderElement whose toString() method returns this:

<sessionId xsi:type="xsd:string" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">2</sessionId>

and when I run getValue() on it, I seem to be getting null.  Can getValue() 
not handle the namespace stuff, or do I misunderstand the method?  All I 
want to do is read that "2" as a string.  Is there some other method that 
will work?

Andrew