// Using the "find" method, we can access to any extension specific methods
org.ow2.easywsdl.extensions.sawsdl.api.Description sawsdlDesc = null;
sawsdlDesc = desc.find(SAWSDLFactory.newInstance());
System.out.println(sawsdlDesc.getModelReference().toString());
// If an unexpected extension is called, the MultipleExtension plugin will
// add new methods automatically to the main description
org.ow2.easywsdl.extensions.wsdl4bpel.api.Description wsdl4bpelDesc = null;
wsdl4bpelDesc = desc.find(WSDL4BPELFactory.newInstance());
System.out.println(wsdl4bpelDesc.getPartnerLinkTypes().get(0).getQName());
// Of course, this second "find" call will take more time than the first

That's all!

Working with Maven2

The artifacts are available as Maven2 modules, you can add easyWSDL to your project POM like this