Announcement Announcement Module
Collapse
No announcement yet.
XML Schema error Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • XML Schema error

    Hi,

    I am using M3 release. I have configured my code like this to use an ftp-source adapter.

    I keep on getting the error

    org.xml.sax.SAXParseException: cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'si:message-bus'.


    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <!--
            Author: Vijay Nair
            Description: Test spring Context xml file definition for all Integration spring objects
            Version: 1.0
    -->
    <beans:beans    xmlns="http://www.springframework.org/schema/beans"
                    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                    xmlns:si="http://www.springframework.org/schema/integration"
                    xmlns:context="http://www.springframework.org/schema/context"
                    xsi:schemaLocation="http://www.springframework.org/schema/beans 
                    http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
                    http://www.springframework.org/schema/context 
                    http://www.springframework.org/schema/context/spring-context-2.5.xsd
                    http://www.springframework.org/schema/integration
                    http://www.springframework.org/schema/integration/spring-integration-1.0.xsd">
        
        <si:message-bus/>
        <si:channel id="ftpChannel"/>
        <si:annotation-driven />
        
        <bean   id="ftpSource"
                class="org.springframework.integration.adapter.ftp.FtpSourceAdapter">
                <property name="host" value="10.81.1.85"/>
                <property name="username" value="vijay"/>
                <property name="password" value="vijay123"/>
                <property name="localWorkingDirectory" value="E:/FCPBS/integration/"/>
                <property name="remoteWorkingDirectory" value="E:/FCPBS/integration/ftp/"/>
                <property name="channel" ref="ftpChannel"/>
                <property name="period" value="30000"/>
        </bean>
        
        
    </beans:beans>
    Last edited by vijaynairis; May 15th, 2008, 02:16 AM.

  • #2
    This has been resolved...my bad

    Comment


    • #3
      Help

      how did you resolved the problem please help me*

      Comment

      Working...
      X