I think I finally figured out why my web services was only returning 1 record.  
I like to remove all the fields that the user doesn't need to see, so they 
don't get rows and rows of fields back that are even mapped.

Well I did this (did a remove on the left side and a cut on the right side), 
and everything was fine until I decided to regenerate and remap all the fields. 
(by clicking on the generate & map button).

So I simply recreated the web service and removed all the fields they don't 
want and everything is back to normal.  If they ever want to see more fields, 
I'll just have to recreate the webservice again (with the same name) and start 
over.  (I guess.  I can't find a way to get around this).

Thanks!

Lisa 


-----Original Message-----
From: Action Request System discussion list(ARSList) 
[mailto:[email protected]] On Behalf Of Grooms, Frederick W
Sent: Friday, October 07, 2011 6:43 PM
To: [email protected]
Subject: Re: Web Services and Qualifications

How do you have the output mapped?   When doing an OpGetList I usually have my 
structure like

<ROOT>   
     <GroupingElement>   
          <FieldValue1>   
          <FieldValue2>   
          <FieldValue3>   

The form is mapped at the GroupingElement level and nothing is mapped at the 
ROOT level.

Also . Do you have a MaxLimit value set?

Fred

-----Original Message-----
From: Action Request System discussion list(ARSList) 
[mailto:[email protected]] On Behalf Of Kemes, Lisa
Sent: Friday, October 07, 2011 7:48 AM
To: [email protected]
Subject: Re: Web Services and Qualifications

**
That's what I thought.  When I do this search in the UT, I get 400+ records 
back, but when I use Soap and the Web Server, only 1 record comes back.  I have 
used my account, and others (just to test).

I might have to create a ticket with BMC.  

This is supposed to be a very simple web service.  Not complicated at all.  Not 
sure why it would only bring back one record?

I'll do some more digging.

Thanks so much for your help!!

Lisa 

-----Original Message-----
From: Action Request System discussion list(ARSList) 
[mailto:[email protected]] On Behalf Of Alejandro Canon
Sent: Thursday, October 06, 2011 2:24 PM
To: [email protected]
Subject: Re: Web Services and Qualifications

**
Lisa:

Qualification field in GetList method for WS allows you to query all records 
with a specific condition. It acts like Advanced Search for any AR Form.
Therefore you should use exactly same search condition as you would use in AR 
Form for advanced search.
Example:
'Status' < "Resolved" AND 'Category' = "Hardware"

Also you may need to consider Company-based restrictions for user account who 
is used in WS. Multitenancy restrictions also apply for external queries when 
using AR authentication.

HTH,

Alejandro

-----Original Message-----
From: Action Request System discussion list(ARSList) 
[mailto:[email protected]] On Behalf Of Kemes, Lisa
Sent: Thursday, October 06, 2011 12:33 PM
To: [email protected]
Subject: Re: Web Services and Qualifications

**
One more question, I'm now only getting 1 record back in Soap UI.  Should I get 
more if I have more?  There are 400+ records with this qualification.

I'm doing a opgetlist

Lisa 

-----Original Message-----
From: Action Request System discussion list(ARSList) 
[mailto:[email protected]] On Behalf Of Kemes, Lisa
Sent: Thursday, October 06, 2011 11:22 AM
To: [email protected]
Subject: Re: Web Services and Qualifications

**
When I saw the STUPID mistake I did, I thought for sure it was just a typo in 
my email.  Nope, when back to soap UI and sure enough I had:

use <urn:Qualification>''Category' =  "ADMIN"</urn:Qualification>  (a double 
quote at the start of the field name).

DOH!!!!!

Sorry, and thanks for pointing this out.  Just tried it and it's working fine 
now.

Now I can go back to the programmer and officially say "It's working for me!"

Thanks again!!


Lisa 

-----Original Message-----
From: Action Request System discussion list(ARSList) 
[mailto:[email protected]] On Behalf Of Alejandro Canon
Sent: Wednesday, October 05, 2011 4:38 PM
To: [email protected]
Subject: Re: Web Services and Qualifications

**
Lisa:

You should use <urn:Qualification>'Category' =  "ADMIN"</urn:Qualification> 
Single quotes for Field Label and double quotes for Field Value, just like 
Advanced Search way.

HTH,

Alejandro

-----Original Message-----
From: Action Request System discussion list(ARSList) 
[mailto:[email protected]] On Behalf Of Kemes, Lisa
Sent: Wednesday, October 05, 2011 3:21 PM
To: [email protected]
Subject: Web Services and Qualifications

**
I set up a simple web service (with OPGETLIST only) for consumption and the 
user is saying that "nothing it coming back - not even errors"

So I created a project in Soap.  My Qualification is  
<urn:Qualification>"Category' =  "ADMIN"</urn:Qualification>  (Category is 
included in my Output).


But I'm getting the error "ERROR (4558): Qualification line error;"

Am I entering in the Qualification correctly?

In my qualification box on the Web Service it's XPATH(/ROOT/Qualification)

I want the customer to be able to search on any of the fields on the form.

ARS 7.1 p7
Oracle 10g
Windows 2003.

Thanks!

Lisa Kemes
AR System Developer
TE Information Systems
Global Infrastructure and Ops
+01 717 810 2408 tel
+01 717 602 9460 mobile
[email protected]
MS 161-43
P.O. Box 3608
Harrisburg, PA 17105-3608

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org attend wwrug11 
www.wwrug.com ARSList: "Where the Answers Are"

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
attend wwrug11 www.wwrug.com ARSList: "Where the Answers Are"

Reply via email to