Definition def = WSIFUtils.readWSDL(null, wsdlLocation);
Service service = WSIFUtils.selectService(def, null, null);
PortType portType = WSIFUtils.selectPortType(def, null, null);
// Step 2: identify the operation (choose an
// appropriate service port)
WSIFServiceFactory factory = WSIFServiceFactory.newInstance();
WSIFService wsifService = factory.getService(def, service, portType);
// Get default port
String portName = "JavaPort";
WSIFPort port = wsifService.getPort(portName);
// WSIFPort was created correctly, so Java binding was registered
assertTrue("WSIFPort was created correctly", true);