This week's book giveaway is in the Security forum.
We're giving away four copies of Penetration Testing Basics and have Ric Messier on-line!
See this thread for details.
Win a copy of Penetration Testing Basics this week in the Security forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic


davide boleso
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello like I already stated many times in this forum preparing Web Services Certification using different sources it confuse me a little
A question from mock I am using ask "how to permit an explicit relationship of action message addressing with the fault message of the wsdl operation mapped from the exception class"

the answer is "FaultAction annotation" and not "Action annotation", at the end of the question it mentions like source "oracle online FaultAction Annotation"
I noticed until now I used JAX-WS v2.1 pointing on rt.jar from the jre while the question refer to oracle specification "" and they are different.
Wich API should I face for the exam ?

I also tried following experiment : with JAX-WS v2.1 if I make annotation in the followin manner

@FaultAction(className=MyException.class,value = "")
public String getYourName(String name) throws MyException{

this does not create any wsaw:Action in the faul operation If i want to see that it works only if I declare annotation like this

input = "",
output = "",
fault = { @FaultAction(className = MyException.class,
value = "")})
So according to that the righ answer is add Action annotation with nested fault attribute with the value @FaultAction

Any comment ?
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic