You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by bu...@apache.org on 2003/12/05 09:30:06 UTC

DO NOT REPLY [Bug 22213] - Axis 1.1 array deserialization: SAXException Invalid element

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22213>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22213

Axis 1.1 array deserialization: SAXException Invalid element

oskari.pirttikoski@posti.fi changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |



------- Additional Comments From oskari.pirttikoski@posti.fi  2003-12-05 08:30 -------
Glen, I tried your Tester.java and it fails on my machine:

log4j:WARN No appenders could be found for logger (org.apache.axis.i18n.ProjectR
esourceBundle).
log4j:WARN Please initialize the log4j system properly.
Exception in thread "main" org.xml.sax.SAXException: Invalid element in
net.xyz.www.schemas.arraytest.innerdata._1_0.InnerDataType - innerDataType
        at
org.apache.axis.encoding.ser.BeanDeserializer.onStartChild(BeanDeserializer.java:260)
        at
org.apache.axis.encoding.DeserializationContextImpl.startElement(DeserializationContextImpl.java:1040)
        at
org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:198)
        at
org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:856)
        at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:325)
        at org.apache.axis.message.RPCElement.getParams(RPCElement.java:349)
        at Tester.main(Tester.java:125)


I have checked out the latest code and compiled it. For co I used the following
command:

    cvs -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic checkout ws-axis

Is this the right module? 

I generated the client classes with the following command:

    %JAVA_HOME%\bin\java -cp %MY_CP% org.apache.axis.wsdl.WSDL2Java -v -t -o
client-axis11patched %WSDL_FILE%

, where MY_CP contains the jars from cvs module java/build/lib, java/lib and
xerces-2_2_1 and jaf 1.0.2 jars. WSDL_FILE is the same as attached here earlier.

Do you have any suggestios for further testing?

Thanks for your work and all the best!

-Oskari