Thanks Mark. It’s a remote webservice I am trying to call – Not a CFC.

 

From: [email protected] [mailto:[email protected]] On Behalf Of Mark Bureau
Sent: Wednesday, February 16, 2011 6:44 PM
To: [email protected]
Subject: Re: [ACFUG Discuss] Troubleshooting CFHTTP Webservice Call

 

If the cfc is on your server, you can test it locally by creating a file that 
invokes it as a component instead of remote.  YOu’ll get the error diagnostics 
then.

 

From: Clarke Bishop <mailto:[email protected]>  

Sent: Wednesday, February 16, 2011 6:39 PM

To: [email protected] 

Subject: [ACFUG Discuss] Troubleshooting CFHTTP Webservice Call

 

Does anyone have any good suggestions for troubleshooting a CFHTTP Webservice 
call. All, I’m getting back is a 400 – Syntax error. 

 

I want to capture the HTTP request to see what might be wrong.

 

The webservice expects an application/atom+xml  POST so I am doing this:

 

<cfhttp method="post" url="#hsURL#"   >

                <cfhttpparam type="header" name="Content-Type" 
value="application/atom+xml"/>

                <cfhttpparam type="body" value="#payload#">

</cfhttp>

 

Thecfhttpparam type=”body” body is set to the XML that the webservice expects.

 

Thanks for any suggestions!

 

   Clarke


------------------------------------------------------------- 
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 FusionLink <http://www.fusionlink.com>  
------------------------------------------------------------- 


------------------------------------------------------------- 
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 FusionLink <http://www.fusionlink.com>  
------------------------------------------------------------- 




-------------------------------------------------------------

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