cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benson Margulies <bimargul...@gmail.com>
Subject barking up the wrong tree with CXF-1382
Date Fri, 11 Jan 2008 20:53:00 GMT
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?





Mime
View raw message