i'm dont think you have direct influence on all of the elements of the soap fault definition.
if you throw a custom fault from within your bpel process (see : http://docs.oracle.com/cd/E23943_01/dev.1111/e10224/bp_faults.htm#CIHGHGDE) you will find the defined custom soap fault back in the faultstring part, the rest will be generated by the framework itself
Thank you very much for your response. Is there any other module/component I can able to access SOAP fault and set my own faultcode, faultstring and fault actor? Presently, when a custom fault is sent from BPEL, it is setting fault code as name of the fault (with namespace: ex: ns0:ProcessFault). Instead of that I want to set a specific fault code (like 100) and appropriate fault actor and fault string. Or is it possible using java code in BPEL SOAP fault can be created and set appropriate values?
If not is it available in OSB? (I have not looked OSB yet). Thanks for you response.
to make use of the osb just to be able to construct a soap fault isn't the way to go if you ask me, it got a lot more potential
but for a solution in the osb you could have a look at these examples :