hey I am developing third part Web app , where we need to connect to Teamcenter for some info. instead of writing custom SOA, I am looking for sample on WSDL consumption, but unfortunately no luck, I prefer to use OOTB SOA call by consuming WSDL in .Net code-c#
while I notice that each service return Model Object of there own type ( not like generic model object wen you consume SOA libraries)
I am unable to type cast the Model object, I am doing something wrong? Can you provide me quick pointer. Or can share a sample code project. Really appreciate your help.
Issue as below
dataManagementService = new Core0603DataManagementClient(); dataManagementService.Endpoint.EndpointBehaviors.Add(cookieManager);
dataManagementService1 = new Core0701DataManagementClient(); dataManagementService1.Endpoint.EndpointBehaviors.Add(cookieManager);
getting below error for sample code
Error 1 Cannot implicitly convert type 'CCBTracker_TC.tcDataMangtService_2007_01.ModelObject' to 'CCBTracker_TC.tcDataMangtService_2006_03.ModelObject'