Hi, I am having problems creating my first client side stubs (axis2 1.6.0 with service and code generator wizards). I am using a simple class:
package com.wsexample; public class Temp { public double c2fConvertion(double cValue) { return ((cValue * 9.0)/5.0 )+ 32.0; } public double f2cConvertion(double fValue) { return ((fValue - 32.0) * 5.0) / 9.0; } } and after correctly creating wsdl, when I try to use the wizard wdsl2java to create the client stub there is one error on the generated TempStub: public class TempStub extends org.apache.axis2.client.Stub implements Temp{ protected org.apache.axis2.description.AxisOperation[] _operations; ... "The type Temp cannot be a superinterface of TempStub; a superinterface must be an interface" The wizard is using the simple class Temp as an interface, so the generated stub is incorrect ¿?. Some examples I have found on internet have succeded creating client stub from simple java class as Temp. Has anyone any idea what's is going on? Regards Javier