Meaningless Drivel is fun!*
The moose likes SOA and ESB and the fly likes Web Services security Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » SOA and ESB
Bookmark "Web Services security" Watch "Web Services security" New topic
Author

Web Services security

harrell collins
Greenhorn

Joined: Mar 08, 2006
Posts: 22
Hi All,

I have attached the ws-i rsp username token policy set to the jwsAddressBook sample. after attaching the policy set I get this error "SOAPFaultException: org.apache.axis2.AxisFault: Time out while waiting for the server to send the response" can someone advise me on how to solve this problem?
surlac surlacovich
Ranch Hand

Joined: Mar 12, 2013
Posts: 296

This is too abstract. Provide more details.
Timeout usually happens if there is no response received, as mentioned in Exception message.
Roger Sterling
Ranch Hand

Joined: Apr 06, 2012
Posts: 426

harrell collins wrote:Hi All,

I have attached the ws-i rsp username token policy set to the jwsAddressBook sample. after attaching the policy set I get this error "SOAPFaultException: org.apache.axis2.AxisFault: Time out while waiting for the server to send the response" can someone advise me on how to solve this problem?


This can sometimes happen when port 443 is blocked. HTTP traffic will try port 80; but HTTPS traffic goes across port 443. If on modern distribution of linux, most linux distributions by default have firewall active and port 443 blocked.

Also, have you properly configured your truststore and keystore ? Note they absolutely cannot be the same file, you must have two separate files with different certificates in each.
 
Don't get me started about those stupid light bulbs.
 
subject: Web Services security
 
Similar Threads
Granting SocketPermission in an applet
Security Policy Of Applets
.policy in JAR?
Loading different policy files in runtime for Java SecurityManager
Caching Issue - Data not getting refreshed