Working with Incoming SOAP Messages (Event Payloads)
An incoming SOAP message can be a request, or a response, depending on whether TIBCO BusinessEvents is acting as the server or the client. TIBCO BusinessEvents can also act as an intermediate node along the path of a SOAP message to its ultimate destination. This section explains how to parse information out of the incoming event payload, which contains the SOAP message.
To Parse the SOAP Envelope
String getEnvelope(SimpleEvent inSoapEvent)
Given a request SOAPEvent, this function returns the SOAP envelope in the request event payload, for example:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sch="http://www.tibco.com/schemas/SoapOverHttp/Schema/Schema.xsd" > <soapenv:Header/> <soapenv:Body> <sch:root> <sch:First>1</sch:First> <sch:Second>2</sch:Second> </sch:root> </soapenv:Body> </soapenv:Envelope> </message>
Copyright © Cloud Software Group, Inc. All rights reserved.