I've two problems and believe that by solving one, I'll solve the other. The 
first, and most important, problem is that I cannot seem to call a webservice 
from CF. The second is that I cannot add the same web service to the components 
in DW.

As far as the first problem goes, the wsdl is internal to the organization. 
When I enter the wsdl from a web browser, I am prompted for a user id and 
password. The wsdl then displays in the browser. When I call it, however, 
(specifying the user and password attributes) in the cfinvoke tag, I get a 
stack trace stating 

<b><i>XmlRpcServiceImpl$ServiceStubGenerationException: Could not generate stub 
objects for web service invocation.</i></b>

I have searched this problem on the web, but the answers I find don't seem 
relevant. They all seem to say that if I can pull it up in the browser, then 
all should be okay. FWIW - I have attached my code, with the service name and 
user and pw fields removed.

When I try to add the web service component to DreamWeaver, the second problem, 
I am likewise prompted for a user id and password. However, I get a pop up 
stating:
<b><i>
Unable to generate a proxy.
Server returned HTTP response code: 401 for URL: (I am not displaying the url 
for security reasons) </i></b> I also cannot add public web services to the DW 
components, such as Ben Forta's Web Tip of the Day (wsdl is 
http://www.forta.com/cf/tips/syndicate.cfc?wsdl). Again, I can view the wsdl in 
a web browser. This, time, however, when I try to add the web service 
component, the pop up states:
<b><i>
Unable to generate a proxy.
Connection refused: connect
</i></b>
Note that I have no problem with this public web service (either adding to DW 
or calling from CF) when using my tools on my computer and my own web site. I 
am not sure if the problem with the private web service has the same root cause 
as the public web service, but they both look suspiciously like security 
problems.

Any help is truly appreciated!

            <cfinvoke 
               webservice='http://my url to wsdl'
               method='Z_TXG_BAPI_SALESORDER_GETLIST'
               CUSTOMER_NUMBER="1000000001"
               TABLE_OF_BAPIORDERS="#TABLE_OF_BAPIORDERS#"
               SALES_ORGANIZATION="1010"
               returnVariable='TABLE_OF_BAPIORDERS'
               username="myUserName"
               password="myPassword"
               />



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298914
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to