[ |../../index.htm#lansa/webserviceseng01_0345.htm]
You are here:

Adjusting the User's Authenticate Method to Read Invocation Status in HTTP Response

Add a parameter called InvocationStatus in the Authenticate method. This parameter receives an object of type ExternalServiceInvocationStatus, which we previously defined.
Define_Map For(*INPUT) Class(#ExternalServiceInvocationStatus) Name(#InvocationStatus) Pass(*BY_REFERENCE) Mandatory(*NULL)
And add the following code to read the status from the response object after #Request.DoGet: