cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Huisman (JIRA)" <>
Subject [jira] [Created] (CXF-5544) problem using @SchemaValidation in combination with wsrm 1.1
Date Wed, 05 Feb 2014 15:16:12 GMT
Erik Huisman created CXF-5544:

             Summary: problem using @SchemaValidation in combination with wsrm 1.1
                 Key: CXF-5544
             Project: CXF
          Issue Type: Bug
          Components: WS-* Components
    Affects Versions: 2.6.8
         Environment: Jboss EAP 6.1.1
            Reporter: Erik Huisman


We are using cxf 2.6.8 for our webservices.
We will use the Web Services Reliable Messaging Policy Assertion.
Reliable Messaging is configured by consuming a WSDL contract that specifies proper WS-Reliable
Messaging policies as follows:
	<wsdl:binding name="iscpt_v1_3_SOAP" type="tns:iscpt_v1_3">
    	<wswa:UsingAddressing wsdl:required="true" xmlns:wswa=""/>
		<wsp:Policy wsu:Id="RM" xmlns:wsp=""
			<wsam:Addressing xmlns:wsam="">
				<wsp:Policy />
			<wsrmp:RMAssertion xmlns:wsrmp="">
					Milliseconds="4000" />
					Milliseconds="2000" />
The webservice operates correct 
- without Schemavalidation and wsrm 1.1
- with Schemavalidation in combination with a wsrm 1.0 client. 

But when using the @Schemavalidation in combination with a wsrm 1.1 client the server is validating
the CreateSequence messages.
This will end with the folowing exception at the server:
WARNING [org.apache.cxf.phase.PhaseInterceptorChain] (http-/ Interceptor for
has thrown exception, unwinding now: org.apache.cxf.interceptor.Fault: Unmarshalling Error:
cvc-elt.1: Cannot find the declaration of element 'CreateSequence'. 
	at org.apache.cxf.jaxb.JAXBEncoderDecoder.unmarshall( [cxf-rt-databinding-jaxb-2.6.8.redhat-7.jar:2.6.8.redhat-7]
	at org.apache.cxf.jaxb.JAXBEncoderDecoder.unmarshall( [cxf-rt-databinding-jaxb-2.6.8.redhat-7.jar:2.6.8.redhat-7]
	at [cxf-rt-databinding-jaxb-2.6.8.redhat-7.jar:2.6.8.redhat-7]
	at org.apache.cxf.interceptor.DocLiteralInInterceptor.handleMessage(
	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(
	at org.apache.cxf.transport.ChainInitiationObserver.onMessage(
	at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(
	at org.jboss.wsf.stack.cxf.RequestHandlerImpl.handleHttpRequest(
	at org.jboss.wsf.stack.cxf.transport.ServletHelper.callRequestHandler(
	at org.jboss.wsf.stack.cxf.CXFServletExt.invoke(

Best regards,


This message was sent by Atlassian JIRA

View raw message