org.apache.muse.ws.metadata.remote
Class MetadataExchangeClient
java.lang.Object
org.apache.muse.core.AbstractResourceClient
org.apache.muse.ws.metadata.remote.MetadataExchangeClient
- All Implemented Interfaces:
- Traceable, SoapMonitor
- Direct Known Subclasses:
- WsrfMetadataExchangeClient
public class MetadataExchangeClient
- extends AbstractResourceClient
MetadataExchangeClient is a client for invoking the web services operations
in WS-MetadataExchange 09/2004. It also have a convenience method, getWSDL(),
that allows users to get the WSDL document for a resource without calling
getMetadata() and parsing the results.
- Author:
- Dan Jemiolo (danj)
Methods inherited from class org.apache.muse.core.AbstractResourceClient |
getDestination, getEndpointReference, getSoapClient, getSoapMonitorPort, getSource, getTraceWriter, invoke, invoke, invoke, invoke, isUsingSoapMonitor, isUsingTrace, setTrace, setTraceWriter, startSoapMonitor, stopSoapMonitor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MetadataExchangeClient
public MetadataExchangeClient(EndpointReference destination)
MetadataExchangeClient
public MetadataExchangeClient(EndpointReference destination,
EndpointReference source)
MetadataExchangeClient
public MetadataExchangeClient(EndpointReference destination,
EndpointReference source,
Environment environment)
MetadataExchangeClient
public MetadataExchangeClient(EndpointReference destination,
EndpointReference source,
SoapClient soapClient)
getMetadata
public Element[] getMetadata(String dialect)
throws SoapFault
- Throws:
SoapFault
getWSDL
public Element getWSDL()
throws SoapFault
- This is a convenience method that calls getMetadata(String) with the
WSDL dialect.
- Returns:
- The WSDL document for the resource, or null if the dialect
is not supported.
- Throws:
SoapFault
Copyright © 2005-2011 Apache Web Services - Muse. All Rights Reserved.