|
Celtix User APIs | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.celtix.wsdl.EndpointReferenceUtils
public final class EndpointReferenceUtils
Provides utility methods for obtaining endpoint references, wsdl definitions, etc.
Method Summary | |
---|---|
static String |
getAddress(org.objectweb.celtix.ws.addressing.EndpointReferenceType ref)
Get the address from the provided endpoint reference. |
static org.objectweb.celtix.ws.addressing.EndpointReferenceType |
getEndpointReference(URL wsdlUrl,
QName serviceName,
String portName)
Create an endpoint reference for the provided wsdl, service and portname. |
static org.objectweb.celtix.ws.addressing.EndpointReferenceType |
getEndpointReference(WSDLManager manager,
Object implementor)
Gets an endpoint reference for the provided implementor object. |
static javax.wsdl.Port |
getPort(WSDLManager manager,
org.objectweb.celtix.ws.addressing.EndpointReferenceType ref)
Gets the WSDL port for the provided endpoint reference. |
static String |
getPortName(org.objectweb.celtix.ws.addressing.EndpointReferenceType ref)
Gets the port name of the provided endpoint reference. |
static QName |
getServiceName(org.objectweb.celtix.ws.addressing.EndpointReferenceType ref)
Gets the service name of the provided endpoint reference. |
static javax.jws.WebService |
getWebServiceAnnotation(Class<?> cls)
Get the WebService for the provided class. |
static javax.wsdl.Definition |
getWSDLDefinition(WSDLManager manager,
org.objectweb.celtix.ws.addressing.EndpointReferenceType ref)
Gets the WSDL definition for the provided endpoint reference. |
static void |
setAddress(org.objectweb.celtix.ws.addressing.EndpointReferenceType ref,
String address)
Set the address of the provided endpoint reference. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static QName getServiceName(org.objectweb.celtix.ws.addressing.EndpointReferenceType ref)
ref
- the endpoint reference.
public static String getPortName(org.objectweb.celtix.ws.addressing.EndpointReferenceType ref)
ref
- the endpoint reference.
public static javax.wsdl.Definition getWSDLDefinition(WSDLManager manager, org.objectweb.celtix.ws.addressing.EndpointReferenceType ref) throws javax.wsdl.WSDLException
manager
- - the WSDL managerref
- - the endpoint reference
javax.wsdl.WSDLException
public static javax.wsdl.Port getPort(WSDLManager manager, org.objectweb.celtix.ws.addressing.EndpointReferenceType ref) throws javax.wsdl.WSDLException
manager
- - the WSDL managerref
- - the endpoint reference
javax.wsdl.WSDLException
public static String getAddress(org.objectweb.celtix.ws.addressing.EndpointReferenceType ref)
ref
- - the endpoint reference
public static void setAddress(org.objectweb.celtix.ws.addressing.EndpointReferenceType ref, String address)
ref
- - the endpoint referenceaddress
- - the addresspublic static org.objectweb.celtix.ws.addressing.EndpointReferenceType getEndpointReference(URL wsdlUrl, QName serviceName, String portName)
wsdlUrl
- - url of the wsdl that describes the service.serviceName
- - the QName
of the service.portName
- - the name of the port.
public static javax.jws.WebService getWebServiceAnnotation(Class<?> cls)
cls
- - the Class .
public static org.objectweb.celtix.ws.addressing.EndpointReferenceType getEndpointReference(WSDLManager manager, Object implementor)
manager
- - the wsdl manager.implementor
- - the service implementor.
|
Celtix User APIs | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |