Copy link to clipboard
Copied
I am hosting a web service on my production server. I have been unable to call it remotely. So I tried calling it from the Prod server via url instead of component, and it fails.
<cfinvoke
component="xcom.xcomServices"
method="couponProcess"
returnvariable="coupRet">
<cfinvokeargument name="theCouponSource" value="normal">
<cfinvokeargument name="theCouponCode" value="9879879799">
</cfinvoke>
Sucessful Response!
<cfdump var="#coupRet#">
<cfinvoke
component="xcom.xcomServices"
method="sequenceLookUp"
returnvariable="sequenceRet">
<cfinvokeargument name="sequenceNumber" value="999992627">
</cfinvoke>
<cfdump var="#sequenceRet#">
Successful Response!
<cfinvoke
webservice="http://usdc1-cldappc01.nw.x.com/xcom/xcomServices.cfc?wsdl"
method="couponProcess"
returnvariable="coupRet2">
<cfinvokeargument name="theCouponSource" value="normal">
<cfinvokeargument name="theCouponCode" value="9879879799">
</cfinvoke>
<cfdump var="#coupRet2#">
Fails!
<cfinvoke
webserivce="http://usdc1-cldappc01.nw.x.com/xcom/xcomServices.cfc?wsdl"
method="sequenceLookUp"
returnvariable="sequenceRet2">
<cfinvokeargument name="sequenceNumber" value="999992627">
</cfinvoke>
<cfdump var="#sequenceRet2#">
Fails!
I'm up to date on all fixes.
I receive the same exact error response when calling it from any of my remote servers, SoapUI, and when watching Wireshark traffic.
* NOTE - I changed the domain and directory information in the URL's.
Copy link to clipboard
Copied
Are you running ColdFusion under a windows user account, if so make sure that you have given that account permission to write files to the path specified.
Copy link to clipboard
Copied
Thank you Peter. It runs under the Local Service account though.
Is there some configuration in CF10 admin that needs to be set up? I'm coming from CFMX. I can't seem to find anything in the documentation about default security on remote calls.