Returning an Array through web services
jwilder
Member Posts: 263
I have created a codeunit and published it for web services.
For example let's say the codeunit loops through 10 records in the customer table and assigns the No. to an array. How do I return this array through a web service.
I wonder if I can use the dimension property for the Return Variable of the codeunit?
For example let's say the codeunit loops through 10 records in the customer table and assigns the No. to an array. How do I return this array through a web service.
I wonder if I can use the dimension property for the Return Variable of the codeunit?
Jason Wilder
jwilder@stonewallkitchen.com
jwilder@stonewallkitchen.com
0
Comments
-
Sounds like you would want to return a XMLPort.Freddy Kristiansen
Group Program Manager, Client
Microsoft Dynamics NAV
http://blogs.msdn.com/freddyk
The information in this post is provided "AS IS" with no warranties, and confers no rights. This post does not represent the thoughts, intentions, plans or strategies of my employer. It is solely my opinion.0 -
I am guessing this might be on your blog or could you send me a link on where to find more info on how to do this?Jason Wilder
jwilder@stonewallkitchen.com0 -
I am using XMLPorts in a couple of samples on my blog - but not in C#.
I did however write a pretty detailed description as a reply to a post here:
http://www.mibuso.com/forum/viewtopic.php?f=32&t=29557&hilit=XMLPort
Hope that helpsFreddy Kristiansen
Group Program Manager, Client
Microsoft Dynamics NAV
http://blogs.msdn.com/freddyk
The information in this post is provided "AS IS" with no warranties, and confers no rights. This post does not represent the thoughts, intentions, plans or strategies of my employer. It is solely my opinion.0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions