code: public Object createMarshallableObject()
      {
          wsdlFactory = new org.w3._2006._01.wsdl.ObjectFactory();
          
          // create a wsdl object
          DescriptionType descriptionType = wsdlFactory.createDescriptionType();
          JAXBElement<DescriptionType> root = wsdlFactory.createDescription(descriptionType);
          String targetNamespace = this.getNamespace();  // Location of this document
          descriptionType.setTargetNamespace(targetNamespace);
          
          // Create the service type
          this.addServiceType(descriptionType);
          
          // Create the bindings type
          this.addBindingType(descriptionType);
          
          // Create the interface type
          this.addInterfaceType(descriptionType);
          
          // Create the types (import the OTA specs)
          this.addTypeTypes(descriptionType);
          
          return root;
      }
docs: CreateMarshallableObject Method.