Search in sources :

Example 1 with XService

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;
}
Also used : XDef(org.apache.cxf.tools.validator.internal.model.XDef) XService(org.apache.cxf.tools.validator.internal.model.XService)

Aggregations

XDef (org.apache.cxf.tools.validator.internal.model.XDef)1 XService (org.apache.cxf.tools.validator.internal.model.XService)1