Glen Daniels wrote:
> 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();

Hi Glen,

What do you wanna do exactly ? Do u wanna send a custom fault ? Then,

AxisFault fault = new AxisFault(code, reason, null, null);
throw fault;

-- Chinthaka

> 
> How does AXIOM do this?
> 
> Thanks,
> --Glen
> 


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to