Difference between revisions of "Validating the settle request XML Message validation schema"
PlatiOnline (talk | contribs) (Created page with "== XML Settle Request == '''Plati Online version 5.x''' #SOAP Post URL: '''https://secure.plationline.eu/''' #Request XML validation schema: '''https://secure.plationline.eu/...") |
PlatiOnline (talk | contribs) |
||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
'''Plati Online version 5.x''' | '''Plati Online version 5.x''' | ||
− | #SOAP Post URL: '''https://secure.plationline. | + | #SOAP Post URL: '''https://secure.plationline.ro/''' |
− | #Request XML validation schema: '''https://secure.plationline. | + | #Request XML validation schema: '''https://secure.plationline.ro/xml_validation/po.request.v5.xsd''' |
− | #XML_Message validation schema: '''https://secure.plationline. | + | #XML_Message validation schema: '''https://secure.plationline.ro/xml_validation/f_message.settle.v5.xsd''' |
Pseudo-code: | Pseudo-code: | ||
Line 11: | Line 11: | ||
#Encrypt the '''AES KEY''' with the '''RSA''' algorithm; this is the value of '''f_crypt_message''' tag; | #Encrypt the '''AES KEY''' with the '''RSA''' algorithm; this is the value of '''f_crypt_message''' tag; | ||
#Encrypt the '''Settle Request XML_Message''' with the AES algorithm using the '''AES KEY''' and the '''IV_AUTH'''; this is the value of '''f_message''' tag; | #Encrypt the '''Settle Request XML_Message''' with the AES algorithm using the '''AES KEY''' and the '''IV_AUTH'''; this is the value of '''f_message''' tag; | ||
− | #Validate the '''Settle Request XML''' using '''https://secure.plationline. | + | #Validate the '''Settle Request XML''' using '''https://secure.plationline.ro/xml_validation/po.request.v5.xsd''' |
− | #Post SOAP (version 1.1 or 1.2) to '''https://secure.plationline. | + | #Post SOAP (version 1.1 or 1.2) to '''https://secure.plationline.ro/''' |
#*If you use SOAP 1.1 headers are: | #*If you use SOAP 1.1 headers are: | ||
#*#CONTENT_TYPE = '''text/xml; charset=utf-8''' | #*#CONTENT_TYPE = '''text/xml; charset=utf-8''' | ||
#*#USER_AGENT = '''PlatiOnline-SOAP''' | #*#USER_AGENT = '''PlatiOnline-SOAP''' | ||
− | #*#SOAPACTION = ''' | + | #*#SOAPACTION = '''settle''' |
#*If you use SOAP 1.2 headers are: | #*If you use SOAP 1.2 headers are: | ||
− | #*#CONTENT_TYPE = '''application/soap+xml; charset=utf-8; action= | + | #*#CONTENT_TYPE = '''application/soap+xml; charset=utf-8; action=settle''' |
#*#USER_AGENT = '''PlatiOnline-SOAP''' | #*#USER_AGENT = '''PlatiOnline-SOAP''' |
Latest revision as of 15:50, 9 February 2016
XML Settle Request
Plati Online version 5.x
- SOAP Post URL: https://secure.plationline.ro/
- Request XML validation schema: https://secure.plationline.ro/xml_validation/po.request.v5.xsd
- XML_Message validation schema: https://secure.plationline.ro/xml_validation/f_message.settle.v5.xsd
Pseudo-code:
- Create the Settle Request XML_Message;
- Create a random 32 alphanumeric AES KEY;
- Encrypt the AES KEY with the RSA algorithm; this is the value of f_crypt_message tag;
- Encrypt the Settle Request XML_Message with the AES algorithm using the AES KEY and the IV_AUTH; this is the value of f_message tag;
- Validate the Settle Request XML using https://secure.plationline.ro/xml_validation/po.request.v5.xsd
- Post SOAP (version 1.1 or 1.2) to https://secure.plationline.ro/
- If you use SOAP 1.1 headers are:
- CONTENT_TYPE = text/xml; charset=utf-8
- USER_AGENT = PlatiOnline-SOAP
- SOAPACTION = settle
- If you use SOAP 1.2 headers are:
- CONTENT_TYPE = application/soap+xml; charset=utf-8; action=settle
- USER_AGENT = PlatiOnline-SOAP
- If you use SOAP 1.1 headers are: