uk.org.ogsadai.client.toolkit.wsrf
Class WSRFStubHelper

java.lang.Object
  |
  +--uk.org.ogsadai.client.toolkit.wsrf.WSRFStubHelper

public class WSRFStubHelper
extends java.lang.Object

Author:
The OGSA-DAI Team.

Constructor Summary
WSRFStubHelper()
           
 
Method Summary
static DataServicePortType getService(java.net.URL url)
          Obtain a service stub from a URL
static DataServicePortType getService(java.net.URL url, ResourceID id)
          Obtain a service stub from the URL and the resource ID
static org.apache.axis.message.addressing.EndpointReferenceType getWSEPR(java.net.URL url, java.lang.String resource)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSRFStubHelper

public WSRFStubHelper()
Method Detail

getWSEPR

public static org.apache.axis.message.addressing.EndpointReferenceType getWSEPR(java.net.URL url,
                                                                                java.lang.String resource)
                                                                         throws ClientToolkitException
Parameters:
url -
resource -
Returns:
endpoint reference
Throws:
MalformedURIException
ClientToolkitException

getService

public static DataServicePortType getService(java.net.URL url,
                                             ResourceID id)
                                      throws javax.xml.rpc.ServiceException
Obtain a service stub from the URL and the resource ID

Parameters:
url - service URL
id - resource ID
Returns:
stub
Throws:
javax.xml.rpc.ServiceException

getService

public static DataServicePortType getService(java.net.URL url)
                                      throws javax.xml.rpc.ServiceException
Obtain a service stub from a URL

Parameters:
url - service URL
Returns:
stub
Throws:
javax.xml.rpc.ServiceException