the code below does :) and works quite nicely :)

tony


<!--- invoke first webservice method, validateUser --->

        <cfinvoke 
        
webservice="https://www.navtrak.net/StreetSuiteAPI/SSClientAPI/StreetSui
te.asmx?wsdl" 
                method="ValidateUser" 
                user="{username}" pass="{password}" 
                returnvariable="xmlReturn">

        <cfset xmlReturn = xmlParse(xmlReturn)>

        <cfset userIdNumber = xmlSearch(xmlReturn,'/LOGACK/Userid')>
        <cfset password = xmlSearch(xmlReturn,'/LOGACK/GUID')>  

<!--- invoke second webservice with values from first invocation --->
        
<cfinvoke 
        
webservice="https://www.navtrak.net/StreetSuiteAPI/SSClientAPI/StreetSui
te.asmx?wsdl" 
                method="AssetHistoryTimeFrame" 
                returnvariable="xmlReturnAddressHistory">
                
                <cfinvokeargument name="UserId"
value="#userIdNumber[1].xmlText#">
                <cfinvokeargument name="Password"
value="#password[1].xmlText#">
                <cfinvokeargument name="StartDate" value="02/03/2004
20:00:00.000">          
                <cfinvokeargument name="EndDate" value="02/03/2004
23:59:59.999">                          
                <cfinvokeargument name="NetworkId" value="{ip address
here}">                         
                
</cfinvoke>
        
        <cfset xmlReturnVehicleHistory =
xmlParse(xmlReturnAddressHistory)>



....tony

r e v o l u t i o n w e b d e s i g n 
[EMAIL PROTECTED]
www.revolutionwebdesign.com

its only looks good to those who can see bad as well
-anonymous

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Dave Watts
Sent: Tuesday, February 24, 2004 7:27 PM
To: [EMAIL PROTECTED]
Subject: RE: [CFCDev] OT: invoking C# webservice


> Has anyone invoked a C# webservice using CFMX?

Yes. You may have problems when working with .NET datasets, or with
other complex types. You may also have problems with complex WSDL like
that used by the MapPoint service. If you post what you're trying to do,
someone may have an answer.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
phone: 202-797-5496
fax: 202-797-5444

----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' 
in the message of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

An archive of the CFCDev list is available at
www.mail-archive.com/[EMAIL PROTECTED]

----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email
to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' 
in the message of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported
by Mindtool, Corporation (www.mindtool.com).

An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]

Reply via email to