Calling a Web Service Method
Once the SOAPAMCP process is configured and running, any NonStop application can access the associated Web service by sending the process a predefined IPM request and waiting for the response. Each IPM request contains a SOAPAMCP header which contains a 2 byte method code. The method code indicates which Web service method should be invoked by this IPM request. The remainder of the IPM consists of fields that correspond to the parameters of the selected Web service method.
Once the SOAPAMCP process invokes the Web service method it returns the response in an IPM. This response IPM also contains a standard SOAPAMCP header which contains a 2 byte response code. If the response code is zero, the remainder of the IPM consists of fields that correspond to the output parameters of the Web service method. If the response code is non-zero then the IPM is a standard SOAPAMCP error reply structure.