* be delegated directly. In this sample, the metadata is represented by the two WSDL files (CustomerInfo and PurchaseOrderInfo).
* Hence, we simply retrieve those files and return their corresponding port types.
*/
ArrayList portTypes = new ArrayList();
try {
WSIFServiceImpl.addExtensionRegistry(new MyEISExtensionRegistry());
WSIFServiceImpl.addExtensionRegistry(new org.apache.wsif.wsdl.extensions.format.FormatExtensionRegistry());
WSIFServiceImpl.addExtensionRegistry(new org.apache.wsif.wsdl.extensions.java.JavaExtensionRegistry());
// load all definitions
ArrayList definitions = new ArrayList();
Definition definition = WSIFUtils.readWSDL(null, "com/myeis/services/CustomerInfo.wsdl", this.getClass().getClassLoader());