Posts

Showing posts with the label SOAP

Creating SOAP example using coldfusion

Image
Many coldfusion programmer faces  a problem to connect SOAP with CFC. Here a example to fix the problem that explain how to connect SOAP with CFC?. ----callcfc.cfc---- <cfcomponent output="false" >      <cffunction name="getelement" access="remote" returntype="any" output="false">         <cfargument name="name" type="string" required="false"/>         <cfargument name="firstNumber" type="numeric" required="false"/>         <cfargument name="secondNumber"type="numeric" required="false"/>         <cfreturn arguments.name & " Have " & arguments.firstNumber + arguments.secondNumber & " Point ">      </cffunction> </cfcomponent>  -----Index.cfm <cfsavecontent variable="soap"><?xml version="1.0" encoding="UTF-8"?> ...