Hey Fred,

 

Thank you for your response..

 

I actually did try it from soapUI when the developer of the consuming system
informed me about the error when he didn't find a match. I see the 500 error
on soapUI too.. But if I search for a value that does exist, it does return
a result.

 

Joe

 

  _____  

From: Action Request System discussion list(ARSList)
[mailto:[email protected]] On Behalf Of Grooms, Frederick W
Sent: Tuesday, September 17, 2013 10:52 PM
To: [email protected]
Subject: Re: Web Service Get Operations behavior...

 

Yes, that is normal from an HTTP perspective (where the consuming system
does not handle the Soap Fault).   You get that because ARS returns a Soap
Fault and closes the connection.  If the consuming system does not detect
the Soap Fault then all it sees is the connection close and to it that is a
HTTP 500 error

 

Run it from SoapUI and you will see you get a Soap Fault stating no results
found

 

Fred

 

 

From: Action Request System discussion list(ARSList)
[mailto:[email protected]] On Behalf Of Joe D'Souza
Sent: Tuesday, September 17, 2013 7:17 PM
To: [email protected]
Subject: Web Service Get Operations behavior...

 

** 

I think this is as designed but I wanted to cross verify..

 

If I have a WS that I publish to the 'world' to perform a Get operation, and
lets say the search qualification returns no results.

 

The is it normal to get a '500 - Internal Server Error' as a response to a
search where no results are to be found?

 

For some reason I thought the normal thing was to get an envelope with the
elements defined to be returned with blank tags if no results were returned.

 

I am on ARS 7.6.04 Patch 003 - if it's a bug in this version upgrading it at
this point is not an option. So if the above is not a regular response I
should have got for no matching entries I may have to live with that for a
while. I just want to know if this is what you'll get on your versions of
the ARS if at all you'll have published web services. Please run a search
that would return no rows and let me know what you get..

 

Cheers

 

Joe

 

 

 

_ARSlist: "Where the Answers Are" and have been for 20 years_

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
"Where the Answers Are, and have been for 20 years"

Reply via email to