parameters that sent to web-service

M

Mr. x

Hello,
I am using web-service.
A web-service function can get some paramters as input, and return as a
result an output.
Can a web-service get a parameter which is input parameter, and also output
parameter ? - Can I declare web-service procedure, and not always a function
?

Need a sample code, please (VB.NET).

i.e, here's a function of web-service :

<WebMethod()> Public Function myfunc(param1 as integer, param2 as string) As
integer
..... do something ...
return 1
End function

Can param1 return to the client ?

Thanks :)
 
E

Eirik M.

Search this news group. I believe that not long ago someone posted an
example using the equivalent(?) C# 'out' reserved word.

Eirik M.
 

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

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,812
Latest member
GracielaWa

Latest Threads

Top