p12f.exe.pasarelapagos.objects.sms.latinia
Class AuthenticationLatinia
java.lang.Object
p12f.exe.pasarelapagos.objects.sms.latinia.AuthenticationLatinia
- public class AuthenticationLatinia
- extends java.lang.Object
- Author:
- FMARTINI
Ref. documentación Latinia: - - - - - - - - - - - - - - - - - - - - - - -
Los parámetros de conexión necesarios para autenticación en LATINIA son:
Públicos (propios de la plataforma):
- Empresa (Login enterprise): INNOVUS
- Usuario Latinia: innovus.superusuario
- Password Latinia: MARKSTAT
Privados (propios de cada aplicación)
- Aplicación (refProduct):
- Contrato (idcontract):
- Contraseña:
Con esto puede formarse un xml válido para envío SMS a través de los WebServices de W91D.
Ejemplo para una aplicación Z99 con contrato 2000
INNOVUS
innovus.superusuario
MARKSTAT
Z99
2000
Z99
(La opción más recomendable para la autenticación es el uso de XLNETS. De
esta forma la aplicación se abstrae de los códigos y contraseñas de
autenticación en LATINIA que serán obtenidos por el conector W91D a partir
del token de sesión enviado en la petición al WebService)
Method Summary |
static AuthenticationLatinia |
getObject(java.lang.String xml)
Convierte un XML en un objeto Url. |
static void |
main(java.lang.String[] args)
|
java.lang.String |
toXML()
Convierte un Objeto Url a XML. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
loginEnterprise
public java.lang.String loginEnterprise
userLatinia
public java.lang.String userLatinia
passwordLatinia
public java.lang.String passwordLatinia
refProduct
public java.lang.String refProduct
idContract
public java.lang.String idContract
password
public java.lang.String password
AuthenticationLatinia
public AuthenticationLatinia()
- Cargar configuración de properties...
toXML
public java.lang.String toXML()
throws com.ejie.r01f.xml.marshalling.XOMarshallerException
- Convierte un Objeto Url a XML.
- Returns:
- String que contiene el XML.
- Throws:
com.ejie.r01f.xml.marshalling.XOMarshallerException
getObject
public static AuthenticationLatinia getObject(java.lang.String xml)
throws com.ejie.r01f.xml.marshalling.XOMarshallerException
- Convierte un XML en un objeto Url.
- Returns:
- Objeto Url construido a partir del XML.
- Throws:
com.ejie.r01f.xml.marshalling.XOMarshallerException
main
public static void main(java.lang.String[] args)
- Parameters:
args
-