qgittingsatc
07-31-2008, 15:36
Hi Guys, I'm having a terrible time deciphering the syntax for setting a local filter on a JMS trigger . We are receiving a document like this...
<?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" xmlns:adv="http://schemas/2008/07/advertising">
<soapenv:Header>
<wsa:To soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next" soapenv:mustUnderstand="0" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing">soap://com/processes/advertising/v1</wsa:To>
I'm trying to do a filter on the wsa:To field when it equals soap://com/processes/advertising/v1
I've tried tons of iterations of syntax,
doc.soapenv:Envelope.soapenv:Header.wsa:To.text=="soap://com/services/advertising/v1"
%header/"wsa:To"=="soap://com/services/advertising/v1"
%"soapenv:Envelope"/"soapenv:Header"/"wsa:To"=="soap://com/services/advertising/v1"
and much more to no available....
Can anyone help or can you not do a Local Filter on a header attribute?
<?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" xmlns:adv="http://schemas/2008/07/advertising">
<soapenv:Header>
<wsa:To soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next" soapenv:mustUnderstand="0" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing">soap://com/processes/advertising/v1</wsa:To>
I'm trying to do a filter on the wsa:To field when it equals soap://com/processes/advertising/v1
I've tried tons of iterations of syntax,
doc.soapenv:Envelope.soapenv:Header.wsa:To.text=="soap://com/services/advertising/v1"
%header/"wsa:To"=="soap://com/services/advertising/v1"
%"soapenv:Envelope"/"soapenv:Header"/"wsa:To"=="soap://com/services/advertising/v1"
and much more to no available....
Can anyone help or can you not do a Local Filter on a header attribute?