I realize that is thread is rather old, but I have just run into a situation
similar to this. I am trying to invoke a web service using the following code:
<cfinvoke
webservice="https://some.server.com/tcrsweb/SomeService.svc?wsdl"
method="GetData"
username="MyUser"
password="MyPassword"
inputParam1 = "7037500"
inputParam2 = "0"
returnvariable="ud10"
>
I get the following error:
javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated It is
recommended that you use a web browser to retrieve and examine the requested
WSDL document for correctness. If the requested WSDL document can't be
retrieved or it is dynamically generated, it is likely that the target web
service has programming errors.
I, too, can access the WSDL from a browser with no problem. The certificate is
not a problem, because I can access the same service on the same server from
the same workstation using different methods (i.e. .Net). However, because the
certificate sits on a load balancer, the service uses the username and password
passed in the client credentials. Is using the username and password
parameters of the cfinvoke tag in CF 7 the same as specifying the
ClientCredentials.UserName.Username and ClientCredentials.UserName.Password in
.Net?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know
on the House of Fusion mailing lists
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333031
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm