[propget] HRESULT StatusCode([out, retval] short * statusCode);
Following a call to ISOAPTransport::Receive, the StatusCode property will return the last HTTP status code returned from the server
Any valid HTTP status code [e.g. 200]
dim t
set t = CreateObject("pocketSOAP.HTTPTransport.2")
t.send "http://example.org/", e.serialize
' note that parse will call t.receive to get the results
e.parse t
wscript.echo "Last HTTP status code = " & t.StatusCode
Copyright © Simon Fell, 2000-2004. All rights reserved.