Questions in order (almost)...

Yes the Create operation will have to be called for each individual record they 
want to create.

The difference between Get and Get List is Get returns 1 record and Get List 
returns a set of records.  You will want to use a Get List to return the list 
of records for a qualification.  I recommend you structure your result in the 
following manner:
   Root   
     Grouping Element (whatever you want to call it)  
       Field 1   
       Field 2   
       Field 3   
       Field 4   
       Field 5   
       Field 6   
       Field 7   

Map the form to the Grouping Element instead of Root and set the MaxOccurs to 
unbounded.  The reason for the Grouping Element is that you can only have 1 
Root element in an XML so this way you will return multiple rows.

Yes the Set operation will have to be called for each individual record they 
want to create.

Fred

-----Original Message-----
From: Action Request System discussion list(ARSList) 
[mailto:arsl...@arslist.org] On Behalf Of Nall, Roger
Sent: Wednesday, September 23, 2009 4:43 PM
To: arslist@ARSLIST.ORG
Subject: Web Service Get Operation

** 
Hello All,
 
ARS 7.1 patch4
Win2003
SQL2000
 
I have created a web service for another system to consume. There are three 
operations in the web service; Create, Set, Get. This web service will be 
called from a .net web page. Users can create on or many records at a time from 
the web page. Can I assume that the web service will have to be called for each 
record?
 
When using the Get operation users will need to get list of records that are 
assigned to them. I have created one element in the Input for the Get. This 
element I have called Qualification. The web site will pass me the User Name 
and Password of the user and the qualification i.e.; 'Assigned To' = "user". 
There are seven fields in the output of the Get operation. The developer on the 
.net side is having trouble getting the data back. He seems to think he will 
need to call the web service seven times for each record that exists. He bases 
this on the fact that when he tried to use the web service to retrieve one 
record he only saw the first column in the output. He has asked me if there is 
any way to pass all of the data in one record in one element in the web 
service. As I am not that familiar with this technology so I am not sure how to 
answer him.
 
When using the Set operation they will be 'approving' several records at a time 
from a web site. Again, I assume they will have to call the web service for 
each record. Finally, can someone explain the difference between the Get and 
Get List operation? Thanks in advanced for any help.
 
Regards,
 
Roger Nall
Manager, SA Remedy
Desk Phone: 972-464-3712
Mobile: 973-652-6723
 
 

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor:rmisoluti...@verizon.net ARSlist: "Where the Answers Are"

Reply via email to