Hi Ade. Actually no. I am trying to create this to pass it as a header for a soap request. My complete code looks like this:
<cfprocessingdirective suppresswhitespace="Yes"> <cfcontent type="text/xml; charset=utf-16"> <cfxml variable="creds"> <tns:AuthenticationHeader id="h_id1"> <SessionID xsi:type="xsd:string">XXXXX</SessionID> </tns:AuthenticationHeader> </cfxml> </cfprocessingdirective> <cfscript> vinService = CreateObject("webservice", " http://www.codebump.com/services/zipcodelookup.asmx?wsdl"); addSOAPRequestHeader(vinService,"http://skats.net/services/", "AuthenticationHeader", creds, FALSE); returnStruct = vinService.GetDistanceBetweenZipCodes(zip1 = "91709",zip2 = "90034"); </cfscript> <cfdump var="#returnStruct#"> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:225846 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