Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Known types and web services

Reply
Thread Tools

Known types and web services

 
 
Steve B.
Guest
Posts: n/a
 
      12-12-2006
Hi,

I've a WS that waits for a System.Version object in parameters.
When I add the web reference to my ws in VS, the generated proxy create a
new version class in the reference, instead of using the system.version one.


How can I "force" the web service reference to use System.Version instead of
recreating new class ?
Thanks,
Steve


 
Reply With Quote
 
 
 
 
Robbe Morris [C# MVP]
Guest
Posts: n/a
 
      12-14-2006
You don't. However, I suspect that your issues around this
can be worked around by using this approach. Skip down
to the part where it talks about copying classes that are
not of the same type.

http://www.eggheadcafe.com/tutorials...es--excep.aspx



--
Robbe Morris - 2004-2006 Microsoft MVP C#
I've mapped the database to .NET class properties and methods to
implement an multi-layered object oriented environment for your
data access layer. Thus, you should rarely ever have to type the words
SqlCommand, SqlDataAdapter, or SqlConnection again.
http://www.eggheadcafe.com/articles/..._generator.asp





"Steve B." <(E-Mail Removed)_swap_msn_and_com> wrote in message
news:(E-Mail Removed)...
> Hi,
>
> I've a WS that waits for a System.Version object in parameters.
> When I add the web reference to my ws in VS, the generated proxy create a
> new version class in the reference, instead of using the system.version
> one.
>
>
> How can I "force" the web service reference to use System.Version instead
> of recreating new class ?
> Thanks,
> Steve
>


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Element 'ElephantTreeView' is not a known element. This can occur ifthere is a compilation error in the Web site, or the web.config file ismissing. Options Dave ASP .Net 0 07-05-2010 03:54 PM
How .NET web services client handles exceptions from Java web services? John ASP .Net Web Services 4 03-31-2006 10:13 PM
What is the difference between C# windows Services and web services in vs.net? Nick ASP .Net 1 09-12-2005 02:33 PM
Web Services and user defined types Paolo Nunberg ASP .Net Web Services 2 10-03-2004 08:00 AM
Testing contents of string for known types Carl Youngblood Ruby 1 12-22-2003 06:30 PM



Advertisments