Return-Path: X-Original-To: apmail-cxf-dev-archive@www.apache.org Delivered-To: apmail-cxf-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C3E90DF6F for ; Fri, 3 Aug 2012 00:34:12 +0000 (UTC) Received: (qmail 28616 invoked by uid 500); 3 Aug 2012 00:34:12 -0000 Delivered-To: apmail-cxf-dev-archive@cxf.apache.org Received: (qmail 28571 invoked by uid 500); 3 Aug 2012 00:34:12 -0000 Mailing-List: contact dev-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list dev@cxf.apache.org Delivered-To: moderator for dev@cxf.apache.org Received: (qmail 75031 invoked by uid 99); 2 Aug 2012 23:24:14 -0000 X-ASF-Spam-Status: No, hits=2.3 required=5.0 tests=SPF_SOFTFAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (nike.apache.org: transitioning domain of sai.parnandi@mulesource.com does not designate 216.139.236.26 as permitted sender) Date: Thu, 2 Aug 2012 16:23:47 -0700 (PDT) From: sai To: dev@cxf.apache.org Message-ID: <1343949827533-5711963.post@n5.nabble.com> Subject: CXF validation MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello My service class has two parameters where one corresponds to the header and the other corresponds to the soap body. With validation enabled, when I send a request without any headers, I expected that the validation would fail but it looks like the request passes the validation and the header is set to null. My service class: public void Request( @WebParam(partName = "TestHeader", name = "TestHeader", targetNamespace = "http://xyz.com/schema/icc", header = true) com.test.schema.TestHeader testHeader, @WebParam(partName = "ExtractRequest", name = "ExtractRequest", targetNamespace = "http://xyz.com/schema/extract/v1") ExtractRequest extractRequest); } Any help on this is much appreciated. Thanks -- View this message in context: http://cxf.547215.n5.nabble.com/CXF-validation-tp5711963.html Sent from the cxf-dev mailing list archive at Nabble.com.