HII have a LOTUSSCRIPT AGENT (Got the code from Codestore) running on my server to send send xml file using the http post to another server.
When I send the file, it does not send XML information :
CODE TO GENERATE XML AND SEND USING HTTP POST
'process to build XML
strXML = ||
strXML = strXML + || + doc.snacID(0) + ||
strXML = strXML + || + doc.referenceID(0) + ||
strXML = strXML + || + strCustName + ||
strXML = strXML + || + doc.bankValue(0) + ||
strXML = strXML + || + doc.branchCodeEntered(0) + ||
strXML = strXML + || + doc.RMAccountNumber(0) + ||
strXML = strXML + || + Format( doc.createdDate(0), “YYYY-MM-DD”) + ||
strXML = strXML + || + strCustName + ||
strXML = strXML + ||
'http post code
If (Trim$(strXML ) <> “” ) Then
URL_Filenet = |http://fileProj/actopen/commitPage.aspx?strXML=|
Set objHttp = CreateObject(“Microsoft.XMLHTTP”)objHttp.open “POST”, URL_Filenet, False, “”, “”
objHttp.setRequestHeader “Content-type”, “application/x-www-form-urlencoded”
objHttp.send(strXML)
response = objHttp.responseText
Set xmlDOM = CreateObject(“Microsoft.XMLDOM”)
xmlDOM.async = False
xmlDOM.loadXML(response)
End If
can anyone help on this.
Thanks in advance.