izaslavsky / incf-dai

Automatically exported from code.google.com/p/incf-dai
0 stars 2 forks source link

Not all methods support 'ResponseForm=xml' #14

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Call 
http://incf-dev.crbs.ucsd.edu:8080/atlas-whs?service=WPS&version=1.0.0&request=E
xecute&Identifier=GetStructureNamesByPOI&ResponseForm=xml&DataInputs=srsName=Mou
se_paxinos_1.0;x=1;y=4.3;z=1.78;vocabulary=Mouse_paxinos_1.0;filter=structureset
:Fine

What is the expected output? 

I would expect the same as with

http://incf-dev.crbs.ucsd.edu:8080/atlas-whs?service=WPS&version=1.0.0&request=E
xecute&Identifier=GetStructureNamesByPOI&DataInputs=srsName=Mouse_paxinos_1.0;x=
1;y=4.3;z=1.78;vocabulary=Mouse_paxinos_1.0;filter=structureset:Fine

(note the omission of 'ResponseForm=xml')

What do you see instead?

An error raised

As I understand the specs (version 0.6 as of Sep 21):
(i)  ResponseForm should always be understood
(ii) Even specifying 'xml' as output format which seems to be the default 
anyway should not hurt.

Original issue reported on code.google.com by raphael....@gmail.com on 24 Sep 2010 at 9:20

GoogleCodeExporter commented 9 years ago
At the very least this also applies to 

- ucsd.GetStructureNameByPOI

- ucsd.TransformPOI

- ucsd.GetTransformationChain

- ucsd.ListTransformations

Original comment by raphael....@gmail.com on 24 Sep 2010 at 2:29

GoogleCodeExporter commented 9 years ago
Hi Ilya/Dave,

Could you please help me to recall what did we settle on with respect to the 
ResponseForm. Did we decide on to include the ResponseForm in the service URL 
or not. Including would help if we want to extend our services to other outputs 
such as json etc... 

Sincerely,
Asif Memon

Original comment by amemon.u...@gmail.com on 6 Oct 2010 at 8:42