Ok ... the < worked. Thank you so much for your help. Now when I
actually get the search results the first row is missing ...
For example:
I am running this query in Soap:
('dt_Creation Date' >= "09/01/2006 00:00:00 AM") AND ('rad_Severity' = "1.")
AND ('rad_Status' <= "Pending")
It yields 6 results.
If I run the same query in Remedy:
('dt_Creation Date' >= "09/01/2006 00:00:00 AM") AND ('rad_Severity' = "1.")
AND ('rad_Status' <= "Pending")
I get 7 results. The first row seems to be missing every time. So I have
assumed it was my code ...
so here is my soap code that prints out the values:
my $response = $soap->OpGetList($header,$inputData);
#Check for Errors
if (&soapErrorCheck($response) == 0) {
# Process each of the records
foreach my $row($response->paramsout()) {
print($row->{'txt_Service_Event'}." ");
print($row->{'txt_Description'}."\n");
}
}
Am I missing something?
Any input would be greatly appreciated.
Thanks,
Sean
-----Original Message-----
From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] On Behalf Of Carey Matthew Black
Sent: Monday, October 02, 2006 11:39 PM
To: [email protected]
Subject: Re: [Soap Question] Problem with the <= in a query
Sean,
I have not tested this...
But I think your first dealing with an XML issue.
"<" instead of "<"
Now if ARS will understand that... well that might be a different problem.
:)
--
Carey Matthew Black
Remedy Skilled Professional (RSP)
ARS = Action Request System(Remedy)
Love, then teach
Solution = People + Process + Tools
Fast, Accurate, Cheap.... Pick two.
On 10/2/06, Sean Garrison <[EMAIL PROTECTED]> wrote:
> Hello listers,
>
> I have a quick question about Soap. We have a soap interface we are
> running and when I pass in a qualification like this:
>
> 'rad_Status' <= "Pending" I get an error:
>
> Fault: org.xml.sax.SAXParseException: The content beginning "<=" is not
> legal markup. Perhaps the "=" (d;) character should be a letter.
> Detail:
>
> I have tried using the html equivalent:
>
> 'rad_Status'%3C%3D%20%22Pending%22
>
> Which yields a "Bad Qualification" error. I have also tried escaping the
<
> value:
>
> 'rad_Status' \<= "Pending"
>
> That didn't doesn't work either.
>
>
> Anyone have any idea on how to get around this?
>
> Thanks,
>
> Sean
____________________________________________________________________________
___
UNSUBSCRIBE or access ARSlist Archives at http://www.wwrug.org
_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at http://www.wwrug.org