I am very frustrated on this issue.  I found in the archives someone who said that call.registerTypeMapping needed to be called for the array types – I checked and the generated calls do invoke that method.  I tried removing the “urn:” prefix (another suggestion), that also didn’t help.  Does anyone have any ideas about how I can get past this???

 

Thanks,

Michael

 

-----Original Message-----
From: Allen, Michael E.
Sent: Wednesday, March 26, 2003 1:52 PM
To: [EMAIL PROTECTED]
Subject: No deserializer defined for array type...

 

I am getting the following exception thrown from a very simple program I am using to test the classes generated by WSDL2Java:

 

- Exception:

org.xml.sax.SAXException: No deserializer defined for array type AcnInfoRow

        at org.apache.axis.encoding.ser.ArrayDeserializer.onStartElement(ArrayDeserializer.java:303)

        at org.apache.axis.encoding.DeserializerImpl.startElement(DeserializerImpl.java:428)

        at org.apache.axis.encoding.DeserializationContextImpl.startElement(DeserializationContextImpl.java:934)

        at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:198)

        at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:699)

        at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:224)

        at org.apache.axis.message.RPCElement.getParams(RPCElement.java:331)

        at org.apache.axis.client.Call.invoke(Call.java:2200)

        at org.apache.axis.client.Call.invoke(Call.java:2099)

        at org.apache.axis.client.Call.invoke(Call.java:1622)

        at schaat_allenm.ACNInfoWebServer_wsdl.ACNInfoWebServerBindingStub.getTable(ACNInfoWebServerBindingStub.java:259)

        at schaat_allenm.TestInfoService.main(TestInfoService.java:33)

 

 

This is weird to me, because the generated code contains the following lines:

            qName = new javax.xml.namespace.QName("urn:acn-infoserver-webservice", "ArrayOfAcnInfoRow");

            cachedSerQNames.add(qName);

            cls = acn_infoserver_webservice.AcnInfoRow[].class;

            cachedSerClasses.add(cls);

            cachedSerFactories.add(arraysf);

            cachedDeserFactories.add(arraydf);

…which is what I would have thought was missing.  Any help or insights would be very much appreciated!

 

Thanks,

Michael

====================

Michael E. Allen

[EMAIL PROTECTED]

(847)605-5129

 

Reply via email to