Create ASP.NET VB Web Service with Array
Posted on 2011-02-16
Hi all, I'm new at the web service development thing...and hopefully someone can help me design a basic web service that does the following:
Receives three pieces of data:
- OrderID (Int32)
- OrderStatus (String, 1)
- OrderDate (DateTime)
Now, if the client was connecting to the web service and giving me one record at a time with a response, it would be a no-brainer on how to create this...
Basically, what I need to do is accept multiple records at once...Is an array the best way to accept?
Then, if all succeeds, I send them back a message or code that says the import was successful. If it failed, (or a record or two failed), I send them back an array or something that tells them which orders failed to be accepted.
Any code examples in VB would be greatly appreciated.