Known types and web services

  • Thread starter Thread starter Steve B.
  • Start date Start date
S

Steve B.

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
 
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/tutorial...01f-d36a82f107e8/net-web-services--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/adonet_source_code_generator.asp
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top