Hi All, I am trying to change webservice faultstring to send detailed response and to do so, I have added a validation, for example if policy number is empty or cover amount is 0 then ( I tried two things as mentioned below - see images ) Change the boolean Valid to false and then used java action CommunityCommons.ThrowWebserviceException and changed the faultstring to 'Policy number cannot be empty'. Change the boolean Valid to false and then used the validation feedback and then selected latestSoapFault(System.SoapFault) in variable and Message in Member and in Template wrote the new message to be Cover amount cannot be empty or 0. http://i.imgur.com/Me6O2eh.png Both of them didnt work (on server and localhost) and when I debug, it dies when it comes to both the above actions. And if I test this on localhost I get this two attached errors in console. (see stacktrace) . Also this changed the entire response and response faultstring to nil; <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/"> <s:Header /> <s:Body> <IssuePolicyResponse xmlns="http://tempuri.org/"> <IssuePolicyResult i:nil="true" xmlns:a="http://schemas.datacontract.org/2004/07/wsIssuePolicy" xmlns:i="http://www.w3.org/2001/XMLSchema-instance" /> </issuepolicyresponse> </s:Body> </s:Envelope> Original response file before I made any changes to send detailed response. <soap:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <s:Header xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" /> <soap:Body> <soap:Fault> <faultcode>Server</faultcode> <faultstring>Internal server error</faultstring> </soap:Fault> </soap:Body> </soap:Envelope> Please can anyone help me how to do it and what am I doing wrong? Thanks in advance..!! Stacktrace 1 - Exception occurred while processing webservice request com.mendix.integration.WebserviceException: Internal server error at com.mendix.gy.a(SourceFile:112) at com.mendix.gx$a.apply$mcV$sp(SourceFile:19) at com.mendix.gx$a.apply(SourceFile:16) at com.mendix.gx$a.apply(SourceFile:16) at com.mendix.core.session.Worker$$anonfun$receive$3$$anonfun$2.apply(SourceFile:148) at scala.util.Try$.apply(Try.scala:161) at com.mendix.core.session.Worker$$anonfun$receive$3.applyOrElse(SourceFile:146) at akka.actor.ActorCell.receiveMessage(ActorCell.scala:498) at akka.actor.ActorCell.invoke(ActorCell.scala:456) at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:237) at akka.dispatch.Mailbox.run(Mailbox.scala:219) at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:386) at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260) at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339) at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979) at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107) Caused by: com.mendix.core.CoreException: com.mendix.modules.microflowengine.MicroflowException: at NiftyCover.VALNiftyWebservice (AddValidationFeedback : 'Show validation message on member 'Message' of latestSoapFault') at NiftyCover.WSNiftyPolicy (SubMicroflow : 'Call 'VAL_NiftyWebservice'') Advanced stacktrace: at com.mendix.core.component.InternalCore.execute(SourceFile:379) Caused by: com.mendix.modules.microflowengine.MicroflowException: at NiftyCover.VALNiftyWebservice (AddValidationFeedback : 'Show validation message on member 'Message' of latestSoapFault') at NiftyCover.WSNiftyPolicy (SubMicroflow : 'Call 'VAL_NiftyWebservice'') Advanced stacktrace: at com.mendix.modules.microflowengine.MicroflowUtil.processException(SourceFile:158) Caused by: java.lang.NullPointerException: null at com.mendix.jk.a(SourceFile:25) at com.mendix.jk.execute(SourceFile:12) at com.mendix.ib.a(SourceFile:47) at com.mendix.ia.a(SourceFile:193) at com.mendix.ia.executeAction(SourceFile:148) at com.mendix.systemwideinterfaces.core.UserAction.execute(SourceFile:53) at com.mendix.core.actionmanagement.CoreAction.doCall(SourceFile:291) at com.mendix.core.actionmanagement.CoreAction.call(SourceFile:276) at com.mendix.core.actionmanagement.ActionManager.executeSync(SourceFile:205) at com.mendix.core.component.InternalCore.executeSync(SourceFile:232) at com.mendix.modules.microflowengine.actions.SubMicroflowAction.execute(SourceFile:33) at com.mendix.ib.a(SourceFile:47) at com.mendix.ia.a(SourceFile:193) at com.mendix.ia.executeAction(SourceFile:148) at com.mendix.systemwideinterfaces.core.UserAction.execute(SourceFile:53) at com.mendix.core.actionmanagement.CoreAction.doCall(SourceFile:291) at com.mendix.core.actionmanagement.CoreAction.call(SourceFile:276) at com.mendix.core.actionmanagement.ActionManager.executeSync(SourceFile:205) at com.mendix.core.component.InternalCore.execute(SourceFile:375) at com.mendix.gy.a(SourceFile:92) at com.mendix.gx$a.apply$mcV$sp(SourceFile:19) at com.mendix.gx$a.apply(SourceFile:16) at com.mendix.gx$a.apply(SourceFile:16) at com.mendix.core.session.Worker$$anonfun$receive$3$$anonfun$2.apply(SourceFile:148) at scala.util.Try$.apply(Try.scala:161) at com.mendix.core.session.Worker$$anonfun$receive$3.applyOrElse(SourceFile:146) at akka.actor.ActorCell.receiveMessage(ActorCell.scala:498) at akka.actor.ActorCell.invoke(ActorCell.scala:456) at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:237) at akka.dispatch.Mailbox.run(Mailbox.scala:219) at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:386) at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260) at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339) at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979) at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107) Stacktrace 2 - An error has occurred while handling the request. [User 'MxAdmin' with session id '951a8619-4bc2-41c9-adf7-b75f6a5e8745' and roles 'Administrator'] com.mendix.modules.microflowengine.MicroflowException: javax.xml.ws.soap.SOAPFaultException: Internal server error at NiftyCover.IVK_TestNiftyWebService (CallWebservice : 'Call web service') Advanced stacktrace: at com.mendix.modules.microflowengine.MicroflowUtil.processException(SourceFile:158) Caused by: com.mendix.systemwideinterfaces.MendixRuntimeException: javax.xml.ws.soap.SOAPFaultException: Internal server error at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(SourceFile:40) Caused by: javax.xml.ws.soap.SOAPFaultException: Internal server error at com.sun.xml.ws.fault.SOAP11Fault.getProtocolException(SOAP11Fault.java:193) at com.sun.xml.ws.fault.SOAPFaultBuilder.createException(SOAPFaultBuilder.java:126) at com.sun.xml.ws.client.dispatch.DispatchImpl.doInvoke(DispatchImpl.java:199) at com.sun.xml.ws.client.dispatch.DispatchImpl.invoke(DispatchImpl.java:218) at com.mendix.ge$3.a(SourceFile:364) at com.mendix.ge$3.run(SourceFile:311) at java.security.AccessController.doPrivileged(Native Method) at com.mendix.ge$2.a(SourceFile:298) at com.mendix.ge$2.execute(SourceFile:294) at com.mendix.util.classloading.Runner.doRunUsingClassLoaderOf(SourceFile:36) at com.mendix.util.classloading.Runner$1.run(SourceFile:23) at java.security.AccessController.doPrivileged(Native Method) at com.mendix.util.classloading.Runner.runUsingClassLoaderOf(SourceFile:18) at com.mendix.ge.a(SourceFile:293) at com.mendix.ge.a(SourceFile:144) at com.mendix.fZ.a(SourceFile:200) at com.mendix.integration.internal.IntegrationImpl.callWebservice(SourceFile:145) at com.mendix.fR.execute(SourceFile:76) at com.mendix.ib.a(SourceFile:47) at com.mendix.ia.a(SourceFile:193) at com.mendix.ia.executeAction(SourceFile:148) at com.mendix.systemwideinterfaces.core.UserAction.execute(SourceFile:53) at com.mendix.core.actionmanagement.CoreAction.doCall(SourceFile:291) at com.mendix.core.actionmanagement.CoreAction.call(SourceFile:276) at com.mendix.core.actionmanagement.ActionManager.executeSync(SourceFile:205) at com.mendix.core.component.InternalCore.execute(SourceFile:259) at com.mendix.iO.a(SourceFile:135) at com.mendix.pa$g.apply$mcV$sp(SourceFile:292) at com.mendix.pa$g.apply(SourceFile:283) at com.mendix.pa$g.apply(SourceFile:283) at com.mendix.core.session.Worker$$anonfun$receive$3$$anonfun$2.apply(SourceFile:148) at scala.util.Try$.apply(Try.scala:161) at com.mendix.core.session.Worker$$anonfun$receive$3.applyOrElse(SourceFile:146) at akka.actor.ActorCell.receiveMessage(ActorCell.scala:498) at akka.actor.ActorCell.invoke(ActorCell.scala:456) at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:237) at akka.dispatch.Mailbox.run(Mailbox.scala:219) at akka.dispatch.ForkJoinExecutorConfigurator$AkkaForkJoinTask.exec(AbstractDispatcher.scala:386) at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260) at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339) at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979) at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)