I am trying to figure out how to send a Page via a HTTP.OutboundAdapter to a URL from Ensemble.
We have a URL that I am able to pass PNo=xxxx%PMsg=xxxx as parameters to send the page to a pager.
http://xxxxx.xxxxx.xxx/Employee/Tools/Paging/SendPage.aspx?PNo=1817&PMsg=Test
When I send the above URL through a REST client I receive a Response of "SENT".
But when I try to send it through the HTTP.OutboundAdpater I do not get a response.
Method Sample(pReq As osuwmc.Page.DataStructures.Page, Output pResp As %Net.HttpResponse) As %Status
{
set pInput = "PNo="_pReq.PagerNumber_"&PMsg="_pReq.Message
set tSC = ..Adapter.Post(.tResponse,,.pInput)
if ('tSC)
{
$$$LOGERROR(tSC)
}
quit tSC
}
When I call ..Adapter.Post(.tResponse,,.pInput) am I to assume that .pInput is putting
the data into the body of the message and not appending it to the URL?
How can I input parameters to be added to the end of the URL that is
being passed in the settings of the Operation?
Thanks
Scott