public class Person { private String name; private int age; public String getName() { return this.name; } public void setName(String name) { this.name = name; } public int getAge() { return this.age; } public void setAge(int age) { this.age = age; } } // Create a TypeDesc object for the Person class TypeDesc personTypeDesc = new TypeDesc(Person.class); // Add properties to the TypeDesc object personTypeDesc.addFieldDesc(new FieldDesc("name", FieldDesc.STRING)); personTypeDesc.addFieldDesc(new FieldDesc("age", FieldDesc.INT)); // Use the TypeDesc object in the context of a web service Service service = new Service(); Call call = (Call) service.createCall(); call.setTargetEndpointAddress(new URL("http://localhost:8080/myservice")); call.setOperationName(new QName("myMethod")); call.addParameter("person", personTypeDesc, ParameterMode.IN);In this example, we create a TypeDesc object for the Person class and add two properties for name and age. We then use this TypeDesc object in the context of a web service call. The package for the org.apache.axis.description.TypeDesc class is part of the Apache Axis library.