I unfortunately can't help, I have never done this. I can advise you to look at the National Weather Service web service thread of a week or so ago, it dealt with passing a set of complex parameters to a PHP web service. It might offer some insight.
I would also remind one that today is a holiday. I suspect several of the list's best and brightest may have the day off. -------------- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA "C code. C code run. Run code run. Please!" - Cynthia Dunning ...-----Original Message----- ...From: Matthew Small [mailto:[EMAIL PROTECTED] ...Sent: Monday, January 17, 2005 5:00 AM ...To: CF-Talk ...Subject: CF - .NET Web service Interop ... ...Does anybody have any idea how to send a complex datatype from CF to a ....NET ...webservice? I've tried creating an object in CF that directly maps to the ...same structure in .NET but all I get is a data type mismatch error. This ...really stinks. I have my example code below. ... ...Thank you, ...Matt Small ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...CF Code: ... ...ComplexObject.cfc ...====================================== ...<cfcomponent> ... <cfproperty name="Val1" type="String"/> ... <cfproperty name="Val2" type="String"/> ... <cfproperty name="Val3" type="String"/> ...</cfcomponent> ... ... ...ComplexObjService.cfc ...======================================== ...<cfcomponent> ... <cffunction name="getComplexObject" returntype="ComplexObject"> ... <cfobject name="CObj" component="ComplexObject"> ... <cfset CObj.val1 = "FirstName"> ... <cfset CObj.val2 = "MiddleName"> ... <cfset CObj.val3 = "LastName"> ... <cfreturn CObj> ... </cffunction> ...</cfcomponent> ... ...Index.cfm ...========================================== ...<cfobject component="ComplexObjService" name="CObj"> ... ...<cfinvoke webservice="http://msserver:85/bulkmailwebservices.asmx?WSDL" ...method="GetEmailObject" returnvariable="theResult"> ... <cfinvokeargument name="CObj" value=CObj.getComplexObject() > ...</cfinvoke> ... ...<cfoutput> ... #theResult# ...</cfoutput> ... ... ... ... ... ....NET Code ...========================================== ... ...Public Class ComplexObject ... Public Val1 As String ... Public Val2 As String ... Public Val3 As String ... End Class ... ... ... ... ...<WebMethod()> Public Function GetEmailObject(ByVal CObj As ComplexObject) ...As ...String ... Return "Val1 = " + CObj.Val1 + "<br>" + _ ... "Val2 = " + CObj.Val2 + "<br>" + _ ... "Val3 = " + CObj.Val3 + "<br>" ... End Function ... ... ... ... ... ...Thank you, ...Matthew Small ... ... ... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:190758 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

