Hi Sylvain!

> I am running into a situation where my server returns me a 
> SOAPHeader node
> like: 
> <CAM xmlns="http://developer.cognos.com/schemas/bibus/2/";>
> 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="http://developer.cognos.com/schemas/bibus/2/";>
> 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. :)

--Glen

Reply via email to