Forum Discussion

UNIZETO_TECHNOL_2's avatar
UNIZETO_TECHNOL_2
Occasional Contributor
16 years ago

Generate Response Content via Java/GroovyScript

Hello

From script or java code, I would like to generate a new MockResponse with a default fault message, with fault detail from schema (like the "!" button does from the response editor).

I am using SoapMessageBuilder.buildFault() method, but it doesn't include the fault detail i want (no parameter).

Can You help me ?
No RepliesBe the first to reply