Skip to main content
Known Participant
Apr 14, 2013 7:49 PM UTC
Question

CF 10 - Remote service error

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 is closed to new replies. Start a new post to keep the conversation going.

    2 replies

    pete_freitag
    Participating Frequently
    Apr 15, 2013 2:49 PM UTC

    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.

    Translate
    SGrotyAuthor
    Known Participant
    Apr 15, 2013 4:01 PM UTC

    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.

    Translate