Page 1 of 1

About Full Document Retrieval

Posted: Fri May 22, 2015 8:22 am
by jhchoi
Dear OPS Team:

I was able to retrieve every single pdf file without error until around May 20.
However, I found out there may be some problem to retrieve every single pdf file.
Even though I set the range page 2 or 5, I can only get the first page or unexpected page.

For your reference, I usually use below method:
rest-services/published-data/images/EP/2229440/B9/fullimage
Accept: application/pdf
X-OPS-Range: 2

Total pages of the publication number EP.2229440.B9 is 109 pages.

Would you mind check the Full document retrieval method?

Sincerely yours,
JAE HO, CHOI

Re: About Full Document Retrieval

Posted: Fri May 22, 2015 8:38 am
by EPO / OPS Support
Dear user,

I am very sorry, but I see no problem on our end. I can retrieve all pages of that B9 document without any problems:
http://ops.epo.org/3.1/rest-services/pu ... ge?Range=2
http://ops.epo.org/3.1/rest-services/pu ... ge?Range=5

Re: About Full Document Retrieval

Posted: Fri May 22, 2015 8:57 am
by jhchoi
Dear OPS Team:

I already knew that the below link is OK.
http://ops.epo.org/3.1/rest-services/pu ... ge?Range=5

If you use X-OPS-Range HTTP Header, you can find out there might be a problem.
Would you mind Check one more time by using X-OPS-Range HTTP Header?

Bellows are description in the OPS Document.

Note: In order to provide user with full document, OPS internally must do image inquiry
and then assemble full document page by page. It's quite resource consumptive
process and might load OPS significantly. Thus it is not possible to get the full document
in one request but you can download it page by page. To do this, use the X-OPS-Range
HTTP header or Range query parameter to indicate the page you want to retrieve as
shown below

GET http://ops.epo.org/rest-services/publis ... /fullimage
Accept: application/pdf
X-OPS-Range: 1
Accept header is optional and is described above.

X-OPS-Range header is obligatory. It may accept only a single number (not a range).
The resulting document consists of a single page (or single image) with a given number
as counted in a full document with all pages.

Sincerely yours,

Re: About Full Document Retrieval

Posted: Fri May 22, 2015 11:53 am
by EPO / OPS Support
Thanks for this additional information. I have forwarded this to our developers and they will have a look at this. I will post their findings here as soon as I get reply from them and please note that on Monday, 25 May the EPO here in Vienna is closed due to national holiday.

Kind regards,

OPS support

Re: About Full Document Retrieval

Posted: Tue May 26, 2015 10:49 am
by EPO / OPS Support
Dear user,

This is a workaround proposal from our IT and in the meantime we will try to fix the issue so that you can use the system as you were used to until now.
If they specify

Code: Select all

Pragma:no-cache 
request http header the cache will be bypassed and

Code: Select all

X-OPS-Range
will work again
I hope this helps in the meantime,

OPS support

Re: About Full Document Retrieval

Posted: Thu May 28, 2015 2:54 am
by jhchoi
Dear OPS Team:

Thank you for your reply.
I will use the proposal syntax until this issue will be fixed.

Best regards,
JAE HO, CHOI