[JBossWS] - JBoss 4.0.5.GA web services
by ravi2box
Hi,
I'd like to know if it's possible to produce and consume web services on the vanilla (i.e without separately downloading JBossWS libs) version of JBoss 4.0.5GA . If i understand this correctly, JBoss 4.0.5GA ships with jbossws-1.0.3 SP1
I am trying to write a simple JSR 181 style web service using the @WebService and @WebMethod annotation. I am using JDK 1.5.0_12 on Windows XP. I am getting a compilation error
testws\service\HelloWS.java:8: incompatible types
[javac] found : javax.jws.WebService
[javac] required: java.lang.annotation.Annotation
[javac] @WebService
[javac] ^
[javac] testws\service\HelloWS.java:11: incompatible types
[javac] found : javax.jws.WebMethod
[javac] required: java.lang.annotation.Annotation
[javac] @WebMethod
[javac] ^
[javac] 2 errors
BUILD FAILED
Compile failed; see the compiler error out
put for details.
I see that the jbossws14.sar file has JDK 1.4 compatible JARS - does this mean it won't compile on JDK 1.5?? I have JBOSS_HOME/client and server/default/lib in the classpath already...what other JAR am i missing??
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4056164#4056164
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4056164
17 years, 8 months
[JBossWS] - Re: change HTTP status code in a WS fault
by wpfeiffe
James,
Sorry I don't have an answer for you on this, but I just ran into this a few days ago and was wondering if you had a solution.
So far I considered creating my own wrapper obect that would be returned by all web services and would contain fault info.
Also considered dropping JBossWS and using xFire as I've seen examples on how to set the status code with xFire (some dissension concerning whether it actually works though).
Also considered just doing a rest style xml return which flex seems to handle quite nicely.
Really my preference is to do some kind of interceptor that would let me set the status code. I already do some pre-processing of my hibernate return objects to kill the proxies which is believe should be in an interceptor as well. Just not sure where to start there.
Anyway, I'd be interested in hearing how you solve this, if you do.
Thanks,
Bill Pfeiffer
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4056146#4056146
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4056146
17 years, 8 months
WS-Security UsernameToken and PasswordDigest type
by Davide Ling
Hello
Can I send PasswordDigest type passwords
in WS-Security UsernameToken with JBossWS 1.2GA?
I cannot find documentation about
Thanks
--
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~
| Davide Ling |
| E-mail: davide.ling(a)tai.it |
| |
| TAI S.r.l. |
| 50141 FIRENZE - Via Pazzagli, 2 |
| Phone: +39 +55 42661 |
| Fax: +39 +55 4266357 |
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~
17 years, 8 months