Till,

yup, that does the job.  Thank you!

Andrew

At 07:25 PM 5/3/2002 +0200, you wrote:
>I had this question long time ago, I cannot remember the complete answer, 
>but you should use
>
>String foo = (String)xxx.getObjectValue()
>
>Hope this helps...
>
>Till
>
>
> > -----Urspr�ngliche Nachricht-----
> > Von: Andrew Vardeman [mailto:[EMAIL PROTECTED]]
> > Gesendet: Freitag, 3. Mai 2002 19:16
> > An: [EMAIL PROTECTED]
> > Betreff: 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
> >
> >
> >



Reply via email to