Click here to Skip to main content
15,913,316 members
Home / Discussions / C#
   

C#

 
GeneralRe: Passing Public int Variable to Win Form Pin
Dave Brighton8-May-04 6:12
Dave Brighton8-May-04 6:12 
GeneralRe: Passing Public int Variable to Win Form Pin
Colin Angus Mackay8-May-04 6:48
Colin Angus Mackay8-May-04 6:48 
GeneralChanging the fugly Setup Wizard icon in MSI files. Pin
Tony Archer7-May-04 9:14
Tony Archer7-May-04 9:14 
GeneralRe: Changing the fugly Setup Wizard icon in MSI files. Pin
Heath Stewart7-May-04 9:45
protectorHeath Stewart7-May-04 9:45 
GeneralRe: Changing the fugly Setup Wizard icon in MSI files. Pin
Tony Archer7-May-04 13:54
Tony Archer7-May-04 13:54 
GeneralPassing collection via Web Services Pin
Diego F.7-May-04 8:32
Diego F.7-May-04 8:32 
GeneralRe: Passing collection via Web Services Pin
Heath Stewart7-May-04 9:40
protectorHeath Stewart7-May-04 9:40 
GeneralRe: Passing collection via Web Services Pin
Diego F.7-May-04 12:33
Diego F.7-May-04 12:33 
Thank you for your answer. I'll try to be more specific.

I have a main class that is declared in a DLL. There are clients (Pocket PCs) that fill these objects and send them to a web service. The web service has to store these objects (in a Hashtable for instance) temporarily because the clients will access the objects later.

The problems:
- The web service has some web methods that receive and return my objects, but the proxy creates a ligth class with only the properties (not the methods). This class is incompatible with my original class, so I have to use this new class in my clients to use the web methods. The first problem with this is that the clients can't use the DLL; instead they'll use the modified class.
- I did some tests and it works with basic classes (with basic types as strings as attributes) but my original class has an ArrayList. In the modified class, the ArrayList is converted to Object[] and worst, I have to expose directly the ArrayList (well, the Object[]), instead of using methods, so the clients are more complex and I can't change the structure without modifying the clients.

My question:
- Is there any way to wrap the original class and send all to the web service(any kind of XML structure), so I can work in the clients with the original objects and send them directly to the web service?

If not, is my design wrong? I can't use Remoting as Compact Framework does not support it.

Regards,

Diego F.
GeneralRe: Passing collection via Web Services Pin
Heath Stewart8-May-04 19:27
protectorHeath Stewart8-May-04 19:27 
GeneralRe: Passing collection via Web Services Pin
Dave Brighton21-Jun-04 1:15
Dave Brighton21-Jun-04 1:15 
GeneralPassing params to an embedded control in IE Pin
TigerNinja_7-May-04 8:22
TigerNinja_7-May-04 8:22 
GeneralRe: Passing params to an embedded control in IE Pin
Heath Stewart7-May-04 9:37
protectorHeath Stewart7-May-04 9:37 
GeneralRe: Passing params to an embedded control in IE Pin
TigerNinja_7-May-04 10:57
TigerNinja_7-May-04 10:57 
GeneralRe: Passing params to an embedded control in IE Pin
TigerNinja_18-May-04 8:34
TigerNinja_18-May-04 8:34 
GeneralRe: Passing params to an embedded control in IE Pin
Heath Stewart18-May-04 9:24
protectorHeath Stewart18-May-04 9:24 
Questionhow can I clear out null characters in a string var? Pin
djkno37-May-04 8:03
djkno37-May-04 8:03 
AnswerRe: how can I clear out null characters in a string var? Pin
Jeff Varszegi7-May-04 8:15
professionalJeff Varszegi7-May-04 8:15 
GeneralRe: how can I clear out null characters in a string var? Pin
djkno37-May-04 8:17
djkno37-May-04 8:17 
GeneralA theoretical question involving Direct3D Pin
Andres Coder7-May-04 7:59
Andres Coder7-May-04 7:59 
GeneralRe: A theoretical question involving Direct3D Pin
TigerNinja_7-May-04 8:26
TigerNinja_7-May-04 8:26 
GeneralRe: A theoretical question involving Direct3D Pin
Heath Stewart7-May-04 9:32
protectorHeath Stewart7-May-04 9:32 
GeneralRe: A theoretical question involving Direct3D Pin
Dave Brighton21-Jun-04 1:20
Dave Brighton21-Jun-04 1:20 
QuestionHow do I send messages to another form Pin
kayhustle7-May-04 7:31
kayhustle7-May-04 7:31 
AnswerRe: How do I send messages to another form Pin
CWIZO7-May-04 7:39
CWIZO7-May-04 7:39 
GeneralRe: How do I send messages to another form Pin
Jeff Varszegi7-May-04 7:45
professionalJeff Varszegi7-May-04 7:45 

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.