Um pedido típico de uma fonte de eventos deve ter o seguinte formato:
<?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> <Notificar xmlns= "http://www.ibm.com/xmlns/stdwip/web-services/WS-BaseNotification"> <NotificationMessage> <Topic> <something> ignorado pelo Adaptador de Serviços da Web TEC </something> </Topic> <ProducerReference> <ns1:Address xmlns:ns1= "http://schemas.xmlsoap.org/ws/2003/03/addressing"> protocol://your.event.source.address </ns1:Address> </ProducerReference> <Mensagem xmlns:ns2="http://www.ibm.com/AC/commonbaseevent1_0_1" xsi:type="ns2:CommonBaseEvent"> <CommonBaseEvent ...> ... </CommonBaseEvent> </Mensagem> </NotificationMessage> </Notificar> </soapenv:Body> </soapenv:Envelope>
Tópico Pai
Definição da Interface dos Serviços da Web
Referências
Compreendendo a Especificação de Eventos de Base Comum V1.0.1
(Apêndice A)
Especificação do WS-Notification 1.0