Le programme doit mieux gérer les messages de retour RSP même quand ils ne contiennent pas le statut dans le corps du message

Description

certains messages en retour de SynXis ne contiennent pas le statut de l’intégration du message <Success> ou <Errors>

Exemple : hôtel 3115

<soap2:Header xmlns:htng=\\"<http://htng.org/1.3/Header/\\>" xmlns:wsa=\\"<http://www.w3.org/2005/08/addressing\\>" xmlns:wss=\\"<http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd\\>" xmlns:wsu=\\"<http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd\\>" xmlns:xsd=\\"<http://www.w3.org/2001/XMLSchema\\>" xmlns:htnga=\\"<http://htng.org/PWSWG/2007/02/AsyncHeaders\\>" xmlns:xsi=\\"<http://www.w3.org/2001/XMLSchema-instance\\>" xmlns:soap=\\"<http://schemas.xmlsoap.org/soap/envelope/\\>" xmlns:soap2=\\"<http://www.w3.org/2003/05/soap-envelope\\>"> <wsa:Action><http://htng.org/PWSWG/2010/12/AvailNotif_SubmitResult</wsa:Action>> <wsa:ReplyTo> <wsa:Address><http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:Address>> </wsa:ReplyTo> <wss:Security mustUnderstand=\\"1\\"> <wss:UsernameToken> <wss:Username>TWO41070PMS</wss:Username> <wss:Password>Smp07014Owt3!</wss:Password> </wss:UsernameToken> </wss:Security> <wsa:MessageID>ee44b45f-0516-4430-86e9-01628bdc512f</wsa:MessageID> <htnga:RelatesToCorrelationID>695533554-41070</htnga:RelatesToCorrelationID> <wsa:To><https://crs.medialog.fr/HotelRes/SynxisRS.php</wsa:To>> </soap2:Header> <Body></Body>

 

Exemple de message correct

<soap2:Header xmlns:htng=\\"<http://htng.org/1.3/Header/\\>" xmlns:wsa=\\"<http://www.w3.org/2005/08/addressing\\>" xmlns:wss=\\"<http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd\\>" xmlns:wsu=\\"<http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd\\>" xmlns:xsd=\\"<http://www.w3.org/2001/XMLSchema\\>" xmlns:htnga=\\"<http://htng.org/PWSWG/2007/02/AsyncHeaders\\>" xmlns:xsi=\\"<http://www.w3.org/2001/XMLSchema-instance\\>" xmlns:soap=\\"<http://schemas.xmlsoap.org/soap/envelope/\\>" xmlns:soap2=\\"<http://www.w3.org/2003/05/soap-envelope\\>"> <wsa:Action><http://htng.org/PWSWG/2010/12/AvailNotif_SubmitResult</wsa:Action>> <wsa:ReplyTo> <wsa:Address><http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:Address>> </wsa:ReplyTo> <wss:Security mustUnderstand=\\"1\\"> <wss:UsernameToken> <wss:Username>TWO41070PMS</wss:Username> <wss:Password>Smp07014Owt3!</wss:Password> </wss:UsernameToken> </wss:Security> <wsa:MessageID>2e478a3b-83b1-41b9-b525-70a3c0b131ac</wsa:MessageID> <htnga:RelatesToCorrelationID>695533552-41070</htnga:RelatesToCorrelationID> <wsa:To><https://crs.medialog.fr/HotelRes/SynxisRS.php</wsa:To>> </soap2:Header> <Body> <OTA_HotelAvailNotifRS xmlns:xsd=\\"<http://www.w3.org/2001/XMLSchema\\>" xmlns:xsi=\\"<http://www.w3.org/2001/XMLSchema-instance\\>" xmlns=\\"<http://www.opentravel.org/OTA/2003/05\\>"> <Success /> </OTA_HotelAvailNotifRS> </Body>

Clients Medialog

Tous les clients MedOnline

Notes du développeur

None

Activity

Hachem A. February 24, 2025 at 10:41 AM

tests sur 222 et mise en prod

Hachem A. February 24, 2025 at 10:18 AM

manage when response is empty from RSP, tests

Done

Details

Assignee

Reporter

From Release Version

Time tracking

3h logged

Components

Fix versions

Priority

Sentry

Created February 24, 2025 at 8:45 AM
Updated February 25, 2025 at 8:48 AM
Resolved February 24, 2025 at 10:41 AM

Flag notifications