cxf-dev mailing list archives

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

My service class:
public void Request(
            @WebParam(partName = "TestHeader", name = "TestHeader",
targetNamespace = "", header = true)
com.test.schema.TestHeader testHeader,
            @WebParam(partName = "ExtractRequest", name = "ExtractRequest",
targetNamespace = "") ExtractRequest

Any help on this is much appreciated.


View this message in context:
Sent from the cxf-dev mailing list archive at

View raw message