Hi Hector,
>> The NTWS application send an xml request to the second application in the postInsert embed.
to do this right this should be a call to another procedure in the app. ie embed this API request in another procedure, and call that procedure from PostInsert.
This other procedure must be a Window procedure (you can hide the window), you make the request at the end of the INIT method, and you handle the result in the PageReceived method. You must post an event:closewindow from both PageRecieved and ErrorTrap to make the window nice and automatic.
cheers
Bruce