Hi I want to send detail info in SOAP fault message. Then only method in AxisFault class is setDedail(OMElement). But then, my message looks e.g. like this:
... <soapenv:Body> <soapenv:Fault> <faultcode>soapenv:Client</faultcode> <faultstring>Authentication failed.</faultstring> <detail> <b:myDetail xmlns:b="MyServiceNS"> <b:code>4</b:code> <b:message>Given authId is not valid.</b:message> </b:myDetail> </detail> </soapenv:Fault> </soapenv:Body> ... but I want to hold my detail in this way (namespaces can be omit): ... <soapenv:Body> <soapenv:Fault> <faultcode>soapenv:Client</faultcode> <faultstring>Authentication failed.</faultstring> <detail> <b:code xmlns:b="MyServiceNS">4</b:code> <b:message xmlns:b="MyServiceNS">Given authId is not valid.</b:message> </detail> </soapenv:Fault> </soapenv:Body> ... without my OMElement (in this case "myDetail") that I need to pass to setDetail(...) method. Is it possible using AxisFault class? getDetail() returns null. Is it a bug? Why getDetail() doesn't return SOAP detail element? If it would be like this, then there is no problem to compose messege as I want. BR -- zolv --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]