Spring Integration
  1. Spring Integration
  2. INT-2348

Spring Integration WS element <ws:inbound-gateway> available but <ws:header-enricher> not available for use in Spring

    Details

      Description

      I am building a new web application and using Spring Integration for integrating this with my legacy application for fetching data into my web application through a web service call. I have gone through Spring forum and saw the example of ws-outbound gateway. I tried implementing the example in STS IDE using ANT build. The problem is that when I am trying to run the example it showing the error - "cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'ws:header-enricher'". But, <ws:outbound-gateway> & <ws:inbound-gateway> elements are available for use. I have gone through various forums and posts to gain help from them. But, I found the things are not working for me as I have included all the jar's in Buildpath of my Application.

        Activity

        Hide
        Artem Bilan added a comment -

        @AvinashMunaga
        Can you open a topic in the Spring Integration Forum?
        And we will continue.

        Show
        Artem Bilan added a comment - @AvinashMunaga Can you open a topic in the Spring Integration Forum ? And we will continue.
        Hide
        Gary Russell added a comment - - edited

        In lieu of forum post, a couple of things to try...

        1. Clear the cache - Window | Preferences | General | Network Connections | Cache | Remove all
        2. Enable Spring Nature on the project (Right click Project | Spring Tools | Enable Spring Project Nature)
        3. Ensure "Load NamespaceHandlers and XSDs from project's classpath" is set (Project | Prooperties | Spring | Beans Support | Namespaces

        Show
        Gary Russell added a comment - - edited In lieu of forum post, a couple of things to try... 1. Clear the cache - Window | Preferences | General | Network Connections | Cache | Remove all 2. Enable Spring Nature on the project (Right click Project | Spring Tools | Enable Spring Project Nature) 3. Ensure "Load NamespaceHandlers and XSDs from project's classpath" is set (Project | Prooperties | Spring | Beans Support | Namespaces
        Hide
        AvinashMunaga added a comment -

        Hi,

        I created a new thread in Spring Integration forum... Can you please respond to it asap. I am really in need of support.

        Thanks,
        Avinash Munaga.

        Show
        AvinashMunaga added a comment - Hi, I created a new thread in Spring Integration forum... Can you please respond to it asap. I am really in need of support. Thanks, Avinash Munaga.
        Hide
        AvinashMunaga added a comment -
        Show
        AvinashMunaga added a comment - The problem is moved to http://forum.springsource.org/showthread.php?120878-Spring-Integration-WS-element-lt-ws-inbound-gateway-gt-available-but-lt-ws-header-enricher-gt and is fixed. You can close this issue now. Thanks for the support .
        Hide
        Artem Bilan added a comment - - edited

        The problem is fixed via switching to the latest Spring Integration version.

        Show
        Artem Bilan added a comment - - edited The problem is fixed via switching to the latest Spring Integration version.

          People

          • Assignee:
            Artem Bilan
            Reporter:
            AvinashMunaga
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: