use of org.apache.cxf.tools.validator.internal.model.XService in project cxf by apache.
the class WSDLRefValidator method getXNode.
private XNode getXNode(Service service) {
XDef xdef = new XDef();
xdef.setTargetNamespace(service.getQName().getNamespaceURI());
XService sNode = new XService();
sNode.setName(service.getQName().getLocalPart());
sNode.setParentNode(xdef);
return sNode;
}