cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sai <sai.parna...@mulesource.com>
Subject CXF validation
Date Thu, 02 Aug 2012 23:23:47 GMT
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.

Mime
View raw message