/** * 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(javax.xml.namespace.QName portName, Class serviceEndpointInterface) throws javax.xml.rpc.ServiceException { if (portName == null) { return getPort(serviceEndpointInterface); } java.lang.String inputPortName = portName.getLocalPart(); if ("wsVaultSoap".equals(inputPortName)) { return getwsVaultSoap(); } else { java.rmi.Remote _stub = getPort(serviceEndpointInterface); ((org.apache.axis.client.Stub) _stub).setPortName(portName); return _stub; } }
/** * Set the endpoint address for the specified port name. */ public void setEndpointAddress(javax.xml.namespace.QName portName, java.lang.String address) throws javax.xml.rpc.ServiceException { setEndpointAddress(portName.getLocalPart(), address); }
/** * Set the endpoint address for the specified port name. */ public void setEndpointAddress(java.lang.String portName, java.lang.String address) throws javax.xml.rpc.ServiceException { if ("wsVaultSoap".equals(portName)) { setwsVaultSoapEndpointAddress(address); } else { // Unknown Port Name throw new javax.xml.rpc.ServiceException(" Cannot set Endpoint Address for Unknown Port" + portName); } }
@Override public boolean canStoreCreditCards() throws IOException { try { return new WsVaultLocator().getwsVaultSoap().VERIFY_SERVICE( emptyStringIfNull(merchantId), emptyStringIfNull(merchantKey) ); } catch(ServiceException err) { throw new LocalizedIOException(err, accessor, "MerchantServicesProvider.canStoreCreditCards.ioException"); } catch(RemoteException err) { throw new LocalizedIOException(err, accessor, "MerchantServicesProvider.canStoreCreditCards.ioException"); } }
public com.aoindustries.creditcards.sagePayments.wsVault.WsVaultSoap_PortType getwsVaultSoap(java.net.URL portAddress) throws javax.xml.rpc.ServiceException { try { com.aoindustries.creditcards.sagePayments.wsVault.WsVaultSoap_BindingStub _stub = new com.aoindustries.creditcards.sagePayments.wsVault.WsVaultSoap_BindingStub(portAddress, this); _stub.setPortName(getwsVaultSoapWSDDServiceName()); return _stub; } catch (org.apache.axis.AxisFault e) { return null; } }
public com.aoindustries.creditcards.sagePayments.wsVault.WsVaultSoap_PortType getwsVaultSoap() throws javax.xml.rpc.ServiceException { java.net.URL endpoint; try { endpoint = new java.net.URL(wsVaultSoap_address); } catch (java.net.MalformedURLException e) { throw new javax.xml.rpc.ServiceException(e); } return getwsVaultSoap(endpoint); }
@Override public void deleteCreditCard(CreditCard creditCard) throws IOException { try { boolean success = new WsVaultLocator().getwsVaultSoap().DELETE_DATA( emptyStringIfNull(merchantId), emptyStringIfNull(merchantKey), emptyStringIfNull(creditCard.getProviderUniqueId()) ); if(!success) throw new LocalizedIOException(accessor, "MerchantServicesProvider.deleteCreditCard.notSuccessful"); } catch(ServiceException err) { throw new IOException(err); } catch(RemoteException err) { throw new IOException(err); } }
/** * 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.aoindustries.creditcards.sagePayments.wsVault.WsVaultSoap_PortType.class.isAssignableFrom(serviceEndpointInterface)) { com.aoindustries.creditcards.sagePayments.wsVault.WsVaultSoap_BindingStub _stub = new com.aoindustries.creditcards.sagePayments.wsVault.WsVaultSoap_BindingStub(new java.net.URL(wsVaultSoap_address), this); _stub.setPortName(getwsVaultSoapWSDDServiceName()); 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())); }
MessageElement[] results = new WsVaultLocator().getwsVaultSoap().INSERT_CREDIT_CARD_DATA( emptyStringIfNull(merchantId), emptyStringIfNull(merchantKey),
MessageElement[] results = new WsVaultLocator().getwsVaultSoap().UPDATE_CREDIT_CARD_EXPIRATION_DATE( emptyStringIfNull(merchantId), emptyStringIfNull(merchantKey),
MessageElement[] results = new WsVaultLocator().getwsVaultSoap().UPDATE_CREDIT_CARD_DATA( emptyStringIfNull(merchantId), emptyStringIfNull(merchantKey),