Splitting up into multiple services appears to have helped with the binding - still having problems but posted under different thread.
-----Original Message----- From: Amila Suriarachchi [mailto:[EMAIL PROTECTED] Sent: 08 September 2008 10:28 To: [email protected] Subject: Re: Exception class generated from wsdl2java (Axis2) extending custom exception use -ebc option. try with a nightly build. thanks, Amila. On Sun, Sep 7, 2008 at 10:43 AM, coolers16 < [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote: If we have a <wsdl:fault> element declared in the wsdl for an operation, the wsdl2java (from Axis2) would create a java artifact for the fault message that extends the java.lang.Exception. Is it possible that the the fault exception extends a business exception instead of java.lang.Exception? For example, the following fault message in a wsdl: <message name="SampleFaultMessage"> <part name="fault" element="tns:SampleFault"/> </message> upon running the wsdl2java utility will create the java file (SampleFaultMessage.java) as shown below. public class SampleFaultMessage extends java.lang.Exception{ } Let's say I have a bussiness exception called MyException.java. public class MyException extends java.lang.Exception{ } Is it possible through wsdl2java such that the SampleFaultMessage extends MyException as shown below. public class SampleFaultMessage extends MyException{ } Can the following above be possible by wsdl2java? In case this is not possible, could you please suggest us some workarounds or possible solution that we can accomplish this? Thanks in advance and really appreciate your help. -- View this message in context: http://www.nabble.com/Exception-class-generated-from-wsdl2java-%28Axis2%29-e xtending-custom-exception-tp19354457p19354457.html <http://www.nabble.com/Exception-class-generated-from-wsdl2java-%28Axis2%29- extending-custom-exception-tp19354457p19354457.html> Sent from the Axis - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> -- Amila Suriarachchi, WSO2 Inc. Thales UK Ltd (Wells) DISCLAIMER: The information contained in this e-mail is confidential. It may also be legally privileged. It is intended only for the stated addressee(s) and access to it by any other person is unauthorised. If you are not an addressee, you must not disclose, copy, circulate or in any other way use or rely on the information contained in this e-mail. Such unauthorised use may be unlawful. We may monitor all e-mail communications through our networks. If you have received this e-mail in error, please inform us immediately on +44 (0) 1749 672081 and delete it and all copies from your system. We accept no responsibility for changes to any e-mail which occur after it has been sent. Attachments to this e-mail may contain software viruses which could damage your system. We therefore recommend you virus-check all attachments before opening. A business of Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne Business Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No. 868273
