[Xml-compile] Logging from callback

Robin V. robinsp at gmail.com
Sat Apr 24 12:51:29 GMT 2010


I feel like I should have paid more attention to the content of the
'faultcode', to its meaning. I'm digging up the web for information
about soap fault handling, but any hint on the good way to return
fault message detail is still appreciated.

Robin


> It's not something mandatory, but I would have liked to issue a real
> fault message for unimplemented services of the wsdl. The docs are
> clear on how to return fault and I managed to return a simple fault,
> but I'd like to return a complex fault (with detail). Is this possible
> with x:c ?
>
> I don't see how to do this in
> http://search.cpan.org/~markov/XML-Compile-SOAP-Daemon-2.02/lib/XML/Compile/SOAP/Daemon.pod
>
> Should I return something like:
>
>        {
>       SiriError => {
>                                faultcode   => 111,
>                                faultstring => 'not implemented',
>                                faultactor  => 'who mom likes',
>                                OtherError => {
>                                        ErrorText => 'Mistake'
>                                },
>                                Description =>  'ARRRG'
>        }



More information about the Xml-compile mailing list