Hi All,

I'm having problems trying to consume a CFMX 6.1 Struct with a .NET SOAP Client.

Here is my very simple cfc:

<cfcomponent>
  <cffunction name="getMessage" access="remote" returntype="string" output="no">
    <cfargument name="name" type="string" required="yes">
    <cfreturn "This is a simple CF Web service you passed  " & arguments.name & " as a paramter.">
  </cffunction>
  <cffunction name="getStruct" access="remote" returntype="struct" output="no">
    <cfset var pubvisit = structNew()>
    <cfset pubvisit.beer = "lots">
    <cfset pubvisit.blart = "true">
    <cfreturn pubvisit>
  </cffunction>
</cfcomponent>

Both of the methods work fine and I'm getting data back to my .NET SOAP Client its just that I cannot convert the returned structure content to anything useful. The problem is that in the WSDL generated by CFMX it defines a custom type "Map". I have tried casting this as a hashtable,Idictionary and a host of other things in C# but it doesn't work. Does anybody know what this "Map" object is and how I can decode it?

Adam
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to