We are having a strange problem when calling a Web Service from a generated routine. If there is the following job structure
Sequence A
|
Sequence B
|
Web Service Routine
Sequence B will complete and the Web Service routine completes successfully but Sequence A will never complete because it seems to loose track of the state of Sequence B.
When looking at the log of Sequence B the time suddenly changes by an hour which may be connected to the controlling sequence loosing control of it.
Occurred: 11:03:48 AM On date: 7/12/2006 Type: Control
Event: Starting Job WebServiceRoutineCheck.
Occurred: 11:03:48 AM On date: 7/12/2006 Type: Info
Event: Environment variable settings: (...)
Occurred: 11:03:48 AM On date: 7/12/2006 Type: Info
Event: WebServiceRoutineCheck..JobControl (@Coordinator): Starting new run of checkpointed Sequence job
Occurred: 11:03:49 AM On date: 7/12/2006 Type: Info
Event: WebServiceRoutineCheck..JobControl (exceptionReceive): Debug 09
Occurred: 11:03:49 AM On date: 7/12/2006 Type: Info
Event: WebServiceRoutineCheck..JobControl (exceptionReceive): My Time= 11:03:49:
Occurred: 10:03:51 AM On date: 7/12/2006 Type: Info
Event: WebServiceRoutineCheck..JobControl (exceptionReceive): Debug 10
Occurred: 10:03:51 AM On date: 7/12/2006 Type: Info
Event: WebServiceRoutineCheck..JobControl (exceptionReceive): My Time= 10:03:51:
Occurred: 10:03:51 AM On date: 7/12/2006 Type: Info
Event: WebServiceRoutineCheck..JobControl (@Sequencer_1): OKOKOKOKOK
Occurred: 10:03:51 AM On date: 7/12/2006 Type: Info
Event: WebServiceRoutineCheck..JobControl (@Coordinator): Summary of sequence run (...)
Occurred: 10:03:51 AM On date: 7/12/2006 Type: Control
Event: Finished Job WebServiceRoutineCheck.
By debuging the DS generated routine I can see that the change in system time takes place when the Web Service is actually called.
Code: Select all
*************************************************************
* Call the actual web service, returning the Ans
************************************************************
Ans = ''
ds%%status = callWebService( ds%%wsHdl, 'ARRAY', Ans )
Code: Select all
CALL DSLogInfo( 'My Time= ' : Oconv(Time(), 'MTS:'):': ' , RoutineName )
Anyone got any ideas???????
Thanks, Nick.