3 Replies Latest reply on Aug 6, 2010 11:49 PM by blacklist21

    Get StartedwithServiceMix 4.1: FUSE ESB :  payment-service missing files

    dblais

      The GettingStartedFiles that go along with the "Get Started with ServiceMix 4.1: FUSE ESB" Demo/Webinar on FUSE page: http://fusesource.com/enterprise-support/getting-started/

       

      appear to be incomplete, missing these files referenced from the payment-service-se module:

      import com.example.fuse.payment_service.types.Response;

      import com.example.fuse.payment_service.types.Transfer;

       

      along with the Payment interface used in:

      public class PaymentImpl implements Payment, InitializingBean {

       

      Are these files/code available so that I can attempt to run the Demo on my own machine?   Pls advise, Thanks!

       

        • 1. Re: Get StartedwithServiceMix 4.1: FUSE ESB :  payment-service missing files
          dblais

           

          The Transfer, Response and Payment were defined as wsdl:message in the paymentService.wsdl.  

           

          The Maven-install of the payment-service-se eventually caused those classes to be generated in the target\generated\... folder.   Then the references to them out of PaymentImpl.java were resolved.

           

           

          • 2. Re: Get StartedwithServiceMix 4.1: FUSE ESB :  payment-service missing files
            roy.george

            I am a newbe and am trying to install your example - Unfortunately I am not able to run the maven-install - it throws compile error and neither is it generating the classes defined in the wsdl.  I am not able to ping the fuse.example.com either...

             

             

             

            Scanning for projects...

                                                                                    

            -


            Building FUSE Example Payment Service :: Service Engine 0.0.1-SNAPSHOT

            -


            --- maven-dependency-plugin:2.1:unpack-dependencies (unpack-shared-resources) @ payment-service-se ---

            --- maven-resources-plugin:2.4.1:resources (default-resources) @ payment-service-se ---

            File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent!

            Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!

            Copying 2 resources

            skip non existing resourceDirectory C:\Projects\CCSvc\payment-service\payment-service-se\target\generated-resources

            --- cxf-codegen-plugin:2.2.9-fuse-01-00:wsdl2java (default) @ payment-service-se ---

            Nothing to generate

            --- maven-compiler-plugin:2.3.1:compile (default-compile) @ payment-service-se ---

            File encoding has not been set, using platform encoding Cp1252, i.e. build is platform dependent!

            Compiling 1 source file to C:\Projects\CCSvc\payment-service\payment-service-se\target\classes

            -


            COMPILATION ERROR :

            -


            \Projects\CCSvc\payment-service\payment-service-se\src\main\java\com\example\fuse\payment_service\PaymentImpl.java:[22,46] package com.example.fuse.payment_service.types does not exist

             

            \Projects\CCSvc\payment-service\payment-service-se\src\main\java\com\example\fuse\payment_service\PaymentImpl.java:[23,46] package com.example.fuse.payment_service.types does not exist

             

            \Projects\CCSvc\payment-service\payment-service-se\src\main\java\com\example\fuse\payment_service\PaymentImpl.java:[28,36] cannot find symbol

            symbol: class Payment

            public class PaymentImpl implements Payment, InitializingBean {

             

            \Projects\CCSvc\payment-service\payment-service-se\src\main\java\com\example\fuse\payment_service\PaymentImpl.java:[31,34] cannot find symbol

            symbol  : class Transfer

            location: class com.example.fuse.payment_service.PaymentImpl

             

            \Projects\CCSvc\payment-service\payment-service-se\src\main\java\com\example\fuse\payment_service\PaymentImpl.java:[31,11] cannot find symbol

            symbol  : class Response

            location: class com.example.fuse.payment_service.PaymentImpl

             

            \Projects\CCSvc\payment-service\payment-service-se\src\main\java\com\example\fuse\payment_service\PaymentImpl.java:[32,8] cannot find symbol

            symbol  : class Response

            location: class com.example.fuse.payment_service.PaymentImpl

             

            \Projects\CCSvc\payment-service\payment-service-se\src\main\java\com\example\fuse\payment_service\PaymentImpl.java:[32,32] cannot find symbol

            symbol  : class Response

            location: class com.example.fuse.payment_service.PaymentImpl

             

            7 errors

            • 3. Re: Get StartedwithServiceMix 4.1: FUSE ESB :  payment-service missing files
              blacklist21

              hellO!!!

               

              The cxf bc provider is ripping the soap header before it post the request to the targetedURI.

               

              When the request reaches the server it has only the soap body.

               

               

               

              http://www.creativenexusonline.com