Web Service Exception Handling

Hi there, We are importing a web service into our MENDIX application. The Webservice returns a complx XML type. On the action in the microflow that does a call to the web service, we set error handling to "Custom, without rollback", and then set a string variable to $lastErrorMessage. The actual error that gets thrown by the Webservice is "Account Not Found", but the $lastErrorMessage property states the following : 'Invalid webservice call, received SOAP fault response: <env:envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ns0="http://account.service.snapsystem.truworths.com/" xmlns:ns1="http://service.snapsystem.truworths.com/"><env:body><env:fault><faultcode>env:Client</faultcode><faultstring>Caught exception while handling request: trailing block elements must have an id attribute</faultstring></env:fault></env:body></env:envelope>' How can I get the "Account Not Found" message from the error?
1 answers

Unfortunately, you can't at the moment. I highly suggest you file a featurerequest, as I expect a lot of people will want this :)

At the moment, the only thing you can do is call the webservice via a java action (yuck) and map the error yourself.