热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

org.apache.axis2.description.AxisEndpoint.setName()方法的使用及代码示例

本文整理了Java中org.apache.axis2.description.AxisEndpoint.setName()方法的一些代码示例,展示了Axis

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

AxisEndpoint.setName介绍

暂无

代码示例

代码示例来源:origin: org.apache.axis2/axis2-kernel

public static void addSoap12Endpoint(AxisService axisService, String protocol,
String endpointName) throws Exception {
AxisEndpoint httpSoap12Endpoint = new AxisEndpoint();
httpSoap12Endpoint.setName(endpointName);
httpSoap12Endpoint.setParent(axisService);
httpSoap12Endpoint.setTransportInDescription(protocol);
populateSoap12Endpoint(axisService, httpSoap12Endpoint, null);
axisService.addEndpoint(httpSoap12Endpoint.getName(), httpSoap12Endpoint);
}

代码示例来源:origin: org.apache.axis2/axis2-kernel

public static void addHttpEndpoint(AxisService axisService, String url) {
String protocol = org.apache.axis2.util.Utils.getURIScheme(url);
String httpEndpointName = getEndpointName(axisService, protocol, null);

AxisEndpoint httpEndpoint = new AxisEndpoint();
httpEndpoint.setName(httpEndpointName);
httpEndpoint.setParent(axisService);
httpEndpoint.setEndpointURL(url.toString());
httpEndpoint.setTransportInDescription(protocol);
populateHttpEndpoint(axisService, httpEndpoint, null);
axisService.addEndpoint(httpEndpoint.getName(), httpEndpoint);
}

代码示例来源:origin: apache/axis2-java

public static void addHttpEndpoint(AxisService axisService,
String protocol, String endpointName) {
AxisEndpoint httpEndpoint = new AxisEndpoint();
httpEndpoint.setName(endpointName);
httpEndpoint.setParent(axisService);
httpEndpoint.setTransportInDescription(protocol);
populateHttpEndpoint(axisService, httpEndpoint, null);
axisService.addEndpoint(httpEndpoint.getName(), httpEndpoint);
}

代码示例来源:origin: org.apache.axis2/axis2-kernel

public static void addHttpEndpoint(AxisService axisService,
String protocol, String endpointName) {
AxisEndpoint httpEndpoint = new AxisEndpoint();
httpEndpoint.setName(endpointName);
httpEndpoint.setParent(axisService);
httpEndpoint.setTransportInDescription(protocol);
populateHttpEndpoint(axisService, httpEndpoint, null);
axisService.addEndpoint(httpEndpoint.getName(), httpEndpoint);
}

代码示例来源:origin: org.apache.axis2/axis2-kernel

private AxisEndpoint processEndpoint(Endpoint endpoint, Interface serviceInterface) throws AxisFault {
AxisEndpoint axisEndpoint = new AxisEndpoint();
axisEndpoint.setParent(axisService);
axisEndpoint.setName(endpoint.getName().toString());
setEndpointURL(axisEndpoint, endpoint.getAddress().toString());
Binding binding = endpoint.getBinding();
AxisBinding axisBinding;
if (processedBindings.containsKey(binding.getName())) {
axisBinding = (AxisBinding) processedBindings.get(binding.getName());
} else {
axisBinding = processBinding(binding, serviceInterface);
}
axisEndpoint.setBinding(axisBinding);

String bindingType = binding.getType().toString();
if (bindingType.equals(WSDL2Constants.URI_WSDL2_SOAP)) {
processSOAPBindingEndpointExtensions(endpoint, axisEndpoint);
} else if (bindingType.equals(WSDL2Constants.URI_WSDL2_HTTP)) {
processHTTPBindingEndpointExtensions(endpoint, axisEndpoint);
}
addDocumentation(axisEndpoint, endpoint.toElement());
return axisEndpoint;
}

代码示例来源:origin: apache/axis2-java

public static void addSoap12Endpoint(AxisService axisService, String protocol,
String endpointName) throws Exception {
AxisEndpoint httpSoap12Endpoint = new AxisEndpoint();
httpSoap12Endpoint.setName(endpointName);
httpSoap12Endpoint.setParent(axisService);
httpSoap12Endpoint.setTransportInDescription(protocol);
populateSoap12Endpoint(axisService, httpSoap12Endpoint, null);
axisService.addEndpoint(httpSoap12Endpoint.getName(), httpSoap12Endpoint);
}

代码示例来源:origin: org.apache.axis2/axis2-kernel

public static void addSoap12Endpoint(AxisService axisService, String url)
throws Exception {
String protocol = org.apache.axis2.util.Utils.getURIScheme(url);
String soap12EndpointName = getEndpointName(axisService, protocol, "Soap12");
AxisEndpoint httpSoap12Endpoint = new AxisEndpoint();
httpSoap12Endpoint.setName(soap12EndpointName);
httpSoap12Endpoint.setParent(axisService);
httpSoap12Endpoint.setEndpointURL(url.toString());
httpSoap12Endpoint.setTransportInDescription(protocol);
populateSoap12Endpoint(axisService, httpSoap12Endpoint, null);
axisService.addEndpoint(httpSoap12Endpoint.getName(),
httpSoap12Endpoint);
}

代码示例来源:origin: apache/axis2-java

private AxisEndpoint processEndpoint(Endpoint endpoint, Interface serviceInterface) throws AxisFault {
AxisEndpoint axisEndpoint = new AxisEndpoint();
axisEndpoint.setParent(axisService);
axisEndpoint.setName(endpoint.getName().toString());
setEndpointURL(axisEndpoint, endpoint.getAddress().toString());
Binding binding = endpoint.getBinding();
AxisBinding axisBinding;
if (processedBindings.containsKey(binding.getName())) {
axisBinding = (AxisBinding) processedBindings.get(binding.getName());
} else {
axisBinding = processBinding(binding, serviceInterface);
}
axisEndpoint.setBinding(axisBinding);

String bindingType = binding.getType().toString();
if (bindingType.equals(WSDL2Constants.URI_WSDL2_SOAP)) {
processSOAPBindingEndpointExtensions(endpoint, axisEndpoint);
} else if (bindingType.equals(WSDL2Constants.URI_WSDL2_HTTP)) {
processHTTPBindingEndpointExtensions(endpoint, axisEndpoint);
}
addDocumentation(axisEndpoint, endpoint.toElement());
return axisEndpoint;
}

代码示例来源:origin: org.apache.axis2/axis2-kernel

axisEndpoint.setName(axisService.getName() + transportIn + usedAxisBinding.getName().getLocalPart() + "Endpoint");
axisEndpoint.setBinding(usedAxisBinding);
axisEndpoint.setTransportInDescription(transportIn);

代码示例来源:origin: apache/axis2-java

axisEndpoint.setName(axisService.getName() + transportIn + usedAxisBinding.getName().getLocalPart() + "Endpoint");
axisEndpoint.setBinding(usedAxisBinding);
axisEndpoint.setTransportInDescription(transportIn);

代码示例来源:origin: apache/axis2-java

public static void addHttpEndpoint(AxisService axisService, String url) {
String protocol = org.apache.axis2.util.Utils.getURIScheme(url);
String httpEndpointName = getEndpointName(axisService, protocol, null);

AxisEndpoint httpEndpoint = new AxisEndpoint();
httpEndpoint.setName(httpEndpointName);
httpEndpoint.setParent(axisService);
httpEndpoint.setEndpointURL(url.toString());
httpEndpoint.setTransportInDescription(protocol);
populateHttpEndpoint(axisService, httpEndpoint, null);
axisService.addEndpoint(httpEndpoint.getName(), httpEndpoint);
}

代码示例来源:origin: org.apache.axis2/axis2-kernel

public static void addSoap11Endpoint(AxisService axisService, String protocol,
String endpointName) throws Exception {
AxisEndpoint httpSoap11Endpoint = new AxisEndpoint();
httpSoap11Endpoint.setName(endpointName);
httpSoap11Endpoint.setParent(axisService);
httpSoap11Endpoint.setTransportInDescription(protocol);
populateSoap11Endpoint(axisService, httpSoap11Endpoint, null);
axisService.addEndpoint(httpSoap11Endpoint.getName(), httpSoap11Endpoint);
// setting soap11 endpoint as the default endpoint
axisService.setEndpointName(endpointName);
}

代码示例来源:origin: apache/axis2-java

httpSoap11Endpoint.setName(soap11EndpointName);
httpSoap11Endpoint.setParent(axisService);
httpSoap11Endpoint.setTransportInDescription(transportName);
+ "Soap12Endpoint";
AxisEndpoint httpSoap12Endpoint = new AxisEndpoint();
httpSoap12Endpoint.setName(soap12EndpointName);
httpSoap12Endpoint.setParent(axisService);
httpSoap12Endpoint.setTransportInDescription(transportName);
+ "Endpoint";
AxisEndpoint httpEndpoint = new AxisEndpoint();
httpEndpoint.setName(httpEndpointName);
httpEndpoint.setParent(axisService);
httpEndpoint.setTransportInDescription(transportName);

代码示例来源:origin: apache/axis2-java

public static void addSoap12Endpoint(AxisService axisService, String url)
throws Exception {
String protocol = org.apache.axis2.util.Utils.getURIScheme(url);
String soap12EndpointName = getEndpointName(axisService, protocol, "Soap12");
AxisEndpoint httpSoap12Endpoint = new AxisEndpoint();
httpSoap12Endpoint.setName(soap12EndpointName);
httpSoap12Endpoint.setParent(axisService);
httpSoap12Endpoint.setEndpointURL(url.toString());
httpSoap12Endpoint.setTransportInDescription(protocol);
populateSoap12Endpoint(axisService, httpSoap12Endpoint, null);
axisService.addEndpoint(httpSoap12Endpoint.getName(),
httpSoap12Endpoint);
}

代码示例来源:origin: apache/axis2-java

public static void addSoap11Endpoint(AxisService axisService, String protocol,
String endpointName) throws Exception {
AxisEndpoint httpSoap11Endpoint = new AxisEndpoint();
httpSoap11Endpoint.setName(endpointName);
httpSoap11Endpoint.setParent(axisService);
httpSoap11Endpoint.setTransportInDescription(protocol);
populateSoap11Endpoint(axisService, httpSoap11Endpoint, null);
axisService.addEndpoint(httpSoap11Endpoint.getName(), httpSoap11Endpoint);
// setting soap11 endpoint as the default endpoint
axisService.setEndpointName(endpointName);
}

代码示例来源:origin: org.apache.axis2/axis2-kernel

public static void addSoap11Endpoint(AxisService axisService, String url)
throws Exception {
String protocol = org.apache.axis2.util.Utils.getURIScheme(url);
String soap11EndpointName = getEndpointName(axisService, protocol, "Soap11");
AxisEndpoint httpSoap11Endpoint = new AxisEndpoint();
httpSoap11Endpoint.setName(soap11EndpointName);
httpSoap11Endpoint.setParent(axisService);
httpSoap11Endpoint.setEndpointURL(url.toString());
httpSoap11Endpoint.setTransportInDescription(protocol);
populateSoap11Endpoint(axisService, httpSoap11Endpoint, null);
axisService.addEndpoint(httpSoap11Endpoint.getName(),
httpSoap11Endpoint);
// setting soap11 endpoint as the default endpoint
axisService.setEndpointName(soap11EndpointName);
}

代码示例来源:origin: apache/axis2-java

public static void addSoap11Endpoint(AxisService axisService, String url)
throws Exception {
String protocol = org.apache.axis2.util.Utils.getURIScheme(url);
String soap11EndpointName = getEndpointName(axisService, protocol, "Soap11");
AxisEndpoint httpSoap11Endpoint = new AxisEndpoint();
httpSoap11Endpoint.setName(soap11EndpointName);
httpSoap11Endpoint.setParent(axisService);
httpSoap11Endpoint.setEndpointURL(url.toString());
httpSoap11Endpoint.setTransportInDescription(protocol);
populateSoap11Endpoint(axisService, httpSoap11Endpoint, null);
axisService.addEndpoint(httpSoap11Endpoint.getName(),
httpSoap11Endpoint);
// setting soap11 endpoint as the default endpoint
axisService.setEndpointName(soap11EndpointName);
}

代码示例来源:origin: org.wso2.carbon.data/org.wso2.carbon.dataservices.core

String soap11EndpointName = prefix
+ WSDL2Constants.DEFAULT_SOAP11_ENDPOINT_NAME;
soap11Endpoint.setName(soap11EndpointName);
soap11Endpoint.setBinding(soap11Binding);
soap11Endpoint.setParent(axisService);
String soap12EndpointName = prefix
+ WSDL2Constants.DEFAULT_SOAP12_ENDPOINT_NAME;
soap12Endpoint.setName(soap12EndpointName);
soap12Endpoint.setBinding(soap12Binding);
soap12Endpoint.setParent(axisService);
String httpEndpointName = prefix
+ WSDL2Constants.DEFAULT_HTTP_ENDPOINT_NAME;
httpEndpoint.setName(httpEndpointName);
httpEndpoint.setBinding(httpBinding);
httpEndpoint.setParent(axisService);

代码示例来源:origin: org.apache.axis2/axis2-kernel

axisEndpoint.setName(port.getName());

代码示例来源:origin: apache/axis2-java

axisEndpoint.setName(port.getName());

推荐阅读
  • 在测试软件或进行系统维护时,有时会遇到电脑蓝屏的情况,即便使用了沙盒环境也无法完全避免。本文将详细介绍常见的蓝屏错误代码及其解决方案,帮助用户快速定位并解决问题。 ... [详细]
  • 尽管在WPF中工作了一段时间,但在菜单控件的样式设置上遇到了一些基础问题,特别是关于如何正确配置前景色和背景色。 ... [详细]
  • 本文将详细探讨 Python 编程语言中 sys.argv 的使用方法及其重要性。通过实际案例,我们将了解如何在命令行环境中传递参数给 Python 脚本,并分析这些参数是如何被处理和使用的。 ... [详细]
  • Zabbix自定义监控与邮件告警配置实践
    本文详细介绍了如何在Zabbix中添加自定义监控项目,配置邮件告警功能,并解决测试告警时遇到的邮件不发送问题。 ... [详细]
  • 处理Android EditText中数字输入与parseInt方法
    本文探讨了如何在Android应用中从EditText组件安全地获取并解析用户输入的数字,特别是用于设置端口号的情况。通过示例代码和异常处理策略,展示了有效的方法来避免因非法输入导致的应用崩溃。 ... [详细]
  • Docker安全策略与管理
    本文探讨了Docker的安全挑战、核心安全特性及其管理策略,旨在帮助读者深入理解Docker安全机制,并提供实用的安全管理建议。 ... [详细]
  • 在尝试加载支持推送通知的iOS应用程序的Ad Hoc构建时,遇到了‘no valid aps-environment entitlement found for application’的错误提示。本文将探讨此错误的原因及多种可能的解决方案。 ... [详细]
  • 本文详细介绍了Oracle 11g中的创建表空间的方法,以及如何设置客户端和服务端的基本配置,包括用户管理、环境变量配置等。 ... [详细]
  • 想把一组chara[4096]的数组拷贝到shortb[6][256]中,尝试过用循环移位的方式,还用中间变量shortc[2048]的方式。得出的结论:1.移位方式效率最低2. ... [详细]
  • Hanks博士是一位著名的生物技术专家,他的儿子Hankson对数学有着浓厚的兴趣。最近,Hankson遇到了一个有趣的数学问题,涉及求解特定条件下的正整数x,而不使用传统的辗转相除法。 ... [详细]
  • 本文探讨了Python类型注解使用率低下的原因,主要归结于历史背景和投资回报率(ROI)的考量。文章不仅分析了类型注解的实际效用,还回顾了Python类型注解的发展历程。 ... [详细]
  • 利用Node.js实现PSD文件的高效切图
    本文介绍了如何通过Node.js及其psd2json模块,快速实现PSD文件的自动化切图过程,以适应项目中频繁的界面更新需求。此方法不仅提高了工作效率,还简化了从设计稿到实际应用的转换流程。 ... [详细]
  • 本文深入探讨了WPF框架下的数据验证机制,包括内置验证规则的使用、自定义验证规则的实现方法、错误信息的有效展示策略以及验证时机的选择,旨在帮助开发者构建更加健壮和用户友好的应用程序。 ... [详细]
  • 本文详细探讨了在Java编程语言中,构造函数、静态代码块和构造代码块的执行顺序。首先明确了静态代码块、构造代码块以及构造函数方法体的执行优先级,随后深入分析了构造函数体执行前的具体步骤,包括父类构造器的调用、非静态变量的初始化等。 ... [详细]
  • 本文详细探讨了在Java中如何将图像对象转换为文件和字节数组(Byte[])的技术。虽然网络上存在大量相关资料,但实际操作时仍需注意细节。本文通过使用JMSL 4.0库中的图表对象作为示例,提供了一种实用的方法。 ... [详细]
author-avatar
顺顺当当的小屋约_564
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有