NEW YORK (AP) — Consulting and professional services firm Marsh & McLennan Cos. said Tuesday that its second-quarter net income rose 17 percent, boosted by investment gains and higher revenue.

Marsh & McLennan earned $329 million, or 59 cents per share, in the three months ended June 30, up from $282 million, or 50 cents per share, in the same quarter last year.

Excluding discontinued operations and one-time charges, the company said it posted an adjusted profit of 61 cents per share. That is 2 cents per share higher than analysts surveyed by FactSet expected.

Revenue rose 3.3 percent to $3.03 billion from $2.93 billion. Revenue at its risk and insurance services businesses rose 5 percent to $1.7 billion, while consulting revenue rose 2 percent to $1.3 billion.

The overall revenue fell short of analysts' average expectations of $3.08 billion.

The company posted investment gains of $4 million, reversing a loss of $6 million in the year-ago period.

Marsh & McLennan shares rose 57 cents, or 1.7 percent, to $33.96 in midday trading. Its shares are approaching their 52-week high of $34.68 set in early May.