Try something like that in your ant task: <axis-java2wsdl ...> <complextype classname="my.package.MyException" namespace="urn:my.namespace" /> ... </axis-java2wsdl>
Christophe > -----Original Message----- > From: Gerlach, Daryl CTR (NAVSISA Code 942) > [mailto:[EMAIL PROTECTED] > Sent: Friday, August 27, 2004 4:37 PM > To: [EMAIL PROTECTED] > Subject: Java2WSDL Error - Please register a typemapping/beanmapping for > > I have an existing application that I am attempting to turn into a web > service. I am using Axis 1.2 beta Java2WSDL using Document/Literal > settings to generate the WSDL from Java source. The methods return custom > exceptions. When I run Java2WSDL I get the following error message: > > Please register a typemapping/beanmapping for 'my.package.MyException' > > Where and how I a register this custom exception type? > > MyException extends java.lang.Exception > > Daryl E. Gerlach