public class Axis2EndpointReferenceFactoryImpl extends Object implements Axis2EndpointReferenceFactory
EndpointReference
.Constructor and Description |
---|
Axis2EndpointReferenceFactoryImpl() |
Modifier and Type | Method and Description |
---|---|
EndpointReference |
createEndpointReference(QName serviceName,
QName endpoint)
Create an instance of
EndpointReference that targets the endpoint
identified by the specified WSDL service name and endpoint name. |
EndpointReference |
createEndpointReference(String address)
Create an instance of
EndpointReference with the specified address. |
EndpointReference |
createEndpointReference(String address,
QName serviceName,
QName portName,
String wsdlDocumentLocation,
String addressingNamespace)
Create an instance of
EndpointReference . |
public EndpointReference createEndpointReference(String address)
Axis2EndpointReferenceFactory
EndpointReference
with the specified address.createEndpointReference
in interface Axis2EndpointReferenceFactory
address
- the address URI to use. It cannot be null.EndpointReference
.public EndpointReference createEndpointReference(QName serviceName, QName endpoint)
Axis2EndpointReferenceFactory
EndpointReference
that targets the endpoint
identified by the specified WSDL service name and endpoint name.createEndpointReference
in interface Axis2EndpointReferenceFactory
serviceName
- the WSDL service nameendpoint
- the WSDL port nameEndpointReference
that targets the specified
endpointpublic EndpointReference createEndpointReference(String address, QName serviceName, QName portName, String wsdlDocumentLocation, String addressingNamespace)
Axis2EndpointReferenceFactory
EndpointReference
. If the address is specified
then it will be used. If the address is null, but the WSDL service name and port
name are specified then they will be used to target the specified endpoint. Either
the address URI, or the WSDL service name and port name must be specified.createEndpointReference
in interface Axis2EndpointReferenceFactory
address
- the address URI to use, if specifiedserviceName
- the WSDL service name, if specifiedportName
- the WSDL port name, if specifiedwsdlDocumentLocation
- the URI from where the WSDL for the endpoint can be
retrieved, if specified.addressingNamespace
- the intended WS-Addressing namespace that the
EndpointRefence
should comply with.EndpointReference
.Copyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.