add on:

and it seems it's really a xfire issue .. i tested it with this method

public String getConstantForTest() {
       return "supa";
}

and it throws exceptions when i run the threaded calls.

public void testConstantReturningService() throws InterruptedException {
       for (int i = 0; i < 10; i++) {
           runThreadedConstant();
       }
       Thread.sleep(10*1000);
   }

   private void runThreadedConstant() {
       Thread t = new Thread(new Runnable() {

           public void run() {
               String s = similarityController.getConstantForTest();
               log.info(s);
           }
       });
       t.start();
   }

throws for example
org.codehaus.xfire.fault.XFireFault: There must be a method name element.
org.codehaus.xfire.fault.XFireFault: Undeclared namespace prefix "oap" (another exception with "soap")


any ideas how to avoid this issue?

regards, sascha

Reply via email to