uk.ac.soton.ecs.grimoires.server.impl.wsdl.api
Class WSDLTie

java.lang.Object
  extended byuk.ac.soton.ecs.grimoires.server.impl.wsdl.api.WSDLTie
All Implemented Interfaces:
Remote, WSDL

public class WSDLTie
extends Object
implements WSDL


Constructor Summary
WSDLTie(WSDLHandler operationHandler)
           
 
Method Summary
 String addWSDLFile(String filename)
          Add a WSDL file to the repository.
 String addWSDLFileAdvert(AddWSDLFileAdvertRequest body)
          Add a WSDL file with content to the repository.
 String findInterfaceByOperation(OperationDetail body)
           
 OperationDetail findOperationByMessagePart(MessagePartDetail body)
           
 FindServicesByInterfaceResponse findServicesByInterface(String filename)
          Return all services that are registered as implementing the WSDL interface t the given URL.
 GetAllWSDLFilesResponse getAllWSDLFiles(GetAllWSDLFilesRequest body)
          Return the URLs of all WSDL adverts.
 MessageDetail getFaultMessageOfOperation(OperationDetail opDetail)
           
 MessageDetail getInputMessageOfOperation(OperationDetail opDetail)
           
 GetOperationsByURLResponse getOperationsByURL(String url)
           
 MessageDetail getOutputMessageOfOperation(OperationDetail opDetail)
           
 String getWSDLAdvertContent(String key)
          Return the WSDL content of the advert identified by the given key.
 String getWSDLAdvertContentByURL(String wsdlURL)
          Return the WSDL content of the advert identified by the url of WSDL.
 boolean removeWSDLFile(String filename)
          Remove a WSDL file from the repository.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSDLTie

public WSDLTie(WSDLHandler operationHandler)
Method Detail

addWSDLFile

public String addWSDLFile(String filename)
                   throws RemoteException
Add a WSDL file to the repository.

Specified by:
addWSDLFile in interface WSDL
Parameters:
filename - url of wsdl file
Returns:
WSDL key
Throws:
RemoteException

addWSDLFileAdvert

public String addWSDLFileAdvert(AddWSDLFileAdvertRequest body)
                         throws RemoteException
Add a WSDL file with content to the repository.

Specified by:
addWSDLFileAdvert in interface WSDL
Returns:
WSDL key
Throws:
RemoteException

getWSDLAdvertContent

public String getWSDLAdvertContent(String key)
                            throws RemoteException
Return the WSDL content of the advert identified by the given key.

Specified by:
getWSDLAdvertContent in interface WSDL
Parameters:
key - WSDL key
Returns:
content of WSDL file
Throws:
RemoteException

getWSDLAdvertContentByURL

public String getWSDLAdvertContentByURL(String wsdlURL)
                                 throws RemoteException
Return the WSDL content of the advert identified by the url of WSDL.

Specified by:
getWSDLAdvertContentByURL in interface WSDL
Parameters:
wsdlURL - url of WSDL file
Returns:
content of WSDL file
Throws:
RemoteException

removeWSDLFile

public boolean removeWSDLFile(String filename)
                       throws RemoteException
Remove a WSDL file from the repository.

Specified by:
removeWSDLFile in interface WSDL
Parameters:
filename - url of WSDL file
Returns:
true or false
Throws:
RemoteException

findServicesByInterface

public FindServicesByInterfaceResponse findServicesByInterface(String filename)
                                                        throws RemoteException
Return all services that are registered as implementing the WSDL interface t the given URL.

Specified by:
findServicesByInterface in interface WSDL
Parameters:
filename - url of wsdl file
Returns:
service keys
Throws:
RemoteException

getAllWSDLFiles

public GetAllWSDLFilesResponse getAllWSDLFiles(GetAllWSDLFilesRequest body)
                                        throws RemoteException
Return the URLs of all WSDL adverts.

Specified by:
getAllWSDLFiles in interface WSDL
Returns:
all urls of registered WSDLs
Throws:
RemoteException

getOperationsByURL

public GetOperationsByURLResponse getOperationsByURL(String url)
                                              throws RemoteException
Specified by:
getOperationsByURL in interface WSDL
Throws:
RemoteException

getInputMessageOfOperation

public MessageDetail getInputMessageOfOperation(OperationDetail opDetail)
                                         throws RemoteException
Specified by:
getInputMessageOfOperation in interface WSDL
Throws:
RemoteException

getOutputMessageOfOperation

public MessageDetail getOutputMessageOfOperation(OperationDetail opDetail)
                                          throws RemoteException
Specified by:
getOutputMessageOfOperation in interface WSDL
Throws:
RemoteException

getFaultMessageOfOperation

public MessageDetail getFaultMessageOfOperation(OperationDetail opDetail)
                                         throws RemoteException
Specified by:
getFaultMessageOfOperation in interface WSDL
Throws:
RemoteException

findInterfaceByOperation

public String findInterfaceByOperation(OperationDetail body)
                                throws RemoteException
Specified by:
findInterfaceByOperation in interface WSDL
Throws:
RemoteException

findOperationByMessagePart

public OperationDetail findOperationByMessagePart(MessagePartDetail body)
                                           throws RemoteException
Specified by:
findOperationByMessagePart in interface WSDL
Throws:
RemoteException