0
Getting mime type error when calling SOAP from CFC rather than CFM
Explorer
,
/t5/coldfusion-discussions/getting-mime-type-error-when-calling-soap-from-cfc-rather-than-cfm/td-p/11787688
Jan 27, 2021
Jan 27, 2021
Copy link to clipboard
Copied
I am working with a SOAP request in coldfusion. When the code I have is run from a .CFM file, it works. If it is run from a .CFC file, it doesn't work. The code is the same as far as possible (the .CFC needs the cfcomponent and cffunction tags for example).
Why would it work from one and not the other? When I call it from the CFC page I get the error
Unable to determine MIME type of file.
Does anyone have any idea why this might be happening? The SOAP request is identical on both pages. The call with the CFHTTP as well as all the CFHTTPPARAMs are the same as well.
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting.
Learn more
Have something to add?
Join the conversation

