>> I am working on a web service exposed for use in an .Net application.
>
>Can you post the entire code of your CFC method?
>
I have tried this piece of code just inside <cfcomponent> as well as have tried
placing it inside a CFC method.
<cfscript>
if(IsSOAPRequest()) {
AddSOAPResponseHeader("http://www.ids.com/IDS/", "ApplicationID", "",
false);
AddSOAPResponseHeader("http://www.ids.com/IDS/", "Signature", "",
false);
}
</cfscript>
Here's the complete code:
<cfcomponent displayname="IDS" namespace="http://www.ids.com/IDS/"
access="remote" bindingname="IDS" >
<cfprocessingdirective pageencoding = "utf-8" />
<cfsetting showdebugoutput="no" enablecfoutputonly="yes" />
<cffunction name="getApplicationName" access="remote"
returntype="string" output="no">
<cfreturn Application.$APPLICATION_NAME />
</cffunction>
<cffunction name="getWhatsNew" access="remote" returntype="string">
<cfargument name="sUserLdapAlias" type="string" required="yes"
displayname="User LDAP" />
<cfset var iBusinessId = 0 />
<cfset var iSegmentId = 0 />
<cfscript>
if(IsSOAPRequest()) {
AddSOAPResponseHeader("http://www.ids.com/IDS/", "ApplicationID", "", false);
AddSOAPResponseHeader("http://www.ids.com/IDS/", "Signature", "", false);
}
</cfscript>
....
....
....
....
</cffunction>
</cfcomponent>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:303392
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4