Error calling .Net 1.1 webservice from .Net 2.0

Error calling .Net 1.1 webservice from .Net 2.0

Post by Sems » Sat, 01 Dec 2007 07:49:17


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
 
 
 

1. WebServices in .Net 2.0 vs. WebServices in .Net 1.1

2. Is that possible to call .net 2.0 com component fro .net 1.1 application?

Hi all,

We have an application which is created in .net 1.1(Visual studio
2003). Now we need to create maps from this application. The only
chioce for us is to use ESRI libraries to generate map images.

The issue is, current version of ESRI (ArvGIS 9.2) only support .net
2.0. I wrote a map component with Visual studio 2005, and check the
"Register for COM interop" for the project. This creates both dll and
tlb assemblies.

I was not able to add this com component to my .net 2003 application
as reference. When I tried to add the tlb file as the reference, I got
the following error message:

"A reference to "myMapCom" could not be added. Converting the type
library to a .NET assembly failed. Type library myMapCom was exported
from a CLR assembly and can not be re-imported as a CLR assembly."

Any idea for solving this issue?

Thanks.

Linda

3. Is that possible to call .net 2.0 com component fro .net 1.1 application?

4. Interfacing .Net Framework 1.1 and .Net Framework 2.0 beta using .Net Remoting.

5. Compiled .Net 1.1 GUI in a.NET 2.0 application bound to .Net 2.0 datasources?

6. Possible bug using arraylist.sort IComparer and .net webservices and .net framework 1.1

7. webservices .net framework 1.1 vs 2.0

8. Can I run a .net 1.1 application on .net 2.0

9. ADO.NET's WriteXML have difference behaviour between .NET 1.1 and .NET 2.0

10. What migration requirements between .Net 1.1 and .Net 2.0 ...

11. Using .Net 1.1 assemblies from a .Net 2.0 App

12. Can connect to SQL 2005 via VPN with .NET 1.1, but cannot with .NET 2.0

13. Using a .NET 2.0 with .NET 1.1

14. automating .NET 1.1, .NET 2.0, DirectX 9c and Managed DirectX DLLs