Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how to set fault code in SOAPFault

 
Walter Andresen
Greenhorn
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
WW

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