-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi,
http://svn.apache.org/repos/asf/webservices/axis2/trunk/java/modules/integration/test/org/apache/axis2/engine/util/FaultHandler.java Will give you some inside information. Thank you Saminda Glen Daniels wrote: > Hi Paul: > >> This is the code I've used - not sure if its the tightest. >> >> factory = OMAbstractFactory.getSOAP11Factory(); >> SOAPEnvelope faultEnvelope = factory.getDefaultFaultEnvelope(); > > > That gets me a "default" fault which has no useful fault code or reason. > I actually saw this code, which is what led me to ask the question. :) > > Either I should be able to take the fault you get with the above code > and mutate it to add reason/faultcode/details, or there should be > another way to generate a fault envelope by specifying some parameters. > In either case, the API should be simple and easy to use. If this > isn't already the case we should make it so. > > This of course leads into a slightly bigger discussion about how to > clean up the fault classes, which is already a JIRA but needs dealing with. > > --Glen > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFEQKEhYmklbLuW6wYRAsk0AJ4uWaFST6Lsf+oz1EL7subpQJ5XoQCgmxaq eCwEfLPiSIiIOt3eI4hUsXA= =6Dqd -----END PGP SIGNATURE-----
