RE: Schema validation of SOAP headers

2012-11-02 Thread John Baker
So the answer appears to be /META-INF/jax-ws-catalog.xml -Original Message- From: John Baker [mailto:john.ba...@camelotgroup.co.uk] Sent: 02 November 2012 09:17 To: users@cxf.apache.org Subject: RE: Schema validation of SOAP headers Hello If a schema catalog is required, where is it

RE: Schema validation of SOAP headers

2012-11-02 Thread John Baker
Hello If a schema catalog is required, where is it specified and is there an example somewhere? John -Original Message- From: Daniel Kulp [mailto:dk...@apache.org] Sent: 01 November 2012 16:41 To: users@cxf.apache.org; John Baker Subject: Re: Schema validation of SOAP headers This

RE: Schema validation of SOAP headers

2012-11-02 Thread John Baker
16:41 To: users@cxf.apache.org; John Baker Subject: Re: Schema validation of SOAP headers This is a problem with the test case. It's not using the wsdl for the service and thus is generating a new schema at runtime based on the annotations. JAXB doesn't have any annotations for t

Re: Schema validation of SOAP headers

2012-11-01 Thread Daniel Kulp
On Nov 1, 2012, at 5:29 AM, jbaker.c wrote: > I attach a test case that I modified from a previous JIRA > (https://issues.apache.org/jira/browse/CXF-4334). It sets two values that do > not meet the restriction set out in the schema yet the request is not > rejected, ie no SOAP Fault is generated

Re: Schema validation of SOAP headers

2012-11-01 Thread jbaker.c
Hello, I attach a test case that I modified from a previous JIRA (https://issues.apache.org/jira/browse/CXF-4334). It sets two values that do not meet the restriction set out in the schema yet the request is not rejected, ie no SOAP Fault is generated. If the values are null, an exception is throw

RE: Schema validation of SOAP headers

2012-10-31 Thread Andrei Shakirin
Baker [mailto:john.ba...@camelotgroup.co.uk] Sent: Mittwoch, 31. Oktober 2012 15:54 To: users@cxf.apache.org Subject: RE: Schema validation of SOAP headers I've nearly finished a test case; how do I go about submitting it. We're generating source from a WSDL, creating an implementation vi

RE: Schema validation of SOAP headers

2012-10-31 Thread John Baker
Sent: 31 October 2012 14:50 To: users@cxf.apache.org Subject: Re: Schema validation of SOAP headers On Oct 31, 2012, at 5:58 AM, John Baker wrote: > I've put a debugger on SoapHeaderInterceptor and I can see: > >schema.newValidator().validate(ds); > >

Re: Schema validation of SOAP headers

2012-10-31 Thread Daniel Kulp
On Oct 31, 2012, at 5:58 AM, John Baker wrote: > I've put a debugger on SoapHeaderInterceptor and I can see: > >schema.newValidator().validate(ds); > > being called. I'm beginning to think the problem lies in the Xerces schema > validator? I believe the validation of the

RE: Schema validation of SOAP headers

2012-10-31 Thread Andrei Shakirin
.ba...@camelotgroup.co.uk] Sent: Mittwoch, 31. Oktober 2012 10:59 To: users@cxf.apache.org Subject: RE: Schema validation of SOAP headers I've put a debugger on SoapHeaderInterceptor and I can see: schema.newValidator().validate(ds); being called. I'm beginning to think the proble

RE: Schema validation of SOAP headers

2012-10-31 Thread John Baker
I've put a debugger on SoapHeaderInterceptor and I can see: schema.newValidator().validate(ds); being called. I'm beginning to think the problem lies in the Xerces schema validator? -Original Message- From: John Baker [mailto:john.ba...@camelotgroup.co.uk] Sent: 30