- TIBCO BusinessEvents®
- Standard
- SOAP

# SOAP.getNumberOfAttachments()

## Signature

`int getNumberOfAttachments(SimpleEvent soapEvent)`

## Domain

ACTION, CONDITION, BUI

## Description

Gets a count of SOAP attachments in the incoming SOAP message.

## Parameters

Name | Type | Description
--- | --- | ---
`soapEvent` | `SimpleEvent` | SOAP event

## Returns

Type | Description
--- | ---
`int` | number of attachments