Hi,
I'm calling a webservice that returns XML elements without a namespace.
Is there any way I can specify a default namespace to use when none is
specified in the returned XML? Now I get a:
Caused by: org.apache.axis2.databinding.ADBException: Unexpected subelement
lfm
at gennedservice.GeoStub$Lfm$Factory.parse(GeoStub.java:1319)
because the following check fails:
new
javax.xml.namespace.QName("http://net/bzzt/lastfmlib/model/geo/getEvents","lfm").equals(reader.getName())
which is because the namespace of the element in the reader is 'null'.
Kind regards,
Arnout
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]