Uploaded image for project: 'ServiceMix Components'
  1. ServiceMix Components
  2. SMXCOMP-801

@WebMethod annotation doesn't take into account

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • servicemix-cxf-se-2010.01
    • 2010.02
    • servicemix-cxf-se
    • None
    • Linux Ubuntu 10.04/ Java version "1.6.0_20"

    Description

      In our project, we use the component servicemix-cxfse to invoke operations on different endpoints, of which services are furnished by Pojo classes annotated with JAX-WS annotations. Our Cxf-se endpoints are only configured with a service and an endpoint name. Other attributes are default so we do use JBI wrapper and do not use SOAP Envelop to invoke our services. In fact, we use Camel route to exchange JBI message between different endpoints.

      In a particular case, we need to invoke several operations in the same endpoint. The actual source code of component servicemix-cxfse seems not to work correctly in this case, namely when an cxf-se enpoint expose several binding operations, any operation can't be bound. In project servicemix-cxf-se, we don't find any unit test that covers this case. We have modified the source code corresponding to our need for the process to succeed.

      We modify the public method process and the private method findOperation of CxfSeEndpoint class according the attachment and add some questions in comment for understanding the source code.

      We provide a Junit test to demonstrate this issue, so in attachment we can find test case CxfSeMultipleOperationsTest which invoke operation GreetMe on service Greeter2

      So please, could you validate our modifications or submit a patch for resolving this issue.

      Thanks in advance for four help
      jbs

      Attachments

        1. servicemix-cxf-se.patch
          28 kB
          Julien Blass
        2. servicemix-cxf-se.patch
          24 kB
          Julien Blass

        Activity

          People

            ffang Freeman Yue Fang
            jblass Julien Blass
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: