Hi folks:

Could someone show me how to use AXIOM to create a SOAP Fault envelope with a given faultCode and reason string? Let's assume I have "QName code" and "String reason" sitting around.

In Axis, I can do this:

  AxisFault fault = new AxisFault(code, reason, null, null);
  fault.getAsEnvelope();

How does AXIOM do this?

Thanks,
--Glen

Reply via email to