|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgov.nih.nci.cagrid.wsenum.utils.EnumerationResponseHelper
public class EnumerationResponseHelper
EnumerationResponseHelper A collection of methods to simplify use of the WS-Enumeration client side tools, as well as create Iterations from CaGridEnumeration service responses to create enumerations
| Constructor Summary | |
|---|---|
EnumerationResponseHelper()
|
|
| Method Summary | |
|---|---|
static org.globus.ws.enumeration.ClientEnumIterator |
createClientIterator(EnumerationResponseContainer container)
Creates a client enumeration iterator to iterate over a remove enumeration resource |
static org.globus.ws.enumeration.ClientEnumIterator |
createClientIterator(EnumerationResponseContainer container,
java.io.InputStream wsddInputStream)
Creates a client enumeration iterator to iterate over a remove enumeration resource |
static org.globus.ws.enumeration.ClientEnumIterator |
createClientIterator(EnumerationResponseContainer container,
java.io.InputStream wsddInputStream,
boolean disableClientAuth)
Creates a client enumeration iterator to iterate over a remove enumeration resource |
static org.xmlsoap.schemas.ws._2004._09.enumeration.DataSource |
createDataSource(org.apache.axis.message.addressing.EndpointReferenceType epr)
Creates a DataSource implementation which connects to a remote WS-Enumeration implementation |
static org.xmlsoap.schemas.ws._2004._09.enumeration.DataSource |
createDataSource(org.apache.axis.message.addressing.EndpointReferenceType epr,
java.io.InputStream wsddInputStream)
Creates a DataSource implementation which connects to a remote WS-Enumeration implementation |
static org.xmlsoap.schemas.ws._2004._09.enumeration.DataSource |
createDataSource(org.apache.axis.message.addressing.EndpointReferenceType epr,
java.io.InputStream wsddInputStream,
boolean disableClientAuth)
Creates a DataSoure implementation which connects to a remote WS-Enumeration implementation, and optionally disables hostname authorization |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EnumerationResponseHelper()
| Method Detail |
|---|
public static org.globus.ws.enumeration.ClientEnumIterator createClientIterator(EnumerationResponseContainer container)
throws java.rmi.RemoteException
container - The enumeration response container
java.rmi.RemoteException
public static org.globus.ws.enumeration.ClientEnumIterator createClientIterator(EnumerationResponseContainer container,
java.io.InputStream wsddInputStream)
throws java.rmi.RemoteException
container - The enumeration response containerwsddInputStream - The WSDD configuration stream for the service. May be null
java.rmi.RemoteException
public static org.globus.ws.enumeration.ClientEnumIterator createClientIterator(EnumerationResponseContainer container,
java.io.InputStream wsddInputStream,
boolean disableClientAuth)
throws java.rmi.RemoteException
container - The enumeration response containerwsddInputStream - The WSDD configuration stream for the service. May be nulldisableClientAuth - By default, Globus performs hostname authorization. Setting this flag
to true will disable that behavior on the client side.
If you see an exception similar to this:
org.globus.common.ChainedIOException: Authentication failed
[Caused by: Operation unauthorized (Mechanism level: Authorization failed.
Expected "/CN=host/foo.host.name" target but received
"/O=ABC/OU=LOA1/OU=Services/CN=host/testinghost")]
you may want to try setting this flag to 'true'.
java.rmi.RemoteException
public static org.xmlsoap.schemas.ws._2004._09.enumeration.DataSource createDataSource(org.apache.axis.message.addressing.EndpointReferenceType epr)
throws java.rmi.RemoteException
epr - The endpoint of the remote enumeration
java.rmi.RemoteException
public static org.xmlsoap.schemas.ws._2004._09.enumeration.DataSource createDataSource(org.apache.axis.message.addressing.EndpointReferenceType epr,
java.io.InputStream wsddInputStream)
throws java.rmi.RemoteException
epr - The endpoint of the remote enumerationwsddInputStream - The WSDD configuration stream for the service. May be null
java.rmi.RemoteException
public static org.xmlsoap.schemas.ws._2004._09.enumeration.DataSource createDataSource(org.apache.axis.message.addressing.EndpointReferenceType epr,
java.io.InputStream wsddInputStream,
boolean disableClientAuth)
throws java.rmi.RemoteException
epr - The endpoint of the remote enumerationwsddInputStream - The WSDD configuration stream for the service. May be nulldisableClientAuth - By default, Globus performs hostname authorization. Setting this flag
to true will disable that behavior on the client side.
java.rmi.RemoteException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||