port.addExtensibilityElement(soapAddress);
port.setBinding(binding);
javax.wsdl.Service service = definition.createService();
service.setQName(new QName(NAMESPACE, "MockService"));
service.addPort(port);
definition.addService(service);
return definition;
}
private BindingOperation buildBindingOperation(Definition definition, ExtensionRegistry extensionRegistry) throws WSDLException {
Operation operation = definition.createOperation();