You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cxf.apache.org by Benson Margulies <bi...@gmail.com> on 2008/01/11 21:53:00 UTC

barking up the wrong tree with CXF-1382

Here's the state of this.

For a particular Aegis service, if you try to use the schemas for
validation, the SchemaFactory rejects them. To be exact, it rejects the
particular set of DOM Elements that SchemaUtil constructs from the WSDL
Definition object.

Now, on the other hand, I coded a test case outside, in which I took the
XML for this service, parsed it back into DOM, performed some minor
adjustments on the namespaces, and came up with a Schema object.

I could cut down SchemaUtil considerably by implementing the same
scheme, and just store the resulting Schema object in the ServiceInfo
for later use.

The code will be a bit slower to the tune of looping the WSDL through
XML, but it sure will be smaller. 

Does anyone want to stop me?