I have both of the sample projects now validating fine.

I also fixed the SEVERE log messages that your test produced:

SEVERE: Schema element {http://www.kba.de/ elemente}DatumEingangVeraeusserungsanzeige references undefined type {http://www.w3.org/2001/XMLSchema }anySimpleType for service {http:// service.jaxws.cxf.apache.org/}CxfExternTestZfzrPortTypeImplService.

That popped up.   It's a bug in XmlSchema:
http://issues.apache.org/jira/browse/WSCOMMONS-355
but I worked around it in our code for now.

In anycase, I'll get it committed and new snapshots up later today. I'm waiting for a couple other fixes from gnodet first as he needs some fixes for the ServiceMix 4 osgi bundle stuff.


Dan



On Jun 5, 2008, at 1:25 PM, sistar wrote:


Hi Dan,


i encounter the same problem with a different schema.

I prepared a minimum maven project suitable for debugging.

The problem only occurs in Client-Side Validation setup.

The Server parses the wsdl normally and does sucessfully perform
schema-validation.

As soon as i add client validation with:
((BindingProvider) client).getRequestContext().put(
                                "schema-validation-enabled",
                                Boolean.TRUE);

I encounter the problem.

Here is the maven-project:
http://www.nabble.com/file/p17675429/cxf.schema.validation.min.zip
cxf.schema.validation.min.zip

Would be great to solve this problem. We are stuck with cxf 2.0- incubator
for this reason. Let me know if I can help in any way.

Ralf

--
View this message in context: 
http://www.nabble.com/Problem-with-schema-validation-%28JAX-WS---JAXB%29-tp17319174p17675429.html
Sent from the cxf-user mailing list archive at Nabble.com.


---
Daniel Kulp
[EMAIL PROTECTED]
http://www.dankulp.com/blog




Reply via email to