473,386 Members | 1,758 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

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

Hi,
I'm currently developing a windows form application, which should be able to
communicate with a couple of WebServices. The Webservices are not created by
me or my company and also not in .net but WebMethods (Java I suppose).
The first Issue that I have is when instantiating one of webservices I get a
"Method myMethod can not be reflected" error message and when drilling down
the exception hierarchy I find: InnerException = {"'date' is an invalid
value for the SoapElementAttribute.DataType property. The property may only
be specified for primitive types."}.

Curios as I am I tried the exact same thing but this time I used VS 2003
instead of VS 2005 (above) and then it works... (At least this far.)
Can anyone explain this and point me to a resolution?

Regards Frederik
May 11 '06 #1
3 4456
Hi,
I'm currently developing a windows form application, which should be able to
communicate with a couple of WebServices. The Webservices are not created by
me or my company and also not in .net but WebMethods (Java I suppose).
The first Issue that I have is when instantiating one of webservices I get a
"Method myMethod can not be reflected" error message and when drilling down
the exception hierarchy I find: InnerException = {"'date' is an invalid
value for the SoapElementAttribute.DataType property. The property may only
be specified for primitive types."}.

Curios as I am I tried the exact same thing but this time I used VS 2003
instead of VS 2005 (above) and then it works... (At least this far.)
Can anyone explain this and point me to a resolution?

Regards Frederik
I am facing the same problem. Not a single search engine can get the answer. Where are all the MS folks?

Posted from http://www.topxml.com/renntp using reNNTP: the website based NNTP reader.
Aug 21 '06 #2
Hi,

I am not sure, but that problem may happen due an incompatibility between
the web service proxies generated in .NET 1.1 and the proxies generated in
..NET 2.0.
VS automaticallty generates some code to consume the web services, if that
code was compiled using .NET 1.1 (Using some valid xml serialization rules
that are no longer valid in .NET 2.0), you will have problems to use the
same code in a .NET 2.0 application.

Regards,
Pablo Cibraro.
"Tat Sean" <ta*****@schooldude.comwrote in message
news:58**********************************@text.gig anews.com...
>
>Hi,
I'm currently developing a windows form application, which should be able
to
communicate with a couple of WebServices. The Webservices are not created
by
me or my company and also not in .net but WebMethods (Java I suppose).
The first Issue that I have is when instantiating one of webservices I
get a
"Method myMethod can not be reflected" error message and when drilling
down
the exception hierarchy I find: InnerException = {"'date' is an invalid
value for the SoapElementAttribute.DataType property. The property may
only
be specified for primitive types."}.

Curios as I am I tried the exact same thing but this time I used VS 2003
instead of VS 2005 (above) and then it works... (At least this far.)
Can anyone explain this and point me to a resolution?

Regards Frederik

I am facing the same problem. Not a single search engine can get the
answer. Where are all the MS folks?

Posted from http://www.topxml.com/renntp using reNNTP: the website based
NNTP reader.

Aug 21 '06 #3
AKJ
I can't help you here, but I'm getting exactly the same error when trying to
connect to one of our own webservices (produced via Progress 4gl/openedge
running on HP-UX 11 box).

Worked fine with v1.1, but v2 gets the error shown above.

It seems that we get the error when the offending field is winthin a complex
type.

Previously it converted them to datetime before presenting them to Dot Net
c# client, but now goes pop.

AKJ.
Aug 22 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Jinashe | last post by:
what do i need to enable accessing of webservices from a clients PC i'm hosting some webservices from my server in VB.NET. i've got some client windows applications done in VB.NET. what have i...
0
by: Erik P. Vinther | last post by:
Hi This might be slightly OT, but I couldn't find a better NG for this question The question is regarding versioning of webservices. A webservice end point URL basically consists of a base...
8
by: Allan Ebdrup | last post by:
I just had a discussion with one of my fellow programmers. We have a class for doing some logging and sending an email, it has 5 different scenarioes of loggin that are common enough to share a...
5
by: Stephanie Stowe | last post by:
Imagine that I had this <webServices> <soapExtensionTypes> <add type="Microsoft.Web.Services.WebServicesExtension, Microsoft.Web.Services, Version=1.0.0.0, Culture=neutral,...
1
by: Diffident | last post by:
Hello Guys, I have a question with regards to the efficiency and best practices in .NET framework. We are currently using Webservices as normal classes. The way we are invoking methods in...
5
by: cyberstrike | last post by:
Hi guys, my company was wondering if it's possible to develop ASP.NET/Webservices easily using a IIS installed on a server instead of installing IIS locally on the development boxes. Can you...
2
by: Antuane | last post by:
any one have any idea how transactions could be enabled in webservices. i.e., suppose i've got 2 methods - one to add a contact, & the other to set some miscellaneous details for the contact, in a...
1
by: Mike | last post by:
Hi all, I have written a webservice which I am using in my smartphone applicaiton. I have tried the webservice with a WinForms client and it works time and time again perfectly. When I include...
8
by: Komandur Kannan | last post by:
We have a smart device application running on handhelds(Symbol MC9000G). The backend is Oracle and a middle tier web services development done in Vb.net. We use pessimistic Locking due to...
5
by: ChrisM | last post by:
Hi, I have written a stand alone WinForms application with an MS Access back-end for the (small)company I work for. They are now talking about moving a part of their operations into a second...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.