Skip to Content

Web service Time Limit Response.

Hi experts how can i by abap create a time limit to response of a web service created by PI?

Or it isnt possibe in abap and only the PI Can´do it.?

TRY.

CREATE OBJECT lr_ser.

CATCH cx_ai_system_fault.

ENDTRY.

TRY.

CALL METHOD lr_ser->solucao_sintegra

EXPORTING

output = output

IMPORTING

input = input.

CATCH cx_ai_system_fault INTO lr_oref.

ENDTRY.



Its sproxy service.

When it dont find data It takes a long time to response that doni find data.

I want to define a timelimit to response.by ABAP.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Oct 19, 2015 at 12:50 PM

    Hi Ronaldo,

    I think it would be better check why the WS from PI takes so long when it has no data to return....

    As far as i know, and maybe i'm wrong , the only way to achieve (to shorten) a HTTP connection timeout is with the ICM parameters, and you need hep from Basis people to do so...

    Anyway, if you force a timeout before the response comes you won't know if the call has been sucessfull...

    Within the ABAP proxies there's an option to make the call asyncronous... maybe you could try this approach, although i think you should first check the issue on PI.

    just some ideas ..

    Regards

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.