Beispiel #1
0
  protected String getDefinition(T modelItem) {
    if (modelItem == null) return "";
    WsdlInterface iface = (WsdlInterface) modelItem;
    String definition = PathUtils.expandPath(iface.getDefinition(), iface);
    if (definition.startsWith("file:")) definition = definition.substring(5);

    return definition;
  }
Beispiel #2
0
  protected void initWSDL(StringToStringMap values, WsdlInterface iface) {
    boolean cached = iface.isCached();
    if (useCached != null) useCached.setEnabled(cached);

    if (!values.containsKey(CACHED_WSDL)) values.put(CACHED_WSDL, Boolean.toString(cached));

    if (values.getBoolean(CACHED_WSDL) || !values.hasValue(WSDL))
      values.put(WSDL, PathUtils.expandPath(iface.getDefinition(), iface));
  }