axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Glen Daniels <>
Subject RE: SOAPHeader - determining QName issue.
Date Thu, 02 May 2002 20:32:34 GMT

Hi Sylvain!

> I am running into a situation where my server returns me a 
> SOAPHeader node
> like: 
> <CAM xmlns="">
> which seems valid to me but the MessageElement constructor ends with
> typeQName=null which prevents me from retreiving the object.

That seems correct, since there's no xsi:type....  If you want the object as a particular
type (which you know out of band somehow), you can use getValueAsType().

> If the same node is returned as:
> <ns1:CAM xsi:type="ns1:CAM"
> xmlns:ns1="">
> then it is all good.
> I can probably have my provider to change their code so they 
> comply with
> Axis but I would like to know your though about this.

Sounds like you need some metadata about that header. :)


View raw message