SAM-ITAM: Integration error: The specified type was not recognized: name='data_source_rec'

book

Article ID: 131590

calendar_today

Updated On:

Products

CA IT Asset Manager CA Software Asset Manager (CA SAM) ASSET PORTFOLIO MGMT- SERVER CA Service Management - Asset Portfolio Management CA Service Management - Service Desk Manager

Issue/Introduction

ITAM/APM -> SAM integration stops working after SAM migration takes place.

Experiencing the following message in the ITAM Event Service Log:  ITAMEventService.log

ERROR CA.Applications.WorkFlowProviders.OEM.OEMWorkflowProvider - Error in deserializing body of reply message for operation 'get_data_sources'.

System.ServiceModel.CommunicationException: Error in deserializing body of reply message for operation 'get_data_sources'. ---> System.InvalidOperationException: There is an error in XML document (1, 533). ---> System.InvalidOperationException: The specified type was not recognized: name='data_source_rec', namespace='http://ca.com/wsdl/', at <return xmlns=''>.

Cause

Older content present in custom_config.inc

Environment

CA ITAM 14.1 and higher, CA SAM 4.3.x (migrating from CA SAM 4.1.x)

Resolution

Go into the following file in your SAM install directory:

C:\Program Files (x86)\CA\SAM\app\includes\prod\st\custom\ca\custom_config.inc

Backup, then edit this file in a text editor.

Comment out the following method:
 
public static function get_soap_namespace()

    {

        return 'http://ca.com/wsdl/';

    }


Restart IIS on SAM and Event Service on ITAM.  Test to see if the sync works (try creating a new location on the ITAM side)

Additional Information

See also similar concern:  KB000005308
https://comm.support.ca.com/kb/the-ca-asset-portfolio-management-to-ca-software-asset-manager-apm-to-sam-integration-is-not-working-event-service-throws-this-error-error-in-deserializing-body-of-reply-message-for-operation-getdatasources/kb000005308