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

Adjusting the FileServices' Copy Method to Read Invocation Status in HTTP Response

Add a parameter called InvocationStatus in the Copy 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.DoPost: