1 Reply Latest reply on Mar 24, 2011 1:22 AM by Sudhir Kumar Jha

    Multiple Java interfaces exposed in a single WSDL interface

    Sameer Pokarna Newbie

      Hi All,

       

      I am using JBoss 5.1.0 for my application development.

       

      I have a Java interfaces, sample.interfaces.interface1, and sample.interfaces.interface2. Each of these interfaces have a single method each. Each of these interfaces also have their own service implementation classes.

      I want to expose a single WSDL interface which will contain both these operations.

       

      When I tried this in JBoss, I encountered an issue, where only one of the <port-component> in webservices.xml was being recognised. But, I get an "Endpoint already registered" message.

       

      Any ideas on what is the best approach to achieve this?

       

       

      Thanks and regards,

      Sameer