bindingInfo.getService().setDescription(description); bindingInfo.getService().getDescription().addExtensor(uel);
uee.setRequired(true); uee.setElementType(DOMUtils.getElementQName(element)); service.getDescription().addExtensor(uee);
uee.setRequired(true); uee.setElementType(DOMUtils.getElementQName(element)); service.getDescription().addExtensor(uee);
uee.setRequired(true); uee.setElementType(DOMUtils.getElementQName(element)); service.getDescription().addExtensor(uee);
bindingInfo.getService().setDescription(description); bindingInfo.getService().getDescription().addExtensor(uel);
private void addPolicy(PolicyAttachment pa) { // TODO - do I need to defensively copy this? Element policyEl = pa.getElement(); UnknownExtensibilityElement uee = new UnknownExtensibilityElement(); uee.setRequired(true); uee.setElementType(DOMUtils.getElementQName(policyEl)); uee.setElement(policyEl); if (ei.getService().getDescription() == null) { DescriptionInfo description = new DescriptionInfo(); description.setName(ei.getService().getName()); if (!StringUtils.isEmpty(ei.getAddress())) { description.setBaseURI(ei.getAddress() + "?wsdl"); } ei.getService().setDescription(description); } ei.getService().getDescription().addExtensor(uee); } }
private void addPolicy(PolicyAttachment pa) { // TODO - do I need to defensively copy this? Element policyEl = pa.getElement(); UnknownExtensibilityElement uee = new UnknownExtensibilityElement(); uee.setRequired(true); uee.setElementType(DOMUtils.getElementQName(policyEl)); uee.setElement(policyEl); if (ei.getService().getDescription() == null) { DescriptionInfo description = new DescriptionInfo(); description.setName(ei.getService().getName()); if (!StringUtils.isEmpty(ei.getAddress())) { description.setBaseURI(ei.getAddress() + "?wsdl"); } ei.getService().setDescription(description); } ei.getService().getDescription().addExtensor(uee); } }