Une requête classique à partir d'une source d'événements doit avoir le format suivant :
<?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body> <Notify xmlns= "http://www.ibm.com/xmlns/stdwip/web-services/WS-BaseNotification"> <NotificationMessage> <Topic> <something> ignored by the TEC Web Services Adapter </something> </Topic> <ProducerReference> <ns1:Address xmlns:ns1= "http://schemas.xmlsoap.org/ws/2003/03/addressing"> protocol://your.event.source.address </ns1:Address> </ProducerReference> <Message xmlns:ns2="http://www.ibm.com/AC/commonbaseevent1_0_1" xsi:type="ns2:CommonBaseEvent"> <CommonBaseEvent ...> ... </CommonBaseEvent> </Message> </NotificationMessage> </Notify> </soapenv:Body> </soapenv:Envelope>
Rubrique principale
Définition d'interface de services Web
Références
Présentation de la spécification Common Base Events V1.0.1
(Annexe A)
Spécification WS-Notification 1.0