CF10 Webservices error

2014-04-29 Thread Kam Heydari

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

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358471
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF10 Webservices error

2014-04-29 Thread Dave Watts

 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.

Have you tried using a web browser from the server running CF 10 as
suggested? It could be a networking problem unrelated to CF.

Dave Watts, CTO, Fig Leaf Software
1-202-527-9569
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358472
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF10 Webservices error

2014-04-29 Thread Kambiz Heydari

Yes - It works without any issue.
On Tuesday, April 29, 2014 6:07 PM, Dave Watts dwa...@figleaf.com wrote:
  

 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.

Have you tried using a web browser from the server running CF 10 as
suggested? It could be a networking problem unrelated to CF.

Dave Watts, CTO, Fig Leaf Software
1-202-527-9569
http://www.figleaf.com/
http://training.figleaf.com/

Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
GSA Schedule, and provides the highest caliber vendor-authorized
instruction at our training centers, online, or onsite.



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358474
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF10 Webservices error

2014-04-29 Thread Kam Heydari

  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.
 
 Have you tried using a web browser from the server running CF 10 as
 suggested? It could be a networking problem unrelated to CF.
 
 Dave Watts, CTO, Fig Leaf Software
 1-202-527-9569
 http://www.figleaf.com/
 http://training.figleaf.com/
 
 Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
 GSA Schedule, and provides the highest caliber vendor-authorized
 instruction at our training centers, online, or onsite.


Yes - it works - it also works in my second cf10 environment 

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358473
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


Re: CF10 Webservices error

2014-04-29 Thread Kam Heydari

  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.
 
 Have you tried using a web browser from the server running CF 10 as
 suggested? It could be a networking problem unrelated to CF.
 
 Dave Watts, CTO, Fig Leaf Software
 1-202-527-9569
 http://www.figleaf.com/
 http://training.figleaf.com/

Yes - it is accessing the WS without any issues.
Kam
 
 Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on
 GSA Schedule, and provides the highest caliber vendor-authorized
 instruction at our training centers, online, or onsite.

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358475
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm