gicio Posted March 15, 2004 Posted March 15, 2004 Hi!! Yesterday I find out that two dimensional arrays are not supported by webservices. :( Can someone tell me how I can anyway use two dimensional arrays and web services?! regards, gicio Quote
mocella Posted March 15, 2004 Posted March 15, 2004 Depending on how you're using your services (ie which platforms you want to support - java, .net, etc), you could try to use a dataset for your return and just create a datatable of your 2d array info. Another approach, to keep with standard data-types, would be to use a string and use two delimiters to determine what was a column and what was a row - say the column delimiter is "," and row delimiter is ";": value1, value2, value3; value1, value2, value3; Then your caller would have to use a Join function to reassemble your strings into an array, but at least this is a supported type for web-services to return. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.