is possible call a NetWebClient into a process?? i have this code in TakeRecord but don't execute a call:
PacketReceived = ''
PostString = xmlFile.xmldata
net.CanUseProxy = 1 ! Can use a proxy
net.HeaderOnly = 0 ! We want the whole page
net.AsyncOpenUse = 12 ! Use AsyncOpen 12 seconds (recommended)
net.AsyncOpenTimeOut = 1200 ! Up to 12 seconds to connect
net.InActiveTimeout = 9000 ! Set IdleTimeout 90 seconds
net.ConnectionKeepAlive = 0
net.ContentType = 'text/xml; charset=utf-8'
net.AcceptEncoding = ''
!net.ContentLength = Len(Clip(PostString))
! Set the SOAPAction header to tell the web service which method to execute
net.customheader = 'SOAPAction: "
http://tempuri.org/PaymentsServices"'
! The packet is contstructed, so you can post it to the webservice
!PacketSent = PostString
net.Fetch('
http://www.crimpr.net:88/WsPaymentSummary?UserName=usernama&Password=password&AcctNo='&clip(Bal:Pin)&'&BlType='&clip(Bal:BlType))
If net.Error
Message ('Could not be post the SOAP request to this web service. Error ' & net.Error |
& ': ' & net.InterpretError())
SetCursor()
end
i hava another template EasyXml and with this template run fine