com.sun.enterprise.deployment.WebService.hasWsdlFile()方法的使用及代码示例

x33g5p2x  于2022-02-03 转载在 其他  
字(2.2k)|赞(0)|评价(0)|浏览(128)

本文整理了Java中com.sun.enterprise.deployment.WebService.hasWsdlFile()方法的一些代码示例,展示了WebService.hasWsdlFile()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WebService.hasWsdlFile()方法的具体详情如下:
包路径:com.sun.enterprise.deployment.WebService
类名称:WebService
方法名:hasWsdlFile

WebService.hasWsdlFile介绍

暂无

代码示例

代码示例来源:origin: org.glassfish.deployment/dol

if( webService.hasWsdlFile() && (webService.getWsdlFileUrl()==null || forceWSDLURLs) ) {
  String wsdlFileUri = webService.getWsdlFileUri();
  URL wsdlFileURL=null;

代码示例来源:origin: org.glassfish.main.deployment/dol

if( webService.hasWsdlFile() && (webService.getWsdlFileUrl()==null || forceWSDLURLs) ) {
  String wsdlFileUri = webService.getWsdlFileUri();
  URL wsdlFileURL=null;

代码示例来源:origin: org.glassfish.main.deployment/dol

public String getGeneratedWsdlFilePath() {
  if (hasWsdlFile()) {
    String xmlDir = getBundleDescriptor().getApplication().getGeneratedXMLDirectory();
    if(!getBundleDescriptor().getModuleDescriptor().isStandalone()) {
      String uri = getBundleDescriptor().getModuleDescriptor().getArchiveUri();
      xmlDir = xmlDir + File.separator + uri.replaceAll("\\.", "_");
    }
    if(xmlDir == null) {
      return null;
    }
    return  xmlDir + File.separator + wsdlFileUri;
  } else {
    return getWsdlFileUrl().getPath();
  }
}

代码示例来源:origin: org.glassfish.deployment/dol

public String getGeneratedWsdlFilePath() {
  if (hasWsdlFile()) {
    String xmlDir = getBundleDescriptor().getApplication().getGeneratedXMLDirectory();
    if(!getBundleDescriptor().getModuleDescriptor().isStandalone()) {
      String uri = getBundleDescriptor().getModuleDescriptor().getArchiveUri();
      xmlDir = xmlDir + File.separator + uri.replaceAll("\\.", "_");
    }
    if(xmlDir == null) {
      return null;
    }
    return  xmlDir + File.separator + wsdlFileUri;
  } else {
    return getWsdlFileUrl().getPath();
  }
}

代码示例来源:origin: org.glassfish.webservices/jsr109-impl

logger.log(Level.SEVERE,"Error in resolving the catalog");
if (ws.hasWsdlFile()) {

代码示例来源:origin: org.glassfish.main.deployment/dol

if (!webService.hasWsdlFile()) {

代码示例来源:origin: org.glassfish.deployment/dol

if (!webService.hasWsdlFile()) {

代码示例来源:origin: org.glassfish.webservices/jsr109-impl

if (endpoint.getWebService().hasWsdlFile()) {

代码示例来源:origin: org.glassfish.webservices/jsr109-impl

if(endpoint.getWebService().hasWsdlFile()) {

相关文章