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

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

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

WebServiceEndpoint.getServiceName介绍

暂无

代码示例

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

writer.write(endpoint.getServiceName().getNamespaceURI());
writer.write("']/wsdl:service[@name='");
writer.write(endpoint.getServiceName().getLocalPart());
writer.write("']/wsdl:port[@name='");
writer.write(endpoint.getWsdlPort().getLocalPart());

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

public DeployedEndpointData(String path, Application app, WebServiceEndpoint endpoint) {
  super(path, "", "");
  this.appName = app.getAppName();
  this.endpointName = endpoint.getEndpointName();
  this.namespace = endpoint.getServiceName().getNamespaceURI();
  this.serviceName = endpoint.getServiceName().getLocalPart();
  QName pName = endpoint.getWsdlPort();
  this.portName = (pName != null) ? pName.getLocalPart() : "";
  this.implClass = endpoint.implementedByEjbComponent()
      ? endpoint.getEjbComponentImpl().getEjbImplClassName()
      : endpoint.getServletImplClass();
  this.address = path;
  this.wsdl = address+"?wsdl";
  this.tester = address+"?Tester";
  this.implType = endpoint.implementedByEjbComponent() ? "EJB" : "SERVLET";
  this.deploymentType = "109";
  fillStatMap();
}

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

Class seiClass = Thread.currentThread().getContextClassLoader().loadClass(seiClassName);
  if(seiClass.getAnnotation(javax.jws.WebService.class) == null) {
    testerNotSupportedError(myEndpoint.getDescriptor().getServiceName(), out);
    return;
          myEndpoint.getDescriptor().getServiceName().getLocalPart()+" "+
          localStrings.getLocalString(
      "enterprise.webservice.monitoring.title",
          "Web Service Tester") + "</TITLE></HEAD>");
out.print("<BODY><H1>"+
          myEndpoint.getDescriptor().getServiceName().getLocalPart()+" "+
          localStrings.getLocalString(
      "enterprise.webservice.monitoring.title",

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

public void configureJAXWSServiceHandlers(WebServiceEndpoint ep, 
    String bindingId, WSBinding bindingObj) {
  // No handler chains; do nothing
  if(!ep.hasHandlerChain()) {
    return;
  }
  LinkedList handlerChainList = ep.getHandlerChain();
  List<Handler> finalHandlerList = new ArrayList<Handler>();
  Set<String> roles = new HashSet();
  for(Iterator<WebServiceHandlerChain> i = handlerChainList.iterator(); i.hasNext();) {
    WebServiceHandlerChain hc = i.next();
    // Apply the serviceName / portName / bindings filter to ensure
    // that the handlers are for this endpoint
    if(!patternsMatch(hc, ep.getServiceName(), ep.getWsdlPort(), bindingId)) {
      continue;
    }
    // OK - this handler has to be configured for this endpoint
    // Iterate through all handlers that have been configured
    List<Handler> handlerInfo = processConfiguredHandlers(hc.getHandlers(), roles);
    finalHandlerList.addAll(handlerInfo);
  }
  // Processing of all handlers over; 
  // set final list of handler in RuntimeEndpointInfo
  bindingObj.setHandlerChain(finalHandlerList);
  // Set soap roles for soap bindings only
  if(bindingObj instanceof javax.xml.ws.soap.SOAPBinding) {
    ((javax.xml.ws.soap.SOAPBinding)bindingObj).setRoles(roles);
  }        
}

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

endpointInfo.setPortName(endpoint_.getWsdlPort());
endpointInfo.setServiceName(endpoint_.getServiceName());

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

endpoint.getServiceName(), // the service QName

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

endpoint.getServiceName(), // the service QName

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

endpoint.getTransportGuarantee());
QName serviceName = endpoint.getServiceName();
if( serviceName != null ) {
  Node serviceQnameNode = appendChild

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

endpoint.getTransportGuarantee());
QName serviceName = endpoint.getServiceName();
if( serviceName != null ) {
  Node serviceQnameNode = appendChild

相关文章

WebServiceEndpoint类方法