Click here to Skip to main content
16,005,222 members
Home / Discussions / C#
   

C#

 
GeneralNeed help using an abstract WebMethod Pin
Snowblind379-Jul-05 5:32
Snowblind379-Jul-05 5:32 
GeneralRe: Need help using an abstract WebMethod Pin
Member 20300389-Jul-05 9:05
Member 20300389-Jul-05 9:05 
GeneralRe: Need help using an abstract WebMethod Pin
Snowblind379-Jul-05 9:44
Snowblind379-Jul-05 9:44 
GeneralRe: Need help using an abstract WebMethod Pin
leppie9-Jul-05 14:30
leppie9-Jul-05 14:30 
GeneralRe: Need help using an abstract WebMethod Pin
Snowblind379-Jul-05 17:47
Snowblind379-Jul-05 17:47 
GeneralRe: Need help using an abstract WebMethod Pin
Snowblind3710-Jul-05 3:34
Snowblind3710-Jul-05 3:34 
GeneralRe: Need help using an abstract WebMethod Pin
S. Senthil Kumar10-Jul-05 3:37
S. Senthil Kumar10-Jul-05 3:37 
GeneralRe: Need help using an abstract WebMethod Pin
Snowblind3710-Jul-05 6:14
Snowblind3710-Jul-05 6:14 
You are right Senthil! It is the actual implementation of the WebMethod. This is where I got stumped. It turned out that when I ran my wsdl.exe I specified "server". This gave me the server implementaion of the class which was an abstract class.

So on the server side there is an AccountsImpl that implements the abstract method QueryProfile(). This is the class that would do all the work for my call to QueryProfile().

But on the client side all I wanted/needed to do was create a ServiceAccounts object. So when I ran the wsdl.exe without specifying "server" (default is "client") I was given a ServiceAccounts class that was not abstract.

The problem then was that I had obtained (through wsdl.exe) the server implementation when I really needed the client implementation.

A valuable lesson was learned......and the best part is I still have some hair left, I didn't throw my computer out the window, I petted the neighbour's cat instead of stomping on it and my car is still in the driveway.

Regards,



Reserving CodeBlind For The Future..............
QuestionVideo preview from external device - how to? Pin
Gal Shadeck9-Jul-05 3:22
Gal Shadeck9-Jul-05 3:22 
GeneralRedefining Enums Pin
Chris Davies9-Jul-05 2:59
Chris Davies9-Jul-05 2:59 
GeneralRe: Redefining Enums Pin
S. Senthil Kumar9-Jul-05 4:02
S. Senthil Kumar9-Jul-05 4:02 
GeneralRe: Redefining Enums Pin
Uwe Keim9-Jul-05 8:01
sitebuilderUwe Keim9-Jul-05 8:01 
GeneralRe: Redefining Enums Pin
Chris Davies9-Jul-05 9:19
Chris Davies9-Jul-05 9:19 
GeneralListView Column Width resize Pin
ARBR9-Jul-05 2:01
ARBR9-Jul-05 2:01 
GeneralRe: ListView Column Width resize Pin
mav.northwind9-Jul-05 20:52
mav.northwind9-Jul-05 20:52 
GeneralSet up problem Pin
ksanju10009-Jul-05 1:30
ksanju10009-Jul-05 1:30 
GeneralListView - Columns collection design-time question Pin
iliyang8-Jul-05 23:51
iliyang8-Jul-05 23:51 
QuestionPass byte array? Pin
Dominik Reichl8-Jul-05 23:08
Dominik Reichl8-Jul-05 23:08 
AnswerRe: Pass byte array? Pin
User 20930738-Jul-05 23:25
User 20930738-Jul-05 23:25 
GeneralRe: Pass byte array? Pin
S. Senthil Kumar8-Jul-05 23:51
S. Senthil Kumar8-Jul-05 23:51 
AnswerRe: Pass byte array? Pin
S. Senthil Kumar8-Jul-05 23:50
S. Senthil Kumar8-Jul-05 23:50 
GeneralRe: Pass byte array? Pin
User 20930739-Jul-05 0:27
User 20930739-Jul-05 0:27 
GeneralRe: Pass byte array? Pin
S. Senthil Kumar9-Jul-05 0:38
S. Senthil Kumar9-Jul-05 0:38 
GeneralRe: Pass byte array? Pin
Dominik Reichl9-Jul-05 0:46
Dominik Reichl9-Jul-05 0:46 
QuestionCreate executable? Pin
Expert Coming8-Jul-05 21:43
Expert Coming8-Jul-05 21:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.