This week's book giveaway is in the Agile forum.
We're giving away four copies of Head First Agile and have Andrew Stellman & Jennifer Greene on-line!
See this thread for details.
Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how to set fault code in SOAPFault  RSS feed

Walter Andresen
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello again,
Can someone recommend me how to set faultcode in SOAPFault in webservice which is sent to the client. I throw an exception marked with @Webfault annotation. I can set fault message but not faultcode. I tried different methods, nothing works. The maximum what I can do is to set it with a wrong prefix (e.g. n4:1234 while i need 1234). I already tried native DOM methods in a handler, but it doesn't work either. Can anybody help me?

PS: I use JAX-WS and Weblogic

Than you

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!