2 Replies Latest reply on Jan 4, 2013 3:22 AM by Dennis Bohnstedt Hansen

    Service with multiple promotions

    Dennis Bohnstedt Hansen Newbie

      Hi

       

      I am trying to build a service with multiple endpoints (SOAP webservice and a JMS queue), but im running into problems when i call the webservice.

       

      I made a very simple example app, with a service taking a POJO. The project compiles with maven, and deploys ok on AS7, but when i call the webservice from SOAPUI, i get the exception below.

       

      I've attached the example project, and for the lazy debuggers, here's a pastie with my switchyard.xml ;-)

       

      http://pastie.org/5553122

       

      16:10:43,520 ERROR [org.apache.camel.processor.DefaultErrorHandler] (http-localhost-127.0.0.1-8080-1) Failed delivery for (MessageId: ID-McDennis-local-63896-1355927868818-8-1 on ExchangeId: ID-McDennis-local-63896-1355927868818-8-2). Exhausted after delivery attempt: 1 caught: org.switchyard.exception.SwitchYardException: No registered service found for {urn:dk.miracleas:DualInterfaceService:0.0.1-SNAPSHOT}DualServicePortType: org.switchyard.exception.SwitchYardException: No registered service found for {urn:dk.miracleas:DualInterfaceService:0.0.1-SNAPSHOT}DualServicePortType

                at org.switchyard.handlers.AddressingHandler.handleMessage(AddressingHandler.java:66) [switchyard-runtime-0.6.0.Final.jar:0.6.0.Final]

                at org.switchyard.bus.camel.processors.HandlerProcessor.process(HandlerProcessor.java:83) [switchyard-bus-camel-0.6.0.Final.jar:0.6.0.Final]

                at org.apache.camel.util.AsyncProcessorConverterHelper$ProcessorToAsyncProcessorBridge.process(AsyncProcessorConverterHelper.java:61) [camel-core-2.10.0.jar:2.10.0]

                at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73) [camel-core-2.10.0.jar:2.10.0]

                at org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99) [camel-core-2.10.0.jar:2.10.0]

                at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:90) [camel-core-2.10.0.jar:2.10.0]

                at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:73) [camel-core-2.10.0.jar:2.10.0]

                at org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:99) [camel-core-2.10.0.jar:2.10.0]

        ...

       

       

      Thanks in advance...

       

      Regards

      Dennis