Hi.
I add the schema validation just like in this exemple
http://cxf.apache.org/faq.html#FAQ-JAXWSRelated
and nothing happens. No exception. I still have null when i call function
with "21aa" parameter. 




dkulp wrote:
> 
> 
> JAXB pretty much ignores anything that doesn't look right and just returns 
> null.    The best option is to turn on schema validation which would catch 
> this.
> 
> Dan
> 
> 
> On Tuesday 06 January 2009 8:38:59 am tremek wrote:
>> Hi.
>> I have my WebService like this.
>>
>> @WebService(endpointInterface = "service.Test",serviceName =
>> "TestService")
>> public class TestImpl implements Test
>> {
>>      public Integer sayInteger(Integer text)
>>      {
>>
>>              return text;
>>      }
>>
>> }
>>
>> 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?
>>
>> Thanks.
> 
> 
> 
> -- 
> Daniel Kulp
> [email protected]
> http://dankulp.com/blog
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Cxf%2C-parameter-function-problem.-tp21310503p21348058.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to