本文整理了Java中org.apache.openejb.assembler.classic.WsBuilder.getWsdlURL()
方法的一些代码示例,展示了WsBuilder.getWsdlURL()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WsBuilder.getWsdlURL()
方法的具体详情如下:
包路径:org.apache.openejb.assembler.classic.WsBuilder
类名称:WsBuilder
方法名:getWsdlURL
暂无
代码示例来源:origin: org.apache.tomee/openejb-core
public static PortData toPortData(final PortInfo port, final Collection<Injection> injections, final URL baseUrl, final ClassLoader classLoader) throws OpenEJBException {
final PortData portData = new PortData();
portData.setPortId(port.portId);
if (port.serviceName != null && port.serviceName.length() != 0) {
portData.setServiceName(QName.valueOf(port.serviceName));
}
if (port.portName != null && port.portName.length() != 0) {
portData.setPortName(QName.valueOf(port.portName));
}
portData.setWsdlUrl(getWsdlURL(port.wsdlFile, baseUrl, classLoader));
portData.getHandlerChains().addAll(toHandlerChainData(port.handlerChains, classLoader));
portData.getInjections().addAll(injections);
portData.setMtomEnabled(port.mtomEnabled);
portData.setBindingID(port.binding);
portData.setWsdlPort(port.wsdlPort);
portData.setWsdlService(port.wsdlService);
portData.setLocation(port.location);
portData.setSecure("WS-SECURITY".equals(port.authMethod));
portData.setProperties(port.properties);
return portData;
}
代码示例来源:origin: org.apache.openejb/openejb-core
public static PortData toPortData(final PortInfo port, final Collection<Injection> injections, final URL baseUrl, final ClassLoader classLoader) throws OpenEJBException {
final PortData portData = new PortData();
portData.setPortId(port.portId);
if (port.serviceName != null && port.serviceName.length() != 0) {
portData.setServiceName(QName.valueOf(port.serviceName));
}
if (port.portName != null && port.portName.length() != 0) {
portData.setPortName(QName.valueOf(port.portName));
}
portData.setWsdlUrl(getWsdlURL(port.wsdlFile, baseUrl, classLoader));
portData.getHandlerChains().addAll(toHandlerChainData(port.handlerChains, classLoader));
portData.getInjections().addAll(injections);
portData.setMtomEnabled(port.mtomEnabled);
portData.setBindingID(port.binding);
portData.setWsdlPort(port.wsdlPort);
portData.setWsdlService(port.wsdlService);
portData.setLocation(port.location);
portData.setSecure("WS-SECURITY".equals(port.authMethod));
portData.setProperties(port.properties);
return portData;
}
代码示例来源:origin: org.apache.geronimo.ext.openejb/openejb-core
public static PortData toPortData(PortInfo port, Collection<Injection> injections, URL baseUrl, ClassLoader classLoader) throws OpenEJBException {
PortData portData = new PortData();
portData.setPortId(port.portId);
if (port.serviceName != null && port.serviceName.length() != 0) {
portData.setServiceName(QName.valueOf(port.serviceName));
}
if (port.portName != null && port.portName.length() != 0) {
portData.setPortName(QName.valueOf(port.portName));
}
portData.setWsdlUrl(getWsdlURL(port.wsdlFile, baseUrl, classLoader));
portData.getHandlerChains().addAll(toHandlerChainData(port.handlerChains, classLoader));
portData.getInjections().addAll(injections);
portData.setMtomEnabled(port.mtomEnabled);
portData.setBindingID(port.binding);
portData.setWsdlPort(port.wsdlPort);
portData.setWsdlService(port.wsdlService);
portData.setLocation(port.location);
portData.setSecure("WS-SECURITY".equals(port.authMethod));
if (portData.isSecure()) {
portData.setSecurityProperties(port.properties);
}
return portData;
}
内容来源于网络,如有侵权,请联系作者删除!