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); }
/** * 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; } }
@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); } }
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),
@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"); } }