Question
Yone Moreno · Nov 4

How could we activate a SOAP Operation only during a time slot‽

Hello community,

It would be appreciated if you could read and respond to us:

 

➡️ We need to activate a SOAP Operation during a time slot, in order to send messages to the target system, only for a few hours; for example from 4am to 8am.

 

The requirement is to do this without a scheduled task. This is because when changing nodes, in the production mirrors, there are difficulties, challenges, or issues with scheduled tasks.

 

Therefore, we need a mechanism that allows us to ensure that the Operation is executed even after a node change.

 

Please could you point us to documentation, code samples, example projects, repositories, or texts, where this is explained?

 

We have read: 🧐👁

https://docs.intersystems.com/irislatest/csp/docbook/DocBook.UI.Page.cls...

https://docs.intersystems.com/irislatest/csp/docbook/DocBook.UI.Page.cls...

https://docs.intersystems.com/irislatest/csp/docbook/DocBook.UI.Page.cls...

https://docs.intersystems.com/irislatest/csp/docbook/DocBook.UI.Page.cls...

 

Thank you very much for your time, help and replies 🙇🙏💭

 

 

00
1 0 2 58
Log in or sign up to continue

Yone, hello.

I imagine a lot of scenarios regarding your problem, but I'm missing some details, so I ask?

- You can only send messages within the period informed, but collect/prepare messages throughout the day, more or less like this: [SOAP inbound] (24/7) -> [BPL] (24/7) -> [ SOAP Operation] [4am to 8am, daily]?

- Your problems with mirror servers are because they must be in different timezones and the schedule doesn't mirror each server's local time.

I will base my premise on the above conditions, if not, please skip the next few lines.

Try to split the operation into two separate processes:
- A process to collect and store the original messages in a temporary table.
[SOAP inbound] (24/7) -> [BPL] (24/7) [to write temporary table]

- Another process which will be a 24/7 ensemble service but which only triggers messages based on a time analysis in UTC format and not local time.
[InboundAdapter] (24/7) -> [BPL] (24/7) -> [ analyzes the condition relating to 4am to 8am UTC and sends messages to ] -> [SOAP Operation] (24/7)

Hope this helps.