• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

CF 10 - Remote service error

New Here ,
Apr 14, 2013 Apr 14, 2013

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!

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.

Views

703

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Apr 15, 2013 Apr 15, 2013

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 15, 2013 Apr 15, 2013

Copy link to clipboard

Copied

LATEST

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation