Skip to main content
Known Participant
April 14, 2013
Question

CF 10 - Remote service error

  • April 14, 2013
  • 1 reply
  • 807 views

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!

coldfusion.jsp.CompilationFailedException: Errors reported by Java compiler: Found 1 system error: *** Semantic Error: The input file "C:/ColdFusion10/cfusion/stubs/WS427444836_1/com/comServices.java" was not found. .

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

coldfusion.jsp.CompilationFailedException: Errors reported by Java compiler: Found 1 system error: *** Semantic Error: The input file "C:/ColdFusion10/cfusion/stubs/WS427444836_1/com/comServices.java" was not found. .

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.

    This topic has been closed for replies.

    1 reply

    pete_freitag
    Participating Frequently
    April 15, 2013

    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.

    SGrotyAuthor
    Known Participant
    April 15, 2013

    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.