Announcement Announcement Module
Collapse
No announcement yet.
Getting stuck on CommonsXsdSchemaCollection initialization? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Getting stuck on CommonsXsdSchemaCollection initialization?

    Hi!, i have a working ws implementation working with a single schema, now i'm trying to define a schemaCollection, but the ws seems to get stuck on the initialization of this bean, no exception being thrown. I used to get the "ServletContext resource not found, but now i'm using the right path. Thanks!

    Code:
    <util:list id="xsds">
        <value>WEB-INF/xsds/xsd1.xsd</value>
        <value>WEB-INF/xsds/xsd2.xsd</value>
      </util:list>
      
     <bean id="schemaCollection" class="org.springframework.xml.xsd.commons.CommonsXsdSchemaCollection">
        <description>
            This bean wrap the messages.xsd (which imports types.xsd), and inlines them as a one.
        </description>
        <property name="inline" value="true"/>
        <property name="xsds" ref="xsds"/>
     </bean>
Working...
X