DynDeveloper.com

DynDeveloper.com

Sign Up Now!Log In
JVolta 12/11/2014 2:58:19 PM

Can't call web service methods from Windows 2008 Server, 32-bit

Only on 2008 Server, 32 bit, can create proxy class, but when call:

companyList = wsDynamicsGP.GetCompanyList(companyCriteria, context);

Get error:

Type 'System.Threading.Tasks.Task`1[Microsoft.Dynamics.GP.DynamicsOnlineConfiguration[]]' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute.  If the type is a collection, consider marking it with the CollectionDataContractAttribute.  See the Microsoft .NET Framework documentation for other supported types.   

Web services RUNS fine in this environment and can be used by other clients machines. 

Windows 2008 Server 64 bit is fine... 

Windows 7 32 bit is fine...

 

Version: GP 2013, GP 2010
Section: Web Services