public com.google.api.ads.dfp.axis.v201311.CreativeTemplateServiceInterface getCreativeTemplateServiceInterfacePort(java.net.URL portAddress) throws javax.xml.rpc.ServiceException { try { com.google.api.ads.dfp.axis.v201311.CreativeTemplateServiceSoapBindingStub _stub = new com.google.api.ads.dfp.axis.v201311.CreativeTemplateServiceSoapBindingStub( portAddress, this); _stub.setPortName(getCreativeTemplateServiceInterfacePortWSDDServiceName()); return _stub; } catch (org.apache.axis.AxisFault e) { return null; } }
/** * For the given interface, get the stub implementation. If this service has no port for the given * interface, then ServiceException is thrown. */ public java.rmi.Remote getPort(Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException { try { if (com.google.api.ads.dfp.axis.v201311.CreativeTemplateServiceInterface.class .isAssignableFrom(serviceEndpointInterface)) { com.google.api.ads.dfp.axis.v201311.CreativeTemplateServiceSoapBindingStub _stub = new com.google.api.ads.dfp.axis.v201311.CreativeTemplateServiceSoapBindingStub( new java.net.URL(CreativeTemplateServiceInterfacePort_address), this); _stub.setPortName(getCreativeTemplateServiceInterfacePortWSDDServiceName()); return _stub; } } catch (java.lang.Throwable t) { throw new javax.xml.rpc.ServiceException(t); } throw new javax.xml.rpc.ServiceException( "There is no stub implementation for the interface: " + (serviceEndpointInterface == null ? "null" : serviceEndpointInterface.getName())); }