org.nhindirect.xd.proxy
Class DocumentRepositoryProxy

java.lang.Object
  extended by org.nhindirect.xd.proxy.DocumentRepositoryProxy

public class DocumentRepositoryProxy
extends Object

Wrapper class for handling calls to the Document Repository WS (XD*). The initialization uses a WSDL located within the JAR for convenience. The constructor requires and endpoint and an optional HandlerResolver.

Author:
beau

Constructor Summary
DocumentRepositoryProxy(String endpoint)
          Construct a new proxy using the provided endpoint.
DocumentRepositoryProxy(String endpoint, HandlerResolver handlerResolver)
          Construct a new proxy using the provided endpoint and a HandlerResolver.
 
Method Summary
 RegistryResponseType provideAndRegisterDocumentSetB(ProvideAndRegisterDocumentSetRequestType body)
          Wrapper method to call the documentRepositoryProvideAndRegisterDocumentSetB (ProvideAndRegisterDocumentSetRequestType) service method.
 RetrieveDocumentSetResponseType retrieveDocumentSet(RetrieveDocumentSetRequestType body)
          Wrapper method to call the retrieveDocumentSet(RetrieveDocumentSetRequestType) service method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentRepositoryProxy

public DocumentRepositoryProxy(String endpoint)
Construct a new proxy using the provided endpoint.

Parameters:
endpoint - The endpoint of the service.

DocumentRepositoryProxy

public DocumentRepositoryProxy(String endpoint,
                               HandlerResolver handlerResolver)
Construct a new proxy using the provided endpoint and a HandlerResolver.

Parameters:
endpoint - The endpoint of the service.
handlerResolver - The HandlerResolver to attach.
Method Detail

provideAndRegisterDocumentSetB

public RegistryResponseType provideAndRegisterDocumentSetB(ProvideAndRegisterDocumentSetRequestType body)
Wrapper method to call the documentRepositoryProvideAndRegisterDocumentSetB (ProvideAndRegisterDocumentSetRequestType) service method.

Parameters:
body - The ProvideAndRegisterDocumentSetRequestType object.
Returns:
a RegistryResponseType.

retrieveDocumentSet

public RetrieveDocumentSetResponseType retrieveDocumentSet(RetrieveDocumentSetRequestType body)
                                                    throws Exception
Wrapper method to call the retrieveDocumentSet(RetrieveDocumentSetRequestType) service method.

Parameters:
body - The RetrieveDocumentSetRequestType object.
Returns:
a RetrieveDocumentSetResponseType.
Throws:
Exception


Copyright © 2010-2011. All Rights Reserved.