Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Web Services security

 
harrell collins
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 296
Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 426
Eclipse IDE Fedora Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic