incubator-wink-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Miguel Tinte <miguel.ti...@gmail.com>
Subject servlet REST error
Date Tue, 27 Sep 2011 15:03:39 GMT
Hi everybody,
I am trying to implement a binding REST servlet in a war application
deployed in Apache Tomcat. These are the components declared in my
web.composite file:

<component name="MyWebComponent">
        <implementation.web web-uri=""/>
        <reference name="service" target="SCAService2"/>
</component>

<component name="SCAService2">
        <implementation.java class="SomeSCAServiceImpl"/>
        <service name="SomeSCAService">
               <interface.java interface="SomeSCAService"/>
        </service>
        <reference name="appService" target="MyWebComponent">
              <interface.java interface="SomeSCAService2"/>
              <tuscany:binding.rest uri="http://....">
                  <tuscany:wireFormat.xml/>
              </tuscany:binding.rest>
          </reference>
</component>

But this is the console error returned:
java.lang.NoSuchMethodError:
org.apache.tuscany.sca.definitions.xml.DefinitionsProcessor.getURIString(Ljavax/xml/stream/XMLStreamReader;Ljava/lang/String)

And this in the browser:
http://localhost:8080/Application/rest
*Excepcion
*javax.servlet.ServletException:
org.apache.wink.server.internal.servlet.RestServlet

Any idea?
Thanks in advance

Mime
View raw message