SOAP Faults with attachments

I am wrestling with how to send back an attachment when a fault occurs. Currently, I embed in the SOAP Body a tag with a href attribute set to the cid of the attachment. This is using the guidelines in the SOAP with attachments spec.

But, the SOAP spec states the SOAP Fault tag is the only tag allowed in the SOAPBody tag. and no extraneous tags are allowed as children of the Fault tag.

Is it even possible to send attachments back with a fault using SOAP with attachments? If so, any advice or http response snippets is appreciated.

Thanks.

[568 byte] By [bspruitta] at [2007-11-26 12:20:22]
# 1
Hi!you can add your own complex content to the SOAP Faults detail element, as described in the Basic Profile ( http://www.ws-i.org/Profiles/BasicProfile-1.1.html#SOAP_Fault_Extensibility), maybe you could add a ref to an attachment there?regards,/Oleeviware.com
olemata at 2007-7-7 15:10:24 > top of Java-index,Archived Forums,Socket Programming...
# 2
Yup. It worked.I wish SwA and WS-I were a bit more specific.Thanks.
bspruitta at 2007-7-7 15:10:24 > top of Java-index,Archived Forums,Socket Programming...