Got it working - just had to remove the extraneous characters from the soap
request:
 
 
 
<cfset requestXML = '<?xml version="1.0" encoding="UTF-8" standalone="no" ?>

<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/";
xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/";
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/";
xmlns:tns="http://demo.campaigntracking.com/services/";
xmlns:s="http://www.w3.org/2001/XMLSchema";
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/";
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/";
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
<SOAP-ENV:Header>
<tns:CredentialSoapHeader
xmlns:tns="http://demo.campaigntracking.com/services/";>
  <tns:Username>xxx</tns:Username> 
  <tns:Password>xxx</tns:Password> 
  </tns:CredentialSoapHeader>
  </SOAP-ENV:Header>
<SOAP-ENV:Body>
<tns:GetPlayDefinition
xmlns:tns="http://demo.campaigntracking.com/services/";>
  <tns:WMSPlayDefinitionID>297</tns:WMSPlayDefinitionID> 
  </tns:GetPlayDefinition>
  </SOAP-ENV:Body>
  </SOAP-ENV:Envelope>' />
  
<cfset sURL='http://demo.campaigntracking.com/services/gmap/Mapservice.asmx'
/> 
 
<cfhttp url='#sURL#' method="post" >  
<cfheader name="Content-Type" value="text/xml;" charset="utf-8"/>  
<cfhttpparam type="xml" value="#trim(requestXML)#"/> 

</cfhttp>  
  
<CFSET MyXmlCode = CFHTTP.FileContent>
 
<CFdump var="#XMLParse(MyXmlCode)#">  
 
Thank you very much everyone!!!!!!




-------------------------------------------------------------
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------

Reply via email to