portType.addOperation(bindingOperation.getOperation());
binding.setPortType(portType);
Port port = definition.createPort();
port.setName("MockPort");
//add soap:address
SOAPAddress soapAddress = (SOAPAddress) extensionRegistry.createExtension(Port.class, new QName("http://schemas.xmlsoap.org/wsdl/soap/", "address"));
soapAddress.setLocationURI("http://127.0.0.1:8080/foo");
port.addExtensibilityElement(soapAddress);
port.setBinding(binding);
javax.wsdl.Service service = definition.createService();
service.setQName(new QName(NAMESPACE, "MockService"));
service.addPort(port);