Geoportal Helpdesk - Support #2722 EEA: HTTP Status codes returned by the INSPIRE Validator

Similar documents
Installation Guide: cpanel Plugin

Module 2 Legal Infrastructure

2. When should I send the courtesy copy of the Motion? No less than five (5) days before the hearing.

How to obtain and record consent

5 v. 11 Cv (JSR) 6 SONAR CAPITAL MANAGEMENT LLC, et al., 7 Defendants x 9 February 17, :00 p.m.

Analysis of AMS Elections 2010 Voting System

The Commercial Court of Uganda: 1996 to 2006

Table of Contents. Table of Figures

Understanding Patent Issues During Accellera Systems Initiative Standards Development

IBM Cognos Open Mic Cognos Analytics 11 Part nd June, IBM Corporation

Citizen engagement and compliance with the legal, technical and operational measures in ivoting

Data 100. Lecture 9: Scraping Web Technologies. Slides by: Joseph E. Gonzalez, Deb Nolan

ACS Fellows Program Online Nomination System. Step-by-Step Instructions

Creating and Managing Clauses. Selectica, Inc. Selectica Contract Performance Management System

Review: Background on Bits. PFTD: What is Computer Science? Scale and Bits: Binary Digits. BIT: Binary Digit. Understanding scale, what does it mean?

English as a Second Language Podcast ESL Podcast Legal Problems

Yes, my name's Priit, head of the Estonian State Election Office. Right. So how secure is Estonia's online voting system?

Historical unit prices - Super - Australian Shares

ForeScout Extended Module for McAfee epolicy Orchestrator

Programming with Android: SDK install and initial setup. Dipartimento di Informatica: Scienza e Ingegneria Università di Bologna

Appendix D: Survey Toplines

CM/ECF Next Generation. Additional Stakeholders Functional Requirements Group (ASFRG)

Paper No Filed: October 7, 2015 UNITED STATES PATENT AND TRADEMARK OFFICE BEFORE THE PATENT TRIAL AND APPEAL BOARD

Tariff 9900: OHD Percentage Based Fuel Cost Adjustment Historical Schedule ( )

DCUSU Elections 2018 Nomination Form

MIG-T - Consultation #2825 Draft TGs for SOS-based download services & Usage of O&M and SWE in INSPIRE (D2.9)

Bold Ideas: The Inventor s Guide to Patents 33. Section 2. Obtaining a Patent: The Four Basic Steps. Chapter 9

ALBERTA OFFICE OF THE INFORMATION AND PRIVACY COMMISSIONER ORDER P August 13, NINKOVICH GRAVEL LTD. and SAFETY DOCUMENTS

Extended Validation SSL Certificate Request

ASK ALL: Q.1 Do you use any of the following social networking sites? [RANDOMIZE A-D FOLLOWED BY E-K, KEEP L LAST] Yes No No answer

IN THE SUPERIOR COURT OF THE STATE OF ARIZONA

STATE OF WISCONSIN CIRCUIT COURT DANE COUNTY Branch 9

Appealing about the police investigation into your complaint

The Northeast Ohio Coalition for the Homeless, et al. v. Brunner, Jennifer, etc.

Created by Michael Ahlert, Melissa Castillo, Anika Forrest and Friends of Farmworkers

Employee Guide to Legal Advice

Understanding Patent Issues During IEEE Standards Development

ENGLISH FOR LAW - International Commercial Contracts EXERCISES

Understanding Patent Issues During IEEE Standards Development

FOR RELEASE: TUESDAY, FEBRUARY 17 AT 12:30 PM

James M. Maloney. Attorney at Law Proctor in Admiralty. P.O. Box Bayview Avenue Port Washington, NY April 7, 2014

LexisNexis IRS Verify Get Started For Insurance Solutions. Customer Education

1/2/ ANNETTE FAKLIS MORIARTY, C.S.R.

Fragomen Privacy Notice

EX306. The small claims track in the civil courts. About this leaflet. If your dispute has gone to court. Important information about this leaflet

Poliscope. 3A: Paper Prototype. Janet Gao, Kim Le, Kiyana Salkeld, Ian Turner

Understanding Patent Issues During IEEE Standards Development

Walton County v. Save Our Beaches, Inc. SC SC IN THE CASE LAW CITED THERE WAS FEDERAL CASE LAW WHICH HAS BEEN OVERRULED BY THE UNITED

Contract Law. 2. Contract formation: a) mutual assent: offer & acceptance b) consideration: need to have an exchange of something.

1. How many people have been arrested under s144 LASPO (or offence code 125/86)?

Tier 4 FAQs for Students

Clause Logic Service User Interface User Manual

Dispute resolution: Complaints. Chapter 1. Treating complainants fairly

Understanding Patent Issues During IEEE Standards Development

Geoportal Helpdesk - Support #2710 SI - IGEA: Upgrade of Slovenian Inspire Metadata portal

13 May Questions 1-14 released separately

IN THE CIRCUIT COURT OF THE SIXTH JUDICIAL CIRCUIT IN AND FOR PINELLAS COUNTY, FLORIDA CASE NO CI-19 UCN: CA015815XXCICI

Review of Lab 9. Review Lab 9. Social Network Classes/Driver Data. Lab 10 Design

The Florida Bar v. Bruce Edward Committe

E-Verify Solutions effective January 2015 page 1

State of Minnesota Department of Public Safety Bureau of Criminal Apprehension

Case 2:11-cr KJM Document 258 Filed 03/20/14 Page 1 of 16 IN THE UNITED STATES DISTRICT COURT FOR THE EASTERN DISTRICT OF CALIFORNIA.

INFORMATION AS THE FOUNDATION FOR SOCIAL SOLIDARITY THE ROLE OF PARLIAMENTARY LIBRARIES AND RESEARCH SERVICES

International Fees Policy

FREQUENTLY ASKED QUESTIONS KANSAS OPEN MEETING ACT (KOMA) RULES Revision date: May 2009

TREND: Do you approve or disapprove of the way Donald Trump is handling his job as president?

>> THE NEXT CASE ON THE DOCKET IS GARRETT VERSUS STATE OF FLORIDA. >> WHENEVER YOU'RE READY. >> MAY IT PLEASE THE COURT, MY NAME IS MEGAN LONG WITH

EX304. I ve started a claim in court - what happens next? About this leaflet. What happens if the defendant does not respond to my claim?

Commission on the Status of Women Forty-ninth session New York, 28 February 11 March 2005

Clubs Council Executive Meeting Agenda/Minutes

Cairns Airport financial year passenger totals.

Do you feel things in the country are going in the right direction, or do you feel things have gotten off on the wrong track? 67% 56% 51% 51% 49% 49%

Fees for Submitting Corrected Electronic Title Appendices. AGENCY: U.S. Copyright Office, Library of Congress.

DBS Update Service Employer guide

PEW RESEARCH CENTER FOR THE PEOPLE & THE PRESS JUNE 2013 POLITICAL SURVEY FINAL TOPLINE June 12-16, 2013 N=1,512

KETCHIKAN EXECUTIVE BOARD MEETING January 19 th, 2017 Annabelle s: Bar Side 5:30 PM 7:00 PM

IN THE CIRCUIT COURT OF THE THIRD CIRCUIT STATE OF HAWAII. Plaintiff, vs. CIVIL NO Defendant.

Paper 24 Tel: Date: June 23, 2017 UNITED STATES PATENT AND TRADEMARK OFFICE BEFORE THE PATENT TRIAL AND APPEAL BOARD

5. Fill up the data in excel utility

ID Checker Guidance Notes. DBS Online Disclosure Guide (ebulkplus)

What happens if the defendant wants to defend all of my claim?

MISO SCHEDULE 5 SCHEDULES SCHEDULE 5. Spinning Reserve

1 SUPERIOR COURT OF THE STATE OF CALIFORNIA 3 DEPARTMENT CJC 48 HON. CHRISTOPHER K. LUI, JUDGE

PRRI March 2018 Survey Total = 2,020 (810 Landline, 1,210 Cell) March 14 March 25, 2018

Unigestion UK Limited Complaints Management Policy

VISA LOTTERY SERVICES REPORT FOR DV-2007 EXECUTIVE SUMMARY

[Slide 26 displays the text] Jurisdiction and Other Limits on Judicial Authority

1 P age GUIDE TO ROBERT S RULES

Amendments to Florida Rules of Appellate Procedure

DevOps Course Content

2. Do you approve or disapprove of the job Congress is doing? Sep 08 17% 73 9 Democrats 28% Sep 08 23% 68 8 Republicans 10% 87 3

26-May Dear Prof. Cairney:

Counties of Winnebago and Boone

FAQs for SERVICE BUREAU

B e f o r e: LORD JUSTICE DAVIS MR JUSTICE CRANSTON. Between:

UNITED STATES BANKRUPTCY COURT WESTERN DISTRICT OF PENNSYLVANIA

Immigration and Nationality Directorate

Dashboard. Dec 3, Mar 14, 2010 Comparing to: Site % Bounce Rate. 96,372 Visits. 390,253 Pageviews. 00:07:41 Avg.

INSPIRE from the EU perspective Where we stand and the road ahead

RE: Abuse of court process and violation of the court rules by Madame Justice Francine Van Melle of the Superior Court of Justice

Transcription:

Geoportal Helpdesk - Support #2722 EEA: HTTP Status codes returned by the INSPIRE Validator 18 Mar 2016 09:21 am - Quaglia Status: Assigned Start date: 18 Mar 2016 Priority: Normal Due date: Assignee: Quaglia % Done: 0% Category: Geoportal Services Estimated time: 0.00 hour Target version: Submitting Organisation: EEA Proactive: Description Country: Originating UI: From: Prunayre [mailto:fx.prunayre@gmail.com] Sent: 18 March 2016 07:25 To: Quaglia <angelo.quaglia@ext.jrc.ec.europa.eu> Cc: Paul Hasenohr <paul.hasenohr@eea.europa.eu> Subject: INSPIRE validator question Dear, In some cases (not sure when) the validator return HTTP status 301 this case is not cover in the example. http://inspire-geoportal.ec.europa.eu/validator2/html/usingaswebservice.html java client. Do you think it would be better to follow redirects by default and in that case handle response when status is 200? When doing this, I then sometimes get 403. Any suggestions? Thanks for your help. Regards. History #1-18 Mar 2016 09:22 am - Quaglia Sent: 18 March 2016 09:08 Cc: 'Paul Hasenohr' 30 Jan 2019 1/8

Dear, It depends on whether you send a multipart form data or plain text. The first is designed to be invoked by browsers the second by services. Which binding are you using? If you use this binding you are not supposed to ever receive back a 301 (moved permanently): @POST @Consumes(MediaType.TEXT_PLAIN) @Produces({MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON}) /system/rich/rich_files/rich_files/000/000/513/original/mail158.png if (created) { ObjectFactory objfactory = new ObjectFactory(); return Response.created(redirectURI).entity(objFactory.createResource(retVal)).build(); } else { log.error("could not create an INSPIRE Resource"); return Response.status(Status.BAD_REQUEST).build(); } } catch (InvalidResourceException ioe) { log.error(ioe.getmessage()); return Response.status(Status.BAD_REQUEST).build(); } catch (Exception ex) { 30 Jan 2019 2/8

log.error(ex.getmessage()); return Response.serverError().build(); If you use the following binding instead yes, since it is the way to ask the user s browser to redirect to the final and permanent location of the validation report: @POST @Consumes(MediaType.MULTIPART_FORM_DATA) @Produces({MediaType.TEXT_HTML, MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON}) /system/rich/rich_files/rich_files/000/000/514/original/mail159.png If your findings prove otherwise and you can send me a test case that would help me a lot. Many thanks and best regards, #2-21 Mar 2016 11:53 am - Quaglia Sent: 21 March 2016 11:09 Cc: 'Paul Hasenohr' 30 Jan 2019 3/8

Dear, Did you receive my reply? Best regards, #3-21 Mar 2016 11:53 am - Quaglia From: Prunayre [mailto:fx.prunayre@gmail.com] Sent: 21 March 2016 11:14 To: Quaglia <angelo.quaglia@ext.jrc.ec.europa.eu> Subject: Re: INSPIRE validator question Dear, Sure I did and tried quite some options last week. Using the client demo code provided I still sometimes get code 301 but unfortunately can't manage to make a working test to reproduce the issue 100% of the time. So I ended up with another option, where: * the dashboard harvest the CSW, run validation for all records * and if validation fails with 301, a background task take care of updating the validation status. So far, since friday, it looks to be working fine. I'll have to investigate further to exactly know why the request is not handled as synchronous. Thanks for your response. #4-21 Mar 2016 11:54 am - Quaglia Sent: 21 March 2016 11:37 30 Jan 2019 4/8

Dear, I am sorry for that but which binding are you using of the two? #5-21 Mar 2016 11:54 am - Quaglia From: Prunayre [mailto:fx.prunayre@gmail.com] Sent: 21 March 2016 11:40 To: Quaglia <angelo.quaglia@ext.jrc.ec.europa.eu> Subject: Re: INSPIRE validator question I tried different options but maybe you'll easily point out what is wrong. See here https://github.com/inspire-mif/daobs/blob/daobs-1.0.x/tasks/validation-checker/src/main/java/org/daobs/tasks/validation/inspire/onlineservicevalid torclient.java#l120 Thanks. #6-21 Mar 2016 11:56 am - Quaglia Sent: 21 March 2016 11:52 From what I see, you are sending a MultipartEntity In this case, after a timeout of a few seconds, the request becomes asynchronous and the client receives a 301 that redirects it to final location of the summary report. 30 Jan 2019 5/8

This is the same binding the browser uses when the validator is opened from the website. The reason why the execution cannot stay synchronous for too long is that users behind corporate firewall complained they could not see the completion of the test. /system/rich/rich_files/rich_files/000/000/519/original/mail163.png If you send text_plain you are not supposed to be redirected and the process stays synchronous: /system/rich/rich_files/rich_files/000/000/518/original/mail164.png #7-21 Mar 2016 12:22 pm - Quaglia From: Prunayre [mailto:fx.prunayre@gmail.com] Sent: 21 March 2016 11:57 To: Quaglia <angelo.quaglia@ext.jrc.ec.europa.eu> Subject: Re: INSPIRE validator question ok so the Java client example needs to be updated? http://inspire-geoportal.ec.europa.eu/validator2/html/usingaswebservice.html Thanks. #8-21 Mar 2016 12:23 pm - Quaglia 30 Jan 2019 6/8

Sent: 21 March 2016 12:22 Actually, you are right, thanks! I will do that. The Groovy client uses instead the text/plain binding. #9-21 Mar 2016 12:47 pm - Quaglia Sent: 21 March 2016 12:47 In addition, the 301 is not a good response in any case. It has to be 303 See Other. #10-21 Mar 2016 01:04 pm - Quaglia Sent: 21 March 2016 13:04 Dear, I have read again your initial question. I am sorry I missed the point. The reason you sometimes get 403 after the redirection is that sometimes the redirection is requested too early and the target folder is still empty. 30 Jan 2019 7/8

It happens sometimes and I have not been able to work on the issue yet. However, the redirection URL is good and after a while the 403 goes away. The browser shows a temporary page until in the xml the following element makes its appearance which means the summary validation report has been updated for closure: /GeoportalResource/PullBatchReportResource/AuditRecord/LastUpdateDate You avoid all these complications using the other binding. #11-21 Mar 2016 01:10 pm - Quaglia From: Prunayre [mailto:fx.prunayre@gmail.com] Sent: 21 March 2016 13:08 To: Quaglia Subject: Re: INSPIRE validator question Yes using the synchonous mode would be better for the dashboard. Also could you confirm that using probenetworkservices in URL parameters like this is still correct? http://inspire-geoportal.ec.europa.eu/geoportalproxywebservices/resources/inspireresourcetester?probenetworkservices=false&probedatareso rcelocators=false Thanks. #12-21 Mar 2016 01:11 pm - Quaglia That has not changed and should still work as before. #13-30 Aug 2016 07:21 pm - Quaglia - Category set to Geoportal Services 30 Jan 2019 8/8