Writing a Descritor object is as simple as reading it:
WSDL2Factory factory = WSDL2Factory.newInstance(); WSDL2Writer writer = factory.getWSLD2Writer(); writer.write(description, new StreamResult(System.out));
This code writes the description object into java console.
Similar way it can be serialized into any other javax.xml.transform.Result.