3 Replies Latest reply on Apr 23, 2007 2:07 PM by insuractive

    WSDL CFC send getMessage() Method

    Skylordru1
      I am trying to create a cfc wsdl to be picked up by asp .net or whatever. Am I missing sending something, getMessage() method or something?

      http://www.wrighter.com/cfca/xmlserv/users-works3.cfc?wsdl Current file.

      <cfcomponent>
      <cffunction name="getMessage" access="remote" returntype="xml">
      <cfquery name="result" datasource="#request.dsn#">
      SELECT Firstname
      FROM Loger
      </cfquery>
      <cfxml variable="returnXML">
      <?xml version="1.0" encoding="iso-8859-1"?>
      <names>
      <cfoutput query="result">
      <name>#firstname#</name>
      </cfoutput>
      </names>
      </cfxml>
      <cfreturn returnXML>
      </cffunction>
      </cfcomponent>