Quantcast
Channel: Adobe Community : Discussion List - ColdFusion
Viewing all articles
Browse latest Browse all 6243

CF10 WSDL Issue

$
0
0

I am runing the follow code in CF9 without any issue; I have issue runing the same code in CF10

<cftry>

  <cfinvoke

  webservice="http://www.webservicex.net/CurrencyConvertor.asmx?WSDL"

   method="ConversionRate"

   returnVariable="ToCurrencyValue"

   >

   <cfinvokeargument name="FromCurrency" value="USD" />  

   <cfinvokeargument name="ToCurrency" value="EUR" />

</cfinvoke>

<cfcatch type="any">

 

   <cfset UpdateExchangeRate = "NOINTERNET">

 

</cfcatch>

</cftry>

 

I added the following code - and it is working in one of my CF10 environment but I get WSDL access error when trying in a new CF10.

 

<cfset args = {refreshWSDL=true, wsversion=1}>

<cfset local.service = createObject("webservice"

               , "http://www.webservicex.net/CurrencyConvertor.asmx?WSDL"

              , args)>

 

The web site you are accessing has experienced an unexpected error.

Please contact the website administrator.

 

 

The following information is meant for the website developer for debugging purposes.
Error Occurred While Processing Request
 

Unable to read WSDL from URL: http://www.webservicex.net/CurrencyConvertor.asmx?WSDL.

Error: java.net.SocketException: Permission denied: connect. It is recommended that you use a web browser to retrieve and examine the requested WSDL document to ensure it is correct.

 

 

Any idea?

 

Thanks

Kam


Viewing all articles
Browse latest Browse all 6243

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>