On Tue, Sep 22, 2009 at 12:16 PM, Sebastian Schneider < schnei...@dvz.fh-aachen.de> wrote:
> Hello everybody, > > I got a question regarding the naming of parameters and exceptions in the > generated stub code for the client. Why are numbers added to the parameter > names? > > For example, if my service method looked like findUserByName(String name) > after generating the stub client from the WSDL file I would find a method > findUserByName(String name12) or something in the stub. What is the reason > for this and can this behaviour be disabled? > this is a technique done to avoid any possible compilation issues. > > I still do not have found out why sometimes the word "Exception" is added > to custom Exception classes and sometimes it is not?? If I have an > Exception-class called MyException in the service implementation I sometimes > find an inner class in the service stub which is called MyExceptionException > instead of MyException > if there is an wsd:fault message for an operation it generates an exception class for that which has the sufix 'Exception'. But if you have a schema element with the name MyException it generates an ADB class for that and does not add a sufix. thanks, Amila. > > I am using Axis2-1.5. Data binding is done by ADB. > > Thank your for any hints and explainations regarding this. > > Best regards, > Sebastian > -- Amila Suriarachchi WSO2 Inc. blog: http://amilachinthaka.blogspot.com/