Fetch without return

Morning all.

I am struggling with the option to fetch without return.

Scenario:

I call a Natural subprogram from PHP that needs to kick off another Natural program without waiting for a return from the called program (error handling done in the called program with email verification), but the calling program still waits for the called program to finish executing before finishing.

The reason for this scenario is that the called program sometimes takes to long to complete and then I get a timeout in PHP.

According to the Natural manual, a Fetch without return should do this, but in my case it still waits for the called program to finish.

Could someone please point me in the right direction?

Thanks - Albert

Albert,

how are you calling Natural from PHP ?

Hi Wolfgang,

We are calling Natural through a WSDL server.

Then I could imagine that you are missing the http-header (key: ”exx-reliable” value: ”AUTO-COMMIT”)
See general intro to reliable RPC here

1 Like

Thanks Finn,

I am going to look into it and get back to you with the result.

This topic was automatically closed after 1083 days. New replies are no longer allowed.