Results 1 to 6 of 6

Thread: STS 2.6 errors with jaxws

  1. #1
    Join Date
    Oct 2009
    Posts
    8

    Default STS 2.6 errors with jaxws

    After integrating with jaxws ri (http://jax-ws-commons.java.net/spring/), I get:
    Unrecognized xbean namespace mapping: http://jaxws.dev.java.net/spring/servlet

    Error only occurs in the IDE flagged with the red error message next to the element. Running it works fine. Hints to correct?

    - Peter

    Error appears here:
    <wss:binding url="/jaxws/hello" service="#simpleHello" />

    <!-- simplest definition only needs the class name -->
    <ws:service id="simpleHello" impl="sample.HelloJaxws" />

    Here is the beans namespace defn:
    <beans xmlns="http://www.springframework.org/schema/beans"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:context="http://www.springframework.org/schema/context"
    xmlns:aop="http://www.springframework.org/schema/aop"
    xmlns:tx="http://www.springframework.org/schema/tx"
    xmlns:ws="http://jax-ws.dev.java.net/spring/core"
    xmlns:wss="http://jax-ws.dev.java.net/spring/servlet"
    xsi:schemaLocation="http://www.springframework.org/schema/aop http://www.springframework.org/schem...ng-aop-3.0.xsd
    http://www.springframework.org/schema/jms http://www.springframework.org/schem...ng-jms-3.0.xsd
    http://www.springframework.org/schema/security http://www.springframework.org/schem...rity-3.0.4.xsd
    http://www.springframework.org/schema/beans http://www.springframework.org/schem...-beans-3.0.xsd
    http://www.springframework.org/schema/tx http://www.springframework.org/schem...ing-tx-3.0.xsd
    http://www.springframework.org/schema/context http://www.springframework.org/schem...ontext-3.0.xsd
    http://jax-ws.dev.java.net/spring/core http://jax-ws.dev.java.net/spring/core.xsd
    http://jax-ws.dev.java.net/spring/servlet http://jax-ws.dev.java.net/spring/servlet.xsd">

  2. #2

    Default

    I'm having the same issue with 2.6.0, trying to use ActiveMQ schemas constantly marks the xml with
    "Unrecognized xbean namespace mapping: http://activemq.apache.org/schema/core"

    App works though, config is valid.

  3. #3
    Join Date
    Sep 2008
    Location
    Hamburg, Germany
    Posts
    1,640

    Default

    added a JIRA issue to track these things:
    https://issuetracker.springsource.com/browse/STS-1772

    Cheers,
    -Martin
    Martin Lippert
    SpringSource, a division of VMware
    SpringSource Tools Team
    http://www.springsource.com
    http://twitter.com/martinlippert

  4. #4
    Join Date
    Sep 2008
    Location
    Hamburg, Germany
    Posts
    1,640

    Default

    Hey Brad, Hey Peter!

    Do you have small sample projects to me try test this? That would be great!

    Thanks!
    -Martin
    Martin Lippert
    SpringSource, a division of VMware
    SpringSource Tools Team
    http://www.springsource.com
    http://twitter.com/martinlippert

  5. #5
    Join Date
    Sep 2008
    Location
    Hamburg, Germany
    Posts
    1,640

    Default

    Hey!

    After looking at this in more detail it seems to be an incompatibility with the included xbean-spring lib that provides the namespace handler for Spring. Can you try to use an updated version of that?

    HTH,
    Martin

    UPDATE: Forget this idea, I think I have found the root of the problem. Now just need to find a solution for it... :-)
    Last edited by Martin Lippert; Oct 5th, 2011 at 02:52 AM.
    Martin Lippert
    SpringSource, a division of VMware
    SpringSource Tools Team
    http://www.springsource.com
    http://twitter.com/martinlippert

  6. #6
    Join Date
    Sep 2008
    Location
    Hamburg, Germany
    Posts
    1,640

    Default

    Hey!

    This is now fixed, available for STS 2.8.0.RC2 and beyond.

    Cheers,
    -Martin
    Martin Lippert
    SpringSource, a division of VMware
    SpringSource Tools Team
    http://www.springsource.com
    http://twitter.com/martinlippert

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •