Yes, you can install jbossws 3.4.0 on AS 5.1.0. See https://community.jboss.org/wiki/JBossWS-SupportedTargetContainers
Reply to this message by going to Community
Start a new discussion in JBoss Web Services at Community