wwSoap::oHTTP

Use this property to pass in a pre-configured HTTP object to allow you configure the HTTP operation of wwSOAP.

o.oHTTP

Example

oHTTP = CREATE("wwHTTP")
oHTTP.nConnectTimeout = 30
oHTTP.nHTTPConnectType = 1
oHTTP.cUserAgent = "Rick's great Web Client"
oHTTP.cHTTPProxyName = "proxy-server.hawaii.rr.com:8080"

oSOAP = CREATE("wwSOAP")
oSOAP.oHTTP = oHTTP

oSOAP.AddParameter("ldLastOn",DATE()-10)
oSOAP.AddParameter("ldTimeZone",0)
oSOAP.AddParameter("lnProvider",0)
oSOAP.AddParameter("lcType","")

lvResult=oSOAP.CallWSDLMethod("GetItems","http://www.foxcentral.net/foxcentral.wsdl")

ShowXML(lvResult)

See also:

Class wwSoap

© West Wind Technologies, 1996-2024 • Updated: 11/25/01
Comment or report problem with topic