Return-Path: Delivered-To: apmail-incubator-cxf-issues-archive@locus.apache.org Received: (qmail 19360 invoked from network); 21 Feb 2008 04:00:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Feb 2008 04:00:30 -0000 Received: (qmail 87890 invoked by uid 500); 21 Feb 2008 04:00:24 -0000 Delivered-To: apmail-incubator-cxf-issues-archive@incubator.apache.org Received: (qmail 87881 invoked by uid 500); 21 Feb 2008 04:00:24 -0000 Mailing-List: contact cxf-issues-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cxf-dev@incubator.apache.org Delivered-To: mailing list cxf-issues@incubator.apache.org Received: (qmail 87872 invoked by uid 99); 21 Feb 2008 04:00:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Feb 2008 20:00:24 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Feb 2008 03:59:49 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6DD1B234C040 for ; Wed, 20 Feb 2008 19:59:43 -0800 (PST) Message-ID: <1783167880.1203566383434.JavaMail.jira@brutus> Date: Wed, 20 Feb 2008 19:59:43 -0800 (PST) From: "Daniel Kulp (JIRA)" To: cxf-issues@incubator.apache.org Subject: [jira] Resolved: (CXF-905) WS-RM conflicts with schema validation on application endpoint In-Reply-To: <19953671.1186756542625.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CXF-905?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Daniel Kulp resolved CXF-905. ----------------------------- Resolution: Fixed > WS-RM conflicts with schema validation on application endpoint > -------------------------------------------------------------- > > Key: CXF-905 > URL: https://issues.apache.org/jira/browse/CXF-905 > Project: CXF > Issue Type: Bug > Components: WS-* Components > Reporter: Andrea Smyth > Assignee: Daniel Kulp > Fix For: 2.1 > > > If schema validation is enabled for an application endpoint (as is the case in the hello_world sample), RM cannot be used at the same time, i.e. addition of the following to the config file of the hello_world sample will make it fail: > > > > > > > > The reason for the failure is an attempt to validate the RM protocol messages also, e.g. when the clients send it's CreateSequence request, a MarshalException is thrown: > [java] SEVERE: Failed to send RM protocol message {http://schemas.xmlsoap.org/ws/2005/02/rm}CreateSequence. > [java] org.apache.cxf.interceptor.Fault: Marshalling Error: cvc-elt.1: Cannot find the declaration of element 'CreateSequence'. > [java] at org.apache.cxf.jaxb.JAXBEncoderDecoder.marshall(JAXBEncoderDecoder.java:176) > [java] at org.apache.cxf.jaxb.io.DataWriterImpl.write(DataWriterImpl.java:42) > [java] at org.apache.cxf.interceptor.AbstractOutDatabindingInterceptor.writeParts(AbstractOutDatabindingInterceptor.java:83) > [java] at org.apache.cxf.interceptor.BareOutInterceptor.handleMessage(BareOutInterceptor.java:68) > [java] at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:207) > [java] at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:254) > [java] at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:205) > [java] at org.apache.cxf.ws.rm.Proxy.invoke(Proxy.java:247) > [java] at org.apache.cxf.ws.rm.Proxy.createSequence(Proxy.java:162) > [java] at org.apache.cxf.ws.rm.RMManager.getSequence(RMManager.java:316) > [java] at org.apache.cxf.ws.rm.RMOutInterceptor.handle(RMOutInterceptor.java:129) > [java] at org.apache.cxf.ws.rm.AbstractRMInterceptor.handleMessage(AbstractRMInterceptor.java:78) > [java] at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:207) > [java] at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:254) > [java] at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:205) > [java] at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73) > [java] at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:135) > [java] at $Proxy28.sayHi(Unknown Source) > [java] at demo.hw.client.Client.main(Client.java:61) > [java] Caused by: javax.xml.bind.MarshalException > Schema validation should not apply to RM protocol messages. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.