Given below is portion of XSD for my enum type which is generated from my java class. The Error I get is here , any ideas why this would happen. Thanks in advance. Pranav.
<!-- Do not know how to create a sample instance for this part due to the following exception:java.lang.InstantiationException: TestPeriodType. Pls replace this with the correct XML before invoking the service. --->