com.google.api.ads.common.lib.soap
Interface SoapServiceDescriptor

All Known Subinterfaces:
AdsServiceDescriptor
All Known Implementing Classes:
AdWordsServiceDescriptor, DfaServiceDescriptor, DfpServiceDescriptor

public interface SoapServiceDescriptor

Describes a SOAP service.

Author:
Adam Rogal

Method Summary
 String getEndpointAddress(String endpointServer)
          Gets the endpoint address for this service and server.
 Class<?> getInterfaceClass()
          Gets the class representing the RPC interface of the service.
 

Method Detail

getInterfaceClass

Class<?> getInterfaceClass()
                           throws ServiceException
Gets the class representing the RPC interface of the service.

Throws:
ServiceException - if the interface could not be retrieved.

getEndpointAddress

String getEndpointAddress(String endpointServer)
                          throws MalformedURLException
Gets the endpoint address for this service and server.

Returns:
the endpoint address for this service and server
Throws:
MalformedURLException - if the URL cannot be created


Copyright © 2012. All Rights Reserved.