本文整理了Java中javax.xml.ws.spi.Provider.createW3CEndpointReference()
方法的一些代码示例,展示了Provider.createW3CEndpointReference()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Provider.createW3CEndpointReference()
方法的具体详情如下:
包路径:javax.xml.ws.spi.Provider
类名称:Provider
方法名:createW3CEndpointReference
[英]Factory method to create a W3CEndpointReference
.
This method can be used to create a W3CEndpointReference
for any endpoint by specifying the address
property along with any other desired properties. This method can also be used to create a W3CEndpointReference
for an endpoint that is published by the same Java EE application. To do so the address
property can be provided or this method can automatically determine the address
of an endpoint that is published by the same Java EE application and is identified by the serviceName
and portName
propeties. If the address
is null
and the serviceName
and portName
do not identify an endpoint published by the same Java EE application, a javax.lang.IllegalStateException
MUST be thrown.
[中]用于创建[$0$]的工厂方法。
通过指定address
属性以及任何其他所需属性,可以使用此方法为任何端点创建W3CEndpointReference
。此方法还可用于为同一Java EE应用程序发布的端点创建W3CEndpointReference
。为此,可以提供address
属性,或者此方法可以自动确定由同一Java EE应用程序发布并由serviceName
和portName
属性标识的端点的address
。如果address
是null
,并且serviceName
和portName
没有标识由同一Java EE应用程序发布的端点,则必须抛出javax.lang.IllegalStateException
。
代码示例来源:origin: org.apache.axis2/axis2-jaxws-api
public W3CEndpointReference build() {
return Provider.provider().createW3CEndpointReference(address,
serviceName,
endpointName,
metadataElements,
wsdlDocumentLocation,
referenceParameters);
}
代码示例来源:origin: org.apache.openejb/javaee-api
public W3CEndpointReference build() {
try {
//JAX-WS 2.2 runtime
return Provider.provider().createW3CEndpointReference(address,
interfaceName,
serviceName,
endpointName,
metadataElements,
wsdlDocumentLocation,
referenceParameters,
elements,
attributes);
} catch (UnsupportedOperationException ex) {
//Probably a JAX-WS 2.1 runtime
return Provider.provider().createW3CEndpointReference(address,
serviceName,
endpointName,
metadataElements,
wsdlDocumentLocation,
referenceParameters);
}
}
代码示例来源:origin: javax.xml.ws/com.springsource.javax.xml.ws
return Provider.provider().createW3CEndpointReference(address,
serviceName, endpointName, metadata, wsdlDocumentLocation,
referenceParameters);
代码示例来源:origin: org.glassfish.metro/webservices-api
if (elements.isEmpty() && attributes.isEmpty() && interfaceName == null) {
return Provider.provider().createW3CEndpointReference(address,
serviceName, endpointName, metadata, wsdlDocumentLocation,
referenceParameters);
return Provider.provider().createW3CEndpointReference(address,
interfaceName, serviceName, endpointName, metadata, wsdlDocumentLocation,
referenceParameters, elements, attributes);
代码示例来源:origin: org.glassfish.metro/webservices-api-osgi
if (elements.isEmpty() && attributes.isEmpty() && interfaceName == null) {
return Provider.provider().createW3CEndpointReference(address,
serviceName, endpointName, metadata, wsdlDocumentLocation,
referenceParameters);
return Provider.provider().createW3CEndpointReference(address,
interfaceName, serviceName, endpointName, metadata, wsdlDocumentLocation,
referenceParameters, elements, attributes);
代码示例来源:origin: jakarta.xml.ws/jakarta.xml.ws-api
if (elements.isEmpty() && attributes.isEmpty() && interfaceName == null) {
return Provider.provider().createW3CEndpointReference(address,
serviceName, endpointName, metadata, wsdlDocumentLocation,
referenceParameters);
return Provider.provider().createW3CEndpointReference(address,
interfaceName, serviceName, endpointName, metadata, wsdlDocumentLocation,
referenceParameters, elements, attributes);
代码示例来源:origin: org.jboss.spec.javax.xml.ws/jboss-jaxws-api_2.2_spec
if (elements.isEmpty() && attributes.isEmpty() && interfaceName == null) {
return Provider.provider().createW3CEndpointReference(address,
serviceName, endpointName, metadata, wsdlDocumentLocation,
referenceParameters);
return Provider.provider().createW3CEndpointReference(address,
interfaceName, serviceName, endpointName, metadata, wsdlDocumentLocation,
referenceParameters, elements, attributes);
代码示例来源:origin: javax/javaee-endorsed-api
if (elements.isEmpty() && attributes.isEmpty() && interfaceName == null) {
return Provider.provider().createW3CEndpointReference(address,
serviceName, endpointName, metadata, wsdlDocumentLocation,
referenceParameters);
return Provider.provider().createW3CEndpointReference(address,
interfaceName, serviceName, endpointName, metadata, wsdlDocumentLocation,
referenceParameters, elements, attributes);
代码示例来源:origin: jboss/jboss-javaee-specs
if (elements.isEmpty() && attributes.isEmpty() && interfaceName == null) {
return Provider.provider().createW3CEndpointReference(address,
serviceName, endpointName, metadata, wsdlDocumentLocation,
referenceParameters);
return Provider.provider().createW3CEndpointReference(address,
interfaceName, serviceName, endpointName, metadata, wsdlDocumentLocation,
referenceParameters, elements, attributes);
内容来源于网络,如有侵权,请联系作者删除!