2009/1/6 tremek <[email protected]>:

> It have only one function sayInteger(Integer text). If i call this function
> from exemple SoapUi with parameter "12" it works fine, but if i call with
> "12aa" i get from function null and any warning.
> My question. Is possible to set in cxf to check the function parameter, if
> is require object Integer that cxf throw some exception or somthing when the
> parameter is not object of integer?

I'm slightly surprised that you don't get an exception already -- but
-- you could turn on schema validation as detailed in the FAQ:

http://cxf.apache.org/faq.html#FAQ-JAXWSRelated

That'll check the entire message against the XSD definitions in the WSDL.

Andrew.

Reply via email to