Hi David, I have had this issue previously. Firstly, the complex type in the schema is where you set this up but there is a SERIOUS issue with the naming.
The Schema spec does not allow a $ character in a qname (it is not in the allowable range of legal characters). Axis does however ignore this (at lease Axis 1.1 does) and it does work fine. To get over this qname issue we had to remove all inner classes from our beans. This worked fine for us as well and was only slightly annoying (from an OO perspective). I could dig out some sections of my old WSDL and deployment files if you want, but be warned, due to this invalid character this may not work in future versions of Axis and they have been informed. As a point of interest my latest version of XMLSPY does not report an error with this character but an older version I found reported it as an error. Best practice for Web Services is DON'T use inner classes in serializable objects. Regards Steve Quoting Good David <[EMAIL PROTECTED]>: > Can anyone help with this issue? We have a number of beans which use static > inner classes instances internally. We have written a type-mapping entry > for the wsdd file (see below), but any attempt to deploy the webservice > produces a ClassNotFoundException for the static class. The classpath of > the axis war appears to be correct. Am I missing anything? > > <typeMapping > xmlns:ns="http://dto.afcl.cnflctsrch.pkc.axxia.com" > qname="ns:DTOEntitySrchResult_DTOEntitySrchResultDetails" > > type="java:com.axxia.pkc.cnflctsrch.afcl.dto.DTOEntitySrchResult$DTOEntitySr > chResultDetails" > serializer="org.apache.axis.encoding.ser.BeanSerializerFactory" > deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory" > encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > /> > <typeMapping > xmlns:ns="http://dto.afcl.cnflctsrch.pkc.axxia.com" > qname="ns:DTOEntitySrchResult" > type="java:com.axxia.pkc.cnflctsrch.afcl.dto.DTOEntitySrchResult" > serializer="org.apache.axis.encoding.ser.BeanSerializerFactory" > deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory" > encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" > /> > > David Good > Senior Software Engineer > > axxia Systems Limited > > TEL: +44 (0)118 960 2637 > FAX: +44 (0)118 960 2600 > E-MAIL:[EMAIL PROTECTED] > WEB: http://www.axxia.com > Axxia House, 4 The Pavilions, Ruscombe Business Park, Twyford, Berkshire, > United Kingdom. RG10 9NN > > E-MAIL DISCLAIMER > > The information in this e-mail and any attachment is confidential. It is > intended only for the named recipient(s). If you are not a named recipient > please notify the sender immediately and do not disclose the contents to > another person or take copies. Although Axxia Systems has taken every > reasonable precaution to ensure that any attachment to this e-mail has been > checked for viruses, it is strongly recommended that you carry out your own > virus check before opening any attachment, as we cannot accept liability for > any damage sustained as a result of software virus infection. Axxia Systems > reserves the right to monitor and record e-mails sent to axxia.com, and > senders of such messages shall be taken to consent to this. > > > > **************************************************************************** > E-MAIL DISCLAIMER > > The information in this e-mail and any attachment is confidential. > It is intended only for the named recipient(s). If you are not a > named recipient please notify the sender immediately and do not > disclose the contents to another person or take copies. Although > Axxia Systems has taken every reasonable precaution to ensure > that any attachment to this e-mail has been checked for viruses, > it is strongly recommended that you carry out your own virus > check before opening any attachment, as we cannot accept > liability for any damage sustained as a result of software virus > infection. Axxia Systems reserves the right and senders of > messages shall be taken to consent to the monitoring and > recording of e-mails addressed to axxia.com. > *************************************************************************** > >