Can I pass an Array to a Web Service?

P

Paul D. Fox

I have a 1-Dimensional Array containing "IDs" which I would like to pass
into a web service for processing. How can I do that?
 
P

Phillip Williams

In the webservice function's definition pass a parameter of type array:
<WebMethod()> _
Public Function MyFunction(ByVal MyParam As String()) As MyReturnType
'------ statements that process the request
End Function
 

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

Forum statistics

Threads
473,997
Messages
2,570,239
Members
46,827
Latest member
DMUK_Beginner

Latest Threads

Top