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://docs.oasis-open.org/wsn/b-1"> <NotificationMessage xsi:type="ns1:NotificationMessageHolderType" xmlns:ns1="http://docs.oasis-open.org/wsn/b-1"> <Topic xsi:type="ns1:TopicExpressionType"> <something> ignored by the TEC Web Services Adapter </something> </Topic> <ProducerReference xsi:type="ns3:EndpointReferenceType" xmlns:ns3="http://www.w3.org/2005/03/addressing"> <ns3:Address> protocol://your.event.source.address </ns3:Address> </ProducerReference> <Mensagem> <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.3.