• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 957
  • Last Modified:

Web Service ASMX - How to pass an Array of Objects

Hi..
How can I pass an Array of Objects to a web service. Can you point me to an example.
I'm using a ASMX (ASP.Net Web service)
thx
0
JElster
Asked:
JElster
  • 2
2 Solutions
 
Bob LearnedCommented:
What version of .NET are you using?  I would use JSON with the web method to pass objects, but that depends on the framework version.
0
 
JElsterAuthor Commented:
4.0...
Don't what to use JSON, most of the code is already written.
thx
0
 
Bob LearnedCommented:
Did you try to use an array in the web method call?
0
 
apeterCommented:
Ienumerable should be good i guess to pass an aary.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now