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:
- org.apache.muse.util.Traceable, org.apache.muse.ws.addressing.soap.SoapMonitor
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)
Constructor Summary |
MetadataExchangeClient(org.apache.muse.ws.addressing.EndpointReference destination)
|
MetadataExchangeClient(org.apache.muse.ws.addressing.EndpointReference destination,
org.apache.muse.ws.addressing.EndpointReference source)
|
MetadataExchangeClient(org.apache.muse.ws.addressing.EndpointReference destination,
org.apache.muse.ws.addressing.EndpointReference source,
Environment environment)
|
MetadataExchangeClient(org.apache.muse.ws.addressing.EndpointReference destination,
org.apache.muse.ws.addressing.EndpointReference source,
org.apache.muse.ws.addressing.soap.SoapClient soapClient)
|
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(org.apache.muse.ws.addressing.EndpointReference destination)
MetadataExchangeClient
public MetadataExchangeClient(org.apache.muse.ws.addressing.EndpointReference destination,
org.apache.muse.ws.addressing.EndpointReference source)
MetadataExchangeClient
public MetadataExchangeClient(org.apache.muse.ws.addressing.EndpointReference destination,
org.apache.muse.ws.addressing.EndpointReference source,
Environment environment)
MetadataExchangeClient
public MetadataExchangeClient(org.apache.muse.ws.addressing.EndpointReference destination,
org.apache.muse.ws.addressing.EndpointReference source,
org.apache.muse.ws.addressing.soap.SoapClient soapClient)
getMetadata
public Element[] getMetadata(String dialect)
throws org.apache.muse.ws.addressing.soap.SoapFault
- Throws:
org.apache.muse.ws.addressing.soap.SoapFault
getWSDL
public Element getWSDL()
throws org.apache.muse.ws.addressing.soap.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:
org.apache.muse.ws.addressing.soap.SoapFault
Copyright © 2013 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.