|
View:
New views
1 Messages
—
Rating Filter:
Alert me
|
|
|
Is substitutionGroup supported?I am writing a WSDL (and application) based on the OpenGIS's OpenLS
specification (http://www.opengeospatial.org/standards/olscore). The specification includes a set of schemas (.xsd) which define a set of request and response messages. These are built on a set of types defined in ADT.xsd (Abstract Data Types) a copy of which can be found at http://schemas.opengis.net/ols/1.1.0/ADT.xsd. Unfortunately, the <wsgen> Ant task fails with an excerpt shown below. All of the errors in the excerpt below, marked by the line and column pairs are on the substitutionGroup attributes defined in ADT.xsd. I have seen no similar errors on the XFire mailing lists, IRC logs, or JIRA database regarding this. The WSDL validates. Apache Axis 1.4 WSDL2Java generates the appropriate abstract Java classes. Apache Axis has another unrelated issue which I am having to figure out a work around. However, I would love to use XFire for its speed and Spring Framework integration. Could someone please verify whether substitutionGroup(s) are supported? If so, what might I or OpenGIS be doing wrong in the ADT.xsd schema? Thank you. Frederick N. Brier Excerpt from build script: [wsgen] 2328 [main] ERROR org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl - Two declarations cause a collision in the ObjectFactory class. at 128,82 in file:/C:/MyProject/resources/wsdl/ols/1.1.0/ADT.xsd [wsgen] 2328 [main] ERROR org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl - (Related to above error) This is the other declaration. at 102,84 in file:/C:/MyProject/resources/wsdl/ols/1.1.0/ADT.xsd [wsgen] 2328 [main] ERROR org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl - Two declarations cause a collision in the ObjectFactory class. at 34,111 in file:/C:/MyProject/resources/wsdl/ols/1.1.0/ADT.xsd [wsgen] 2328 [main] ERROR org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl - (Related to above error) This is the other declaration. at 60,85 in file:/C:/MyProject/resources/wsdl/ols/1.1.0/ADT.xsd [wsgen] 2328 [main] ERROR org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl - Two declarations cause a collision in the ObjectFactory class. at 631,95 in file:/C:/MyProject/resources/wsdl/ols/1.1.0/ADT.xsd [wsgen] 2328 [main] ERROR org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl - (Related to above error) This is the other declaration. at 586,83 in file:/C:/MyProject/resources/wsdl/ols/1.1.0/ADT.xsd [wsgen] 2344 [main] ERROR org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl - Two declarations cause a collision in the ObjectFactory class. at 612,97 in file:/C:/MyProject/resources/wsdl/ols/1.1.0/ADT.xsd [wsgen] 2344 [main] ERROR org.codehaus.xfire.gen.jaxb.ErrorReceiverImpl - (Related to above error) This is the other declaration. at 554,113 in file:/C:/MyProject/resources/wsdl/ols/1.1.0/ADT.xsd BUILD FAILED C:\MyProject\build.xml:319: org.codehaus.xfire.gen.GenerationException: Error generating JAXB model. --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email |
| Free embeddable forum powered by Nabble | Forum Help |