Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 37051 invoked from network); 27 Aug 2004 21:02:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 27 Aug 2004 21:02:30 -0000 Received: (qmail 74893 invoked by uid 500); 27 Aug 2004 21:02:17 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 74874 invoked by uid 500); 27 Aug 2004 21:02:16 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 74865 invoked by uid 99); 27 Aug 2004 21:02:16 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.216.91.20] (HELO chordiant.com) (192.216.91.20) by apache.org (qpsmtpd/0.27.1) with ESMTP; Fri, 27 Aug 2004 14:02:14 -0700 Received: from ponyxpress.chordiant.com ([10.88.0.23]) by chordiant.com (8.11.7p1+Sun/8.11.6) with ESMTP id i7RL2CC23175 for ; Fri, 27 Aug 2004 14:02:13 -0700 (PDT) X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0 Content-class: urn:content-classes:message Subject: RE: Java2WSDL Error - Please register a typemapping/beanmapping for Date: Fri, 27 Aug 2004 14:02:12 -0700 MIME-Version: 1.0 Message-ID: <56D531FDDAF8874FBB61747D8C49CE6D8789@ponyxpress.chordiant.com> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Java2WSDL Error - Please register a typemapping/beanmapping for Thread-Index: AcSMdPSVgD/yzA1dRIe1wyINaSw9nAAAg+6A From: "Sagar Pidaparthi" To: X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N If you don't use an ant task here is a possible solution. Edit and copy the following line to your Server-config.wsdd and restart your server. here is another example =09 languageSpecificType=3D"java:com.c.bs.cib.Customer" It is also possible to auto generate all the required mappings using wsdl2java command to wsdd file and then use deploy command to copy the mapping to server-config file. You may find it easier to edit server-config.wsdd if you are dealing with just one case. I hope this helps. Sagar Ps: Please find below the relevant documentation about adding beenmapping information to your server-config file.___________________________________________ Encoding Your Beans - the BeanSerializer Axis includes the ability to serialize/deserialize, without writing any code, arbitrary Java classes which follow the standard JavaBean pattern of get/set accessors. All you need to do is tell Axis which Java classes map to which XML Schema types. Configuring a bean mapping looks like this: The tag maps a Java class (presumably a bean) to an XML QName. You'll note that it has two important attributes, qname and languageSpecificType. So in this case, we'd be mapping the "my.java.thingy" class to the XML QName [someNamespace]:[local]. -----Original Message----- From: Gerlach, Daryl CTR (NAVSISA Code 942) [mailto:daryl.gerlach@navy.mil]=20 Sent: Friday, August 27, 2004 1:37 PM To: axis-user@ws.apache.org 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