axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fred Preston <PREST...@uk.ibm.com>
Subject AXISCPP-118 : Rename AxisClientException
Date Wed, 11 Aug 2004 13:24:03 GMT




Hi All,
      I've been working on a solution to this problem.  Currently, all stub
exceptions use the AxisClientException class, but if more than one stub is
used by an application, it is difficult to know where the exception
originated because all you will get back is a AxisClientException.  By
prefixing the WSDL service name to the exception class, it resolves the
issue of who threw the exception.  e.g  If the WSDL service name is
'Calculator' then the AxisClientException class that would have been
created by WSDL2WS, will now be named Calculator_AxisClientException (both
class and filename).

org\apache\axis\wsdl\wsdl2ws
(See attached file: BasicFileWriter.java.diff)

org\apache\axis\wsdl\wsdl2ws\c
(See attached file: WrapWriter.java.diff)(See attached file:
BeanParamWriter.java.diff)

org\apache\axis\wsdl\wsdl2ws\c\literal

(See attached file: WrapWriter.java.diff)(See attached file:
BeanParamWriter.java.diff)(See attached file:
ClientStubHeaderWriter.java.diff)(See attached file:
ClientStubWriter.java.diff)(See attached file:
ParmHeaderFileWriter.java.diff)(See attached file: ServiceWriter.java.diff)
(See attached file: WrapHeaderWriter.java.diff)(See attached file:
ArrayParamWriter.java.diff)

org\apache\axis\wsdl\wsdl2ws\cpp

(See attached file: WrapWriter.java.diff)(See attached file:
ClientStubHeaderWriter.java.diff)(See attached file:
ClientStubWriter.java.diff)(See attached file:
CPPExceptionClassWriter.java.diff)(See attached file:
ExceptionHeaderWriter.java.diff)(See attached file:
ExceptionWriter.java.diff)(See attached file: HeaderFileWriter.java.diff)
(See attached file: ParamCPPFileWriter.java.diff)(See attached file:
ParmHeaderFileWriter.java.diff)(See attached file:
ServiceHeaderWriter.java.diff)(See attached file: ServiceWriter.java.diff)
(See attached file: WrapHeaderWriter.java.diff)(See attached file:
ArrayParamWriter.java.diff)

org\apache\axis\wsdl\wsdl2ws\cpp\literal

(See attached file: WrapWriter.java.diff)(See attached file:
BeanParamWriter.java.diff)(See attached file:
ClientStubHeaderWriter.java.diff)(See attached file:
ClientStubWriter.java.diff)(See attached file:
ParmHeaderFileWriter.java.diff)(See attached file:
ServiceHeaderWriter.java.diff)(See attached file: ServiceWriter.java.diff)
(See attached file: WrapHeaderWriter.java.diff)(See attached file:
ArrayParamWriter.java.diff)

I need this code to become part of the build.  Can someone check it and add
it as soon as possible.

Regards,

Fred Preston.
Mime
View raw message