Hi Gav,
This works for me:
<cfset stArguments = StructNew()/> <cfset stArguments["logOn"] = StructNew()/> <cfset stArguments["logOn"]["PIN"] = 1234/> <cfset stArguments["logOn"]["markerId"] = 31337/>
<cfinvoke webservice="https://bosho.boardofstudies.nsw.edu.au/cgi-bin/jsmdirect?mobilemarkerservice_v40+wsdl" method="LogOn" argumentcollection="#stArguments#" returnvariable="tSession"/>
<cfoutput> status: #tSession.status#<br> sessionId: #tSession.sessionId#<br> markerName: #tSession.markerName# </cfoutput>
CFMX 6.1 on WinXP
Gavin Cooney wrote:
Hi All,
I'm having a bit of trouble calling a webservice and was wondering if someone could help me out.
The WSDL file for the webservice is: https://bosho.boardofstudies.nsw.edu.au/cgi-bin/jsmdirect?mobilemarkerservice_v40+wsdl
It takes a tLogOn structure containing an integer PIN and an integer markerId.
It returns a tSession object containing string status, an integer sessionid and a string markerName.
If you get the user/pin wrong it will return an error structure- but i can't seem to get even this.
Can anyone get CF to call it properly?
Regards
Gav
--- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/
--
Lindsay Evans, Interface Developer, Red Square Productions
http://redsquare.com.au/
--- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/
