From errietta at errietta.me Fri Sep 15 13:47:33 2017 From: errietta at errietta.me (Errietta Kostala) Date: Fri, 15 Sep 2017 13:47:33 +0000 Subject: [Xml-compile] Getting the error from the request Message-ID: Hi all, We are doing the following my $call = $wsdl->compileClient($operation, ..) my ($answer, $trace) = $call->(%data); This returns the following: $answer->{Fault}{detail}{'{ http://schemas.datacontract.org/2004/07/VALITOR.Issuing.Service.WCF.ServiceProviders.ErrorHandling}FaultDetails'}{ErrorMessage} = 'The error from the call' Is it possible to access this error in a prettier way? $trace->errors() seems to be empty? Thanks -- Errietta Kostala -------------- next part -------------- An HTML attachment was scrubbed... URL: From mark at overmeer.net Fri Sep 15 13:57:13 2017 From: mark at overmeer.net (Mark Overmeer) Date: Fri, 15 Sep 2017 15:57:13 +0200 Subject: [Xml-compile] Getting the error from the request In-Reply-To: References: Message-ID: <20170915135713.GA2349@moon.overmeer.net> Hey Errietta, * Errietta Kostala (errietta at errietta.me) [170915 13:48]: > $answer->{Fault}{detail}{'{ > http://schemas.datacontract.org/2004/07/VALITOR.Issuing.Service.WCF.ServiceProviders.ErrorHandling}FaultDetails'}{ErrorMessage} > = 'The error from the call' > > Is it possible to access this error in a prettier way? $trace->errors() > seems to be empty? Have you tried to load the schema for namespace http://schemas.datacontract.org/2004/07/VALITOR.Issuing.Service.WCF.ServiceProviders.ErrorHandling -- Regards, MarkOv ------------------------------------------------------------------------ Mark Overmeer MSc MARKOV Solutions Mark at Overmeer.net solutions at overmeer.net http://Mark.Overmeer.net http://solutions.overmeer.net