Announcement Announcement Module
Collapse
No announcement yet.
dynamic-wsdl leads to NoSuchMethodError XmlSchemaCollection.read Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • dynamic-wsdl leads to NoSuchMethodError XmlSchemaCollection.read

    When I include the following
    Code:
      <sws:dynamic-wsdl id="holiday"                                                         
                        portTypeName="HumanResource"                                                         
                        locationUri="/hr_service/"                                                       
                        targetNamespace="http://simple-sample.com/definition/holiday-request/">
        <sws:xsd location="/WEB-INF/holiday-request.xsd"/>                                           
      </sws:dynamic-wsdl>
    to the spring application context for my spring-ws I get the following error

    Code:
    java.lang.NoSuchMethodError: org.apache.ws.commons.schema.XmlSchemaCollection.read(Lorg/xml/sax/InputSource;)Lorg/apache/ws/commons/schema/XmlSchema;
    org.springframework.xml.xsd.commons.CommonsXsdSchemaCollection.afterPropertiesSet(CommonsXsdSchemaCollection.java:137)
    The application I'm working on has jars checked in (no dependency management). Do I have a jar problem ? Which jars does spring-ws-2.1.2-RELEASE depend on ?
Working...
X