本文整理了Java中com.sun.enterprise.deployment.WebService.getType()
方法的一些代码示例,展示了WebService.getType()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WebService.getType()
方法的具体详情如下:
包路径:com.sun.enterprise.deployment.WebService
类名称:WebService
方法名:getType
暂无
代码示例来源:origin: org.glassfish.webservices/jsr109-impl
boolean jaxrpcEndPtFound = false;
String declaredType = ws.getType();
if(declaredType != null) {
if(declaredType.equals("JAX-WS")) {
代码示例来源:origin: org.glassfish.deployment/dol
public Node writeDescriptor(Node parent, String nodeName,
WebService descriptor) {
Node topNode =
super.writeDescriptor(parent, nodeName, descriptor);
//TODO is this needed?
//writeDisplayableComponentInfo(topNode, descriptor);
appendTextChild(topNode,
WebServicesTagNames.WEB_SERVICE_DESCRIPTION_NAME,
descriptor.getName());
appendTextChild(topNode, WLWebServicesTagNames.WEBSERVICE_TYPE,
descriptor.getType());
appendTextChild(topNode, WLWebServicesTagNames.WSDL_PUBLISH_FILE,
descriptor.getClientPublishUrl().toString());
WLWebServiceEndpointNode endpointNode = new WLWebServiceEndpointNode();
for (WebServiceEndpoint next : descriptor.getEndpoints()) {
endpointNode.writeDescriptor
(topNode, WebServicesTagNames.PORT_COMPONENT, next);
}
return topNode;
}
代码示例来源:origin: org.glassfish.main.deployment/dol
public Node writeDescriptor(Node parent, String nodeName,
WebService descriptor) {
Node topNode =
super.writeDescriptor(parent, nodeName, descriptor);
//TODO is this needed?
//writeDisplayableComponentInfo(topNode, descriptor);
appendTextChild(topNode,
WebServicesTagNames.WEB_SERVICE_DESCRIPTION_NAME,
descriptor.getName());
appendTextChild(topNode, WLWebServicesTagNames.WEBSERVICE_TYPE,
descriptor.getType());
if (descriptor.getClientPublishUrl() != null) {
appendTextChild(topNode, WLWebServicesTagNames.WSDL_PUBLISH_FILE,
descriptor.getClientPublishUrl().toString());
}
WLWebServiceEndpointNode endpointNode = new WLWebServiceEndpointNode();
for (WebServiceEndpoint next : descriptor.getEndpoints()) {
endpointNode.writeDescriptor
(topNode, WebServicesTagNames.PORT_COMPONENT, next);
}
return topNode;
}
内容来源于网络,如有侵权,请联系作者删除!