You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by sai <sa...@mulesource.com> on 2012/08/03 01:23:47 UTC

CXF validation

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.