For Programmers: Free Programming Magazines  


Home > Archive > ASP .NET > July 2008 > Error calling .Net 1.1 webservice from .Net 2.0









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Error calling .Net 1.1 webservice from .Net 2.0
Sems

2007-11-29, 7:15 pm

Hi
I'm trying to call a webservice like this...

CompanySummaryService css = new CompanySummaryService();
int num = 1001028;
CompanySummaryDetails details =
css.retrieveCompanySummaryDetails(num);

but am getting this exception thrown...

{"'date' is an invalid value for the SoapElementAttribute.DataType
property. The property may only be specified for primitive types."}

Why am I getting this? What does it mean?

Thanks
reveriedax

2008-07-30, 10:20 am

I'm having the exact same issue. Did you ever find a resolution to this?

Thanks,
- d

quote:
Originally posted by Sems
Hi
I'm trying to call a webservice like this...

CompanySummaryService css = new CompanySummaryService();
int num = 1001028;
CompanySummaryDetails details =
css.retrieveCompanySummaryDetails(num);

but am getting this exception thrown...

{"'date' is an invalid value for the SoapElementAttribute.DataType
property. The property may only be specified for primitive types."}

Why am I getting this? What does it mean?

Thanks

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2010 codecomments.com