Announcement Announcement Module
Collapse
No announcement yet.
Client SOAP fault received as Server... Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Client SOAP fault received as Server...

    Hello,

    in endpoint I throw a ClientSoapFaultException:
    @SoapFault(faultCode = FaultCode.CLIENT)
    Code:
    public class ClientSoapFaultException extends RuntimeException {
    In the spring-ws-servlet.xml application context, I have:
    Code:
        <sws:annotation-driven />
    	
        <bean class="org.springframework.ws.soap.server.endpoint.SoapFaultAnnotationExceptionResolver" >
        	<property name="order" value="0" />
        </bean>
    The problem is that when a ClientSoapFaultException is thrown, for some operations (those who return void) , I received a soap fault client but for some others (who normally return a response), i received a soap fault Server.

    Is there anything I'm missing? Related to Jaxb: as normally the operation returns a response which is marshalled but when the exception is thrown he can't marshalled it or another ExceptionHandler takes the hand at this moment?

    Thanks in advance.
Working...
X