Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > How can I use a Class in WebService and Client Application

Thread Tools

How can I use a Class in WebService and Client Application

Bernd Brenner
Posts: n/a
Hi there,

I have a class SyncDB (see code below), which I want to use in both a
WebService AND in a Client Application.

But when creating the proxy class via wsdl.exe, I only can use the
Property "I". All the member functions of the class SyncDB seem not to
be usable on the client application.

Is there a solution for my problem? I tried to make a class library
with all the classes which are used in both projects (windows app as
client and web service). But I cannot reference the library from both

Thanks in advance,

Bernd from Munich

class SyncDB
private int i;

public int I
get { return i; } set { i = value;} }

public string myFunc
return "That's Me";
Reply With Quote

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
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
Nested Class, Member Class, Inner Class, Local Class, Anonymous Class E11 Java 1 10-12-2005 03:34 PM
Can webservice client use basic auth Old Man ASP .Net Web Services 0 09-10-2004 02:46 PM
use another webservice in a webservice Mr. x ASP .Net Web Services 0 09-26-2003 10:59 PM
Can a web application call methods on a webservice running in the same application Ron Vecchi ASP .Net Web Services 0 08-04-2003 09:08 PM