Package com.google.api.ads.common.lib.soap.compatability

Examples of com.google.api.ads.common.lib.soap.compatability.AxisCompatible


   */
  public Stub createSoapClient(SoapServiceDescriptor soapServiceDescriptor)
      throws ServiceException {
    try {
      if (soapServiceDescriptor instanceof AxisCompatible) {
        AxisCompatible axisCompatibleService = (AxisCompatible) soapServiceDescriptor;
        Service locator = (Service) axisCompatibleService.getLocatorClass()
            .getConstructor(new Class[0]).newInstance(new Object[0]);
        return (Stub) locator.getClass().getMethod("getPort", Class.class)
            .invoke(locator, soapServiceDescriptor.getInterfaceClass());
      }
      throw new ServiceException("Service [" + soapServiceDescriptor +
View Full Code Here

TOP

Related Classes of com.google.api.ads.common.lib.soap.compatability.AxisCompatible

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.