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

C#

 
Generalon c# delegates Pin
Asim N.13-Jun-04 23:14
Asim N.13-Jun-04 23:14 
GeneralRe: on c# delegates Pin
Serge Lobko-Lobanovsky14-Jun-04 2:11
Serge Lobko-Lobanovsky14-Jun-04 2:11 
GeneralRe: on c# delegates Pin
Heath Stewart14-Jun-04 4:05
protectorHeath Stewart14-Jun-04 4:05 
GeneralProblem with System namespace Pin
Azghar Hussain13-Jun-04 22:25
professionalAzghar Hussain13-Jun-04 22:25 
GeneralRe: Problem with System namespace Pin
Stefan Troschuetz13-Jun-04 22:32
Stefan Troschuetz13-Jun-04 22:32 
GeneralTreeView with Backgroung Image Pin
yonitgil13-Jun-04 22:14
yonitgil13-Jun-04 22:14 
GeneralRe: TreeView with Backgroung Image Pin
Heath Stewart14-Jun-04 4:01
protectorHeath Stewart14-Jun-04 4:01 
GeneralCan't use System.Version in webservice method Pin
Jan R Hansen13-Jun-04 21:37
Jan R Hansen13-Jun-04 21:37 
Hi,

I'm trying to transfer an argument to a webmethod of type System.Version. The method is declared like

public string Something(System.Version version, string strText) {...}

but when a client (C# program) calls the method, I get the following type information for the parameters:

string MyWebservice.Something(some.strange.namespace.Version version, string strText)

- where I would expect

string MyWebservice.Something(System.Version version, string strText)

So I can't transfer a System.Version as first argument. What am I doing wrong ? Can't such types be transferred to a webservice ? Have I forgot to scope something with the correct namespace ?

The SOAP packet description that displays when accessing the .asmx file says something like

<something xmlns="the.namespace.here">
<strtext>string
<version>


Where I would expect

<something xmlns="the.namespace.here">
<strtext>string
<version>System.Version


Any help would be greatly appreciated.

Best regards

Jan Hansen

Do you know why it's important to make fast decisions? Because you give yourself more time to correct your mistakes, when you find out that you made the wrong one. Chris Meech on deciding whether to go to his daughters graduation or a Neil Young concert
GeneralRe: Can't use System.Version in webservice method Pin
Heath Stewart14-Jun-04 3:51
protectorHeath Stewart14-Jun-04 3:51 
GeneralRe: Can't use System.Version in webservice method Pin
Jan R Hansen14-Jun-04 4:35
Jan R Hansen14-Jun-04 4:35 
GeneralRe: Can't use System.Version in webservice method Pin
Heath Stewart14-Jun-04 4:44
protectorHeath Stewart14-Jun-04 4:44 
GeneralInterop and Collections Pin
ddcs13-Jun-04 21:00
ddcs13-Jun-04 21:00 
Generalsetup project Pin
Dpriya13-Jun-04 20:46
Dpriya13-Jun-04 20:46 
GeneralRe: setup project Pin
The_Soul_Of_Rock13-Jun-04 21:11
The_Soul_Of_Rock13-Jun-04 21:11 
GeneralRe: setup project Pin
Dpriya14-Jun-04 1:17
Dpriya14-Jun-04 1:17 
GeneralRe: setup project Pin
Serge Lobko-Lobanovsky14-Jun-04 2:17
Serge Lobko-Lobanovsky14-Jun-04 2:17 
GeneralRe: setup project Pin
Heath Stewart14-Jun-04 3:35
protectorHeath Stewart14-Jun-04 3:35 
QuestionHow can I initialize tapiFax in C# Pin
GuruVN13-Jun-04 19:24
GuruVN13-Jun-04 19:24 
GeneralDataGridBoolColumn Pin
quocbao13-Jun-04 15:22
quocbao13-Jun-04 15:22 
GeneralRe: DataGridBoolColumn Pin
DougW4813-Jun-04 17:17
DougW4813-Jun-04 17:17 
GeneralRe: DataGridBoolColumn Pin
Heath Stewart13-Jun-04 18:47
protectorHeath Stewart13-Jun-04 18:47 
GeneralRe: DataGridBoolColumn Pin
DougW4814-Jun-04 9:22
DougW4814-Jun-04 9:22 
GeneralRe: DataGridBoolColumn Pin
Heath Stewart13-Jun-04 18:54
protectorHeath Stewart13-Jun-04 18:54 
Generalhelp about print Pin
ggl16513-Jun-04 15:01
ggl16513-Jun-04 15:01 
GeneralAttachment Database Pin
The_Soul_Of_Rock13-Jun-04 14:31
The_Soul_Of_Rock13-Jun-04 14:31 

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.