In an integrated environment with ITAM and CA SAM, SOAP errors in Event Service are being displayed with a generic error message:
ERROR CA.Applications.WorkFlowProviders.OEM.OEMWorkflowProvider - Server returned an invalid SOAP Fault. Please see InnerException for more details.
System.ServiceModel.CommunicationException: Server returned an invalid SOAP Fault. Please see InnerException for more details. ---> System.Xml.XmlException: Element 'faultstring' with namespace name '' was not found. Line 6, position 117.
The error message being returned by CA SAM webservices to ITAM Event Service cannot be processed by ITAM due to missing configuration settings.
Client Inspector is present in Event Service but it is not automatically enabled.
In order to read the actual error message returned by SAM webservices please follow the below steps:
NOTE: the version number taken during step 1 should be updated in the Version parameter
<endpoint address="http://<SAM SERVER>/sam/prod/soap/dyn_server.php" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IOEMService" contract="st_importPortType" behaviorConfiguration="clientInspectorsAdded" name="st_importPortType"/>
<add name="clientInterceptors" type="CA.Common.Utilities.SAMMessageInpectorBehavior, CA.Common.Utilities, Version=18.104.22.1688, Culture=neutral, PublicKeyToken=null"/>
In red is what you will most likely need to add/update.
Once the above is done you will need to restart the Event Service for the settings to take effect.