Actually I just checked it again and it returns "yes" but same difference.
So line 3 is good.  And line 4 is very straightforward. 
 
If I run: 
 
<cfset myStruct = StructNew()>
<cfset structInsert(myStruct, "UserName", " xxx ")>
<cfset structInsert(myStruct, "Password", " xxx ")>
 

<cfscript>
 
 // Create the web service object.
 ws = CreateObject("webservice", "
<http://demo.xxx.com/services/gmap/Mapservice.asmx?wsdl>
http://demo.xxx.com/services/gmap/Mapservice.asmx?wsdl";);
  
 // Set the username header as a string.
addSOAPRequestHeader(ws, " <http://demo.xxx.com/services/>
http://demo.xxx.com/services/";, "CredentialSoapHeader", myStruct, true);
 
</cfscript>
 
<cfset soapReq=GetSoapRequest(ws)>
   
 
 
<CFdump var="#soapReq#">

I get:


Unable get the SOAP message as XML. 




-------------------------------------------------------------
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