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 Davanum Srinivas <di...@yahoo.com> on 2003/04/01 21:04:33 UTC

RE: DO NOT REPLY [Bug 18530] - org.xml.sax.SAXException: No deserializer defined for array type AcnInfoRow

NOW you have let the cat out of the bag <<<<<<<my server is written in gSoap and seems to be
working>>>>>>

The keyword here is "seems"......................... 

Here's what you need to do. Write a server using Axis (see my zip file in bugzilla) and deploy it
on tomcat. (Make sure you generate both the server and client using the same WSDL with WSDL2Java).
Run tcpmon to intercept the soap messages and compare it to what you get using gSOAP. THEN tweak
your gSOAP to conform. 

Thanks,
dims

--- "Allen, Michael E." <Mi...@ACNielsen.com> wrote:
> Dims,
> 
> I am sorry to be having so much trouble... I feel like I am missing some key
> idea.  I tried what you said, but still nothing is working.  When I run
> AdminClient on the generated deploy.wsdd, I get:
> $ java org.apache.axis.client.AdminClient deploy.wsdd
> - Processing file deploy.wsdd
> - Exception:
> AxisFault
>  faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Client
>  faultSubcode:
>  faultString: Method &apos;deployment&apos; not implemented
>  faultActor:
> [...]
> 
> Also, to run only the client software (my server is written in gSoap and
> seems to be working), do I need to put AcnInfoRow.class in the
> WEB-INF/classes directory? (I did... didn't seem to help)
> 
> If this is simply a matter of not reading enough of the documentation,
> please point me in the right direction.
> 
> Thanks,
> Michael
> 
> -----Original Message-----
> From: Davanum Srinivas [mailto:dims@yahoo.com]
> Sent: Monday, March 31, 2003 8:33 PM
> To: axis-dev@ws.apache.org
> Cc: Allen, Michael E.
> Subject: Re: DO NOT REPLY [Bug 18530] - org.xml.sax.SAXException: No
> deserializer defined for array type AcnInfoRow
> 
> Try starting with
> 1. A brand new tomcat 4.1.8.
> 2. Run Java2WSDL on the wsdl to generate both server and client
> 3. Don't use any other code other than the generated server and client.
> 
> Let us know. THIS is definitely a problem with your environment.
> 
> Thanks,
> dims
> 
> --- bugzilla@apache.org wrote:
> > 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=18530>.
> > 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=18530
> >
> > org.xml.sax.SAXException: No deserializer defined for array type
> AcnInfoRow
> >
> > Michael.Allen@ACNielsen.com changed:
> >
> >            What    |Removed                     |Added
> >
> ----------------------------------------------------------------------------
> >              Status|RESOLVED                    |REOPENED
> >          Resolution|WORKSFORME                  |
> >
> >
> >
> > ------- Additional Comments From Michael.Allen@ACNielsen.com  2003-04-01
> 01:47 -------
> > I have downloaded the tonight's build (Mar 31), copied the jar files both
> to
> > $CATALINA_HOME/common/lib and $CATALINA_HOME/webapps/axis/WEB_INF/lib,
> > recompiled (ie, ran WSDL2Java), and restarted Tomcat....
> >
> >
> > same exception thrown.  Could there be something about my CLASSPATH??
> Note that
> > I have even hard coded the application directory.
> >
> >
> >
> >
> > ======CLASSPATH=======
> >
> >
> > C:\local\home\Java;.;C:\My
> Documents\MyWeb\ServletDevelopment;C:\local\Apache-Gr
> >
> >
> >
> oup\Tomcat-4.1\common\lib\servlet.jar;C:\local\Apache-Group\Tomcat-4.1\commo
> n\li
> >
> >
> >
> b\xerces.jar;C:\local\Apache-Group\Tomcat-4.1\common\lib\axis.jar;C:\local\A
> pach
> >
> >
> >
> e-Group\Tomcat-4.1\common\lib\jaxrpc.jar;C:\local\Apache-Group\Tomcat-4.1\co
> mmon
> >
> >
> >
> \lib\log4j-1.2.4.jar;C:\local\Apache-Group\Tomcat-4.1\common\lib\commons-log
> ging
> >
> >
> >
> .jar;C:\local\Apache-Group\Tomcat-4.1\common\lib\wsdl4j.jar;C:\local\Apache-
> Grou
> >
> >
> >
> p\Tomcat-4.1\common\lib\commons-discovery.jar;C:\local\Apache-Group\Tomcat-4
> .1\c
> >
> >
> >
> ommon\lib\wsdl4j.jar;C:\local\Apache-Group\Tomcat-4.1\common\lib\saaj.jar;C:
> \loc
> >
> >
> >
> al\mysql\connector-java\mysql-connector-java-3.0.6-stable\mysql-connector-ja
> va-3
> >
> >
> >
> .0.6-stable-bin.jar;C:\local\OpenViz_23_eval\java\lib\openviz2.jar;C:\local\
> Open
> >
> >
> >
> Viz_23_eval\java\lib\jimi.jar;C:\local\OpenViz_23_eval\vizworks\java\lib\cha
> rts2
> >
> >
> > .jar
> >
> >
> > ======Exception======
> >
> >
> > - 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.HandTest.main(HandTest.java:61)
> >
> >
> > AxisFault: org.xml.sax.SAXException: No deserializer defined for array
> type
> > AcnInfoRow
> 
> 
> =====
> Davanum Srinivas - http://webservices.apache.org/~dims/
> 
> __________________________________________________
> Do you Yahoo!?
> 
=== message truncated ===


=====
Davanum Srinivas - http://webservices.apache.org/~dims/

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://platinum.yahoo.com