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 Egger Oliver <ol...@ecofin.ch> on 2002/02/18 17:26:41 UTC
axis nighly build exception: No deserializer defined for array ty
pe
Hello,
I changed form Axis alpha 3 to Axis nightly build because of name spaces
packaging problem.
I was able to run the axis server nightly build and as a client axis alpha3
(I had to manually
add manually code for the bean serialization), however if I want to
upgrade the client also to Axis nightly build I get the following error,
when I run the emitted
Testcase from WSDL2Java utitlity:
Remote Exception caught: org.xml.sax.SAXException: No deserializer defined
for array type urn:ecofin.quoteserver.types:IndizeSummaryBean
When I look into the codes IndizeSummaryBean have been added in the call
before the Testcase starts: I changed also that ArrayOf_tns... was in
urn:ecofin.quoterserver.types namespace (in the wsdl) but that did not
change the result:
qName = new
javax.xml.rpc.namespace.QName("urn:ecofin.quoteserver",
"ArrayOf_tns1_IndizeSummaryBean");
cachedSerQNames.add(qName);
cls = com.ecofin.vk.beans.IndizeSummaryBean[].class;
cachedSerClasses.add(cls);
cachedSerFactories.add(arraysf);
cachedDeserFactories.add(arraydf);
qName = new
javax.xml.rpc.namespace.QName("urn:ecofin.quoteserver.types",
"IndizesSumCollectionBean");
cachedSerQNames.add(qName);
cls = com.ecofin.vk.beans.IndizesSumCollectionBean.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(beansf);
cachedDeserFactories.add(beandf);
qName = new
javax.xml.rpc.namespace.QName("urn:ecofin.quoteserver.types",
"IndizeSummaryBean");
cachedSerQNames.add(qName);
cls = com.ecofin.vk.beans.IndizeSummaryBean.class;
cachedSerClasses.add(cls);
cachedSerFactories.add(beansf);
cachedDeserFactories.add(beandf);
Please find attached the WSDL file (generated by Java2WSDL utitly and
modified by hand for namespaces/packages).
Any help or hints are greatly appreciated.
Best,
Oliver
NEU: NZZ finfox, personal finance, die finanz- und
vermögensplanung für private http://finfox.nzz.ch <http://finfox.nzz.ch/>
ECOFIN Research and Consulting AG
Neumuensterallee 6
CH-8032 Zuerich
+41 1 389 65 29
oliver.egger@ecofin.ch
www.ecofin.ch <http://www.ecofin.ch/>