aspose file tools*
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Web Services security