- TIBCO BusinessEvents®
- Standard
- SOAP

# SOAP

## Description

SOAP Helper functions

## Functions

Name | Signature and Synopsis
--- | ---
`addAttachment` | `void addAttachment(SimpleEvent soapEvent,String contentID, Object content,String contentType)`
`addFaultPart` | `void addFaultPart (SimpleEvent soapEvent,String faultCode,String faultMessage,String faultActor,String faultDetailString)`
`addHeaderPart` | `void addHeaderPart (SimpleEvent soapEvent, String headerPartXml)`
`addSOAPBodyPart` | `void addSOAPBodyPart (SimpleEvent soapEvent,String bodyXml)`
`addSOAPHeaderAttribute` | `void addSOAPHeaderAttribute(SimpleEvent soapEvent,int index, String attribute, String value)`
`getAllSOAPBodyParts` | `String[] getAllSOAPBodyParts (SimpleEvent soapEvent)`
`getAttachmentContent` | `Object getAttachmentContent(SimpleEvent soapEvent,int index)`
`getAttachmentContentByContentID` | `Object getAttachmentContentByContentID(SimpleEvent soapEvent,String contentID)`
`getAttachmentContentID` | `String getAttachmentContentID(SimpleEvent soapEvent,int index)`
`getAttachmentContentType` | `String getAttachmentContentType(SimpleEvent soapEvent,int index)`
`getEnvelope` | `String getEnvelope (SimpleEvent soapEvent)`
`getFault` | `String getFault (SimpleEvent soapEvent)`
`getFaultActor` | `String getFaultActor (SimpleEvent soapEvent)`
`getFaultCode` | `String getFaultCode (SimpleEvent soapEvent)`
`getFaultString` | `String getFaultString (SimpleEvent soapEvent)`
`getHeaders` | `String[] getHeaders(SimpleEvent soapEvent, String actor, boolean removeHeaders)`
`getNumberOfAttachments` | `int getNumberOfAttachments(SimpleEvent soapEvent)`
`getSOAPBodyParts` | `String[] getSOAPBodyParts (SimpleEvent soapEvent, String name, String namespace)`
`getSOAPHeaderAttribute` | `String getSOAPHeaderAttribute (SimpleEvent soapEvent, int index, String attribute)`
`newCorrelationId` | `void newCorrelationId(String responseEventUri)`
`registerEventUri` | `void registerEventUri(String eventUri, String destinationUri, String serviceName, String soapAction, String preprocessor)`
`removeHeaderPart` | `void removeHeaderPart (SimpleEvent soapEvent, String namespace, String name)`
`removeHeaderParts` | `void removeHeaderParts (SimpleEvent soapEvent, String actor)`
`signSOAPEnvelope` | `void signSOAPEnvelope (SimpleEvent soapEvent, Object clientKeyStore, String trustedCertsFolder, String ksPassword, String alias)`