[Xml-compile] returning Fault response in
XML::Compile::SOAP::HTTPDaemon
Miroslav Tynovsky
mtynovsky at mms.ag
Wed Apr 28 09:48:17 GMT 2010
Mark Overmeer wrote:
> return
> +{ PolicyException =>
> { faultcode => pack_type(SOAP11ENV, 'Server')
> , faultstring => 'policy exception'
> , detail =>
> { messageId => $error_code
> , text => $error_message
> , variables => [ $error_code, $error_message, ]
> }
> }
> };
>
> Please try.
Works OK. Thank you very much!
I wouldn't have figured it out... how did you know that the top-level
key should be PolicyException and not Fault?
Miroslav
More information about the Xml-compile
mailing list