1 Reply Latest reply on Dec 1, 2009 11:46 PM by Arbi Sookazian

    Problem with remoting

    Ilya Dyoshin Novice

      Good day

      I've created a simple RESTeasy service with SEAM:

      public class BankAccounting {
           public String begin(@PathParam("identity") String identity, @PathParam("cod1c") String cod1c, @PathParam("codAccount1c") String account1c) {
                if (identity.equals(this.check)) {
                     String currentConversation = UUID.randomUUID().toString();
                     log.info("Starting new conversation for integration " + currentConversation);
                     BankCollection var = new BankCollection();
                     collections.put(currentConversation, var);
                     return currentConversation;
                } else {
                     return "false";

      also there is following servlet in the web.xml:

            <servlet-name>Seam Resource Servlet</servlet-name>
            <servlet-name>Seam Resource Servlet</servlet-name>

      And following configuration line in the components.xml:

         <resteasy:application auto-create="true" scan-resources="true"/>

      But when I try to acces either my sevice or simply the /seam/resource/ I receive 404 error. Can someone help me with that?