[jboss-user] [JBossWS] - Re: How di I get detail in SOAPFault

oskar.carlstedt do-not-reply at jboss.com
Wed Sep 5 16:21:53 EDT 2007


... and I was expecting something like

  | <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
  |    <env:Header/>
  |    <env:Body>
  |       <env:Fault>
  |          <faultcode xmlns:codeNS="http://schemas.xmlsoap.org/soap/envelope/">codeNS:Server</faultcode>
  |          <faultstring>javax.xml.ws.soap.SOAPFaultException</faultstring>
  |          <detail>
  |             <typ:myFault xmlns:typ="http://my.service.com/common-ws/types">
  |                <typ:code>SC_BAD_REQUEST</typ:code>
  |                <typ:message>This is a faked error</typ:message>
  |             </typ:myFault>
  |          </detail>
  |       </env:Fault>
  |    </env:Body>
  | </env:Envelope>
  | 

Does anyone know how I shall write my code to get the detail part of the message to be serialized. Is it a bug?

//Oskar

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081484#4081484

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081484



More information about the jboss-user mailing list