Evening all
It's probably just me but I canna find a decent tutorial on SOAP / XML for
CFMX. I'm a soap / xml novice, so the basics definitely need explaining to me!
e.g. I've got this VB.NET code to convert, but would I do this with a CFINVOKE?
Dim sessionID As String = ""
Public Sub testlogin()
Dim ov As New authenticationService
' Construct Request Object
Dim lr As New loginRequest
Dim lrol As New loginRequestOvLogin
Dim lrolr As New loginRequestOvLoginRequest
' Set Parameter (ADD UID AND PASSWORD HERE)
lrolr.userid = "atestAccount"
lrolr.pwd = "aPassword"
lrol.request = lrolr
lr.ovLogin = lrol
' Send Login
Dim lrp As loginResponse = ov.login(lr)
sessionID = ov.headerValue.ovHeader.sessionid
End Sub
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Special thanks to the CF Community Suite Gold Sponsor - CFHosting.net
http://www.cfhosting.net
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:187751
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54