I am trying to generate Java code from WSDL. Axis2 generates ..Stub.java which is having a variable which is not declared anywhere in the file. So compiler give error. I realized that it is problem with data type "anySimpleType". When I change this type to DateTime, it works fine. How we can work with "AnySimpletype" data type. Please help. I am using Axis2-1.5.3.