Open topic with navigation

TIBCO BusinessEvents® Enterprise Edition 6.3.1

# 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>

Did you find this helpful?

YesNo
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO BusinessEvents® Enterprise Edition

Copyright © 2004-2024. Cloud Software Group, Inc. All Rights Reserved.