[OTDev] A&A clarifications
surajit ray mr.surajit.ray at gmail.comWed Mar 9 14:39:58 CET 2011
- Previous message: [OTDev] The Tamboti Tree Use Case (Bioclipse meets OpenTox)
- Next message: [OTDev] A&A clarifications
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi , I am consistently getting IOException. on this curl -i -H "Content-Type: application/xml" -T /home/maxtox/opentox_policies/maxtox.pol -X POST http://opensso.in-silico.ch/Pol/opensso-pol -H "subjectid:AQIC5wM2LY4SfcxzV1Iccj/JnoWbB6u8KYiuxgJt6QEFVH4=@AAJTSQACMDE=#" The token is valid. I do not whats happening with the policy. I have attached the policy file again. Regards Surajit On 9 March 2011 18:59, Andreas Maunz <andreas at maunz.de> wrote: > surajit ray wrote on 03/09/2011 02:18 PM: >> >> Hi, >> >> on doing a >> >> curl -i -X GET -H >> "subjectid:AQIC5wM2LY4SfcyH9ELyynby356aOvAkimDZeEz2wzWTSX4=@AAJTSQACMDE=#" >> >> http://opensso.in-silico.ch/Pol/opensso-pol/allow_ambit_dataset_access_for_maxtox >> >> to list my policy i got >> >> HTTP/1.0 404 Not Found >> Server: nginx/0.6.32 >> Date: Wed, 09 Mar 2011 13:17:24 GMT >> Content-Type: text/html;charset=utf-8 >> Proxy-Connection: keep-alive >> Content-Length: 952 >> >> <html><head><title>Apache Tomcat/6.0.26 - Error >> report</title><style><!--H1 >> >> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;} >> H2 >> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;} >> H3 >> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;} >> BODY >> {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} >> B >> {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} >> P >> {font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A >> {color : black;}A.name {color : black;}HR {color : >> #525D76;}--></style> </head><body><h1>HTTP Status 404 -</h1><HR >> size="1" noshade="noshade"><p><b>type</b> Status >> report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>The >> requested resource () is not available.</u></p><HR size="1" >> noshade="noshade"><h3>Apache Tomcat/6.0.26</h3></body></html> > > Ouch, you detected another inconsistency... > You need to specify your policy name in the header, like so: > > curl -i -X GET -H > "subjectid:AQIC5wM2LY4SfcyH9ELyynby356aOvAkimDZeEz2wzWTSX4=@AAJTSQACMDE=#" > -H "id: allow_ambit_dataset_access_for_maxtox" > http://opensso.in-silico.ch/Pol/opensso-pol/ > > Please have a look at the API: > http://opentox.org/dev/apis/api-1.2/AA > > Regards Andreas > -- Surajit Ray Partner www.rareindianart.com -------------- next part -------------- A non-text attachment was scrubbed... Name: maxtox.pol Type: application/octet-stream Size: 1090 bytes Desc: not available URL: <http://lists.opentox.org/pipermail/development/attachments/20110309/4244536f/attachment.obj>
- Previous message: [OTDev] The Tamboti Tree Use Case (Bioclipse meets OpenTox)
- Next message: [OTDev] A&A clarifications
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Development mailing list