SAPфорум.RU
https://sapboard.ru/forum/

SOAP адаптер не реагирует на ошибки
https://sapboard.ru/forum/viewtopic.php?f=70&t=91007
Страница 1 из 1

Автор:  doleynikov [ Чт, июл 23 2015, 08:44 ]
Заголовок сообщения:  SOAP адаптер не реагирует на ошибки

:?: Помогите, пожалуйста, коллеги!
после всех разборок, сообщения по сценарию IDOC->SOAP идут, но если я намеренно меняю Endpoint URL сервиса, сообщения продолжают успешно идти. Система не реагирует на ошибку. Есть разница в аудите, но статус все равно Successfull!
вот аудит для поломанного URL:
Цитата:
Audit Log for Message: 0200c0a8-0083-1ee5-8c88-1bb1ac67d884

Time Stamp Type Description
22.07.2015 10:11:26.424 Information The message was successfully received by the messaging system. Protocol: XI URL: http://sap-pi-00-d:50000/MessagingSystem/receive/AFW/XI Credential (User): PIISUSER
22.07.2015 10:11:26.425 Information Using connection SOAP_http://sap.com/xi/XI/System. Trying to put the message into the receive queue.
22.07.2015 10:11:26.450 Information Message successfully put into the queue.
22.07.2015 10:11:26.451 Information The message was successfully retrieved from the receive queue.
22.07.2015 10:11:26.459 Information The message status was set to DLNG.
22.07.2015 10:11:26.460 Information Delivering to channel: SOAP_Reciever
22.07.2015 10:11:26.460 Information MP: entering1
22.07.2015 10:11:26.460 Information MP: processing local module localejbs/sap.com/com.sap.aii.af.soapadapter/XISOAPAdapterBean
22.07.2015 10:11:26.475 Information SOAP: Target url: https://test.www.XXX.ru:443/soap/server.php
22.07.2015 10:11:26.475 Information SOAP: request message entering the adapter with user J2EE_GUEST
22.07.2015 10:11:26.487 Information MP: leaving
22.07.2015 10:11:26.487 Information The message was successfully delivered to the application using connection SOAP_http://sap.com/xi/XI/System.
22.07.2015 10:11:26.487 Information SOAP: completed the processing
22.07.2015 10:11:26.488 Information The message status was set to DLVD.

а вот для нормального:
Цитата:
Audit Log for Message: 0200c0a8-0083-1ee5-8c87-a8b5db8db84b

Time Stamp Type Description
22.07.2015 09:45:44.045 Information The message was successfully received by the messaging system. Protocol: XI URL: http://sap-pi-00-d:50000/MessagingSystem/receive/AFW/XI Credential (User): PIISUSER
22.07.2015 09:45:44.047 Information Using connection SOAP_http://sap.com/xi/XI/System. Trying to put the message into the receive queue.
22.07.2015 09:45:44.072 Information Message successfully put into the queue.
22.07.2015 09:45:44.074 Information The message was successfully retrieved from the receive queue.
22.07.2015 09:45:44.081 Information The message status was set to DLNG.
22.07.2015 09:45:44.082 Information Delivering to channel: SOAP_Reciever
22.07.2015 09:45:44.082 Information MP: entering1
22.07.2015 09:45:44.082 Information MP: processing local module localejbs/sap.com/com.sap.aii.af.soapadapter/XISOAPAdapterBean
22.07.2015 09:45:44.083 Information SOAP: Target url: https://www.XXX.ru:443/soap/server.php
22.07.2015 09:45:44.083 Information SOAP: request message entering the adapter with user J2EE_GUEST
22.07.2015 09:45:44.455 Information MP: leaving
22.07.2015 09:45:44.455 Information SOAP: completed the processing
22.07.2015 09:45:44.455 Information SOAP: sending a delivery ack ...
22.07.2015 09:45:44.455 Information SOAP: sent a delivery ack
22.07.2015 09:45:44.456 Information The message was successfully delivered to the application using connection SOAP_http://sap.com/xi/XI/System.
22.07.2015 09:45:44.457 Information The message status was set to DLVD.


видно, что при нормальной пересылке идет передача ACK - вероятно это и есть отзыв сервиса, что все ОК.
Как включить обработку нештатных ситуаций?

Автор:  doleynikov [ Пт, июл 31 2015, 13:40 ]
Заголовок сообщения:  Re: SOAP адаптер не реагирует на ошибки

Коллега на SCN ответил вот что:

Цитата:
this is a known issue fixed with SAP Note 2042729 - Messsage loss in SOAP Receiver Adapter when bad url is used.
Please apply the required patches for MESSAGING and XIAF mentioned in the Note.


Надеюсь это поможет.

Страница 1 из 1 Часовой пояс: UTC + 3 часа
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/