|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.ac.soton.itinnovation.grid.client.proxy.ServiceFactory
public class ServiceFactory
Creates service objects from WSDL.
| Constructor Summary | |
|---|---|
ServiceFactory(WSDLCache wsdlCache,
ProxyFactory proxyFactory)
|
|
| Method Summary | |
|---|---|
Object[] |
createServiceProxies(URL wsdlURL,
X509Certificate expectedCertificate)
Create a proxy for each port in then given WSDL. |
Object |
createServiceProxy(org.apache.axis.message.addressing.EndpointReferenceType EPR,
URL wsdlURL,
javax.wsdl.Port port)
|
Object |
createServiceProxy(String wsdlURL)
Make a proxy for the service port in the given WSDL. |
Object |
createServiceProxy(URL wsdlURL)
Make a proxy for the service port in the given WSDL. |
Object |
createServiceProxy(URL wsdlURL,
X509Certificate expectedCertificate)
Make a proxy for the service port in the given WSDL. |
javax.wsdl.Port[] |
getPorts(URL wsdlURL,
X509Certificate expectedCertificate)
|
org.apache.axis.message.addressing.EndpointReferenceType[] |
getServiceEPRs(URL wsdlURL,
X509Certificate expectedCertificate)
Return an EPR for each port in the WSDL at url. |
URL |
getServiceURL(javax.wsdl.Port port)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ServiceFactory(WSDLCache wsdlCache,
ProxyFactory proxyFactory)
| Method Detail |
|---|
public org.apache.axis.message.addressing.EndpointReferenceType[] getServiceEPRs(URL wsdlURL,
X509Certificate expectedCertificate)
throws RemoteException
wsdlURL - the URL of the WSDL
RemoteException
public javax.wsdl.Port[] getPorts(URL wsdlURL,
X509Certificate expectedCertificate)
throws RemoteException
RemoteException
public Object[] createServiceProxies(URL wsdlURL,
X509Certificate expectedCertificate)
throws RemoteException
RemoteException
public Object createServiceProxy(org.apache.axis.message.addressing.EndpointReferenceType EPR,
URL wsdlURL,
javax.wsdl.Port port)
throws RemoteException
RemoteException
public Object createServiceProxy(String wsdlURL)
throws RemoteException,
MalformedURLException
wsdlURL - the URL of the WSDL
RemoteException - if there isn't exactly one port or if there is a problem getting the WSDL
MalformedURLExceptionused to determine the type of proxy returned
public Object createServiceProxy(URL wsdlURL)
throws RemoteException
wsdlURL - the URL of the WSDL
RemoteException - if there isn't exactly one port or if there is a problem getting the WSDLused to determine the type of proxy returned
public Object createServiceProxy(URL wsdlURL,
X509Certificate expectedCertificate)
throws RemoteException
wsdlURL - the URL of the WSDLexpectedCertificate - an extra SSL certificate to trust (optional)
RemoteException - if there isn't exactly one port or if there is a problem getting the WSDLused to determine the type of proxy returnedpublic URL getServiceURL(javax.wsdl.Port port)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||