public class MockAxisCompatibleServiceDescriptor extends Object implements AdsServiceDescriptor, AxisCompatible
| Constructor and Description |
|---|
MockAxisCompatibleServiceDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
String |
getEndpointAddress(String endpointServer)
Returns
/mocks/VERSION/MockAxisService appended to endpointServer
after removing any trailing forward slash from endpointServer. |
Class<?> |
getInterfaceClass() |
Class<?> |
getLocatorClass() |
String |
getVersion()
Returns
VERSION. |
public static final String VERSION
public Class<?> getLocatorClass() throws ClassNotFoundException
getLocatorClass in interface AxisCompatibleClassNotFoundExceptionpublic Class<?> getInterfaceClass() throws ServiceException
getInterfaceClass in interface AdsServiceDescriptorgetInterfaceClass in interface SoapServiceDescriptorServiceExceptionpublic String getEndpointAddress(String endpointServer) throws MalformedURLException
/mocks/VERSION/MockAxisService appended to endpointServer
after removing any trailing forward slash from endpointServer.
For example, given endpointServer of https://ads.google.com/ or
https://ads.google.com, this method returns
https://ads.google.com/mocks/v201611/MockAxisService.
getEndpointAddress in interface AdsServiceDescriptorgetEndpointAddress in interface SoapServiceDescriptorMalformedURLExceptionpublic String getVersion()
VERSION.getVersion in interface AdsServiceDescriptorCopyright © 2016. All Rights Reserved.