Michel_van_der_
May 30, 2003Nimbostratus
SOAP::Lite expertise needed.
I want to get access to the ITCMCommon.OperationFailed parameters (primary_error_code,
secondary_error_code and error_string), but, not being much of a SOAP expert, I can't see
where the error gets encapsulated. E.g. the examples code shows:
if ( $soap_response->fault ) {
print $soap_response->faultcode, "(faultstring) ", $soap_response->faultstring, "\n";
print $soap_response->faultcode, "(faultdetail) ", $soap_response->faultdetail, "\n";
}
Which will give something like this:
SOAP-ENV:Server(faultstring) ITCMCommon::OperationFailed Exception caught on ITCMLocalLB::Monitor::get_node_monitor().
primary_error_code : 132
secondary_error_code: 0
error_string : Monitor template not found
SOAP-ENV:Server(faultdetail)
I don't know how to get this back as some sort of perl structure.
Anyone here now?