Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-3836

Convention for automatic predefined client/endpoint configuration retrieval

    XMLWordPrintable

Details

    Description

      "An alternative idea would be to provide a convention for automatically
      reading a pre-defined client configuration, for instance based on the
      SEI class FQN. So for instance, we could say that for a port retrieved
      as follows

      import org.foo.ServiceIface;
      ...
      Service service = Service.create(new URL("...?wsdl"), serviceQName);
      ServiceIface port = (ServiceIface)service.getPort(portQName,
      ServiceIface.class);

      instead of directly going and fetching the
      "Standard-Client-Configuration" from the container webservices
      management model we'd first try getting a configuration named
      "org.foo.ServiceIface" (still in the webservices model) and only
      fallback to the "Standard-Client-Configuration" if that's not found.
      That would allow for different configurations to clients without
      touching their code; the only requirement is the clients run in-container."

      http://lists.jboss.org/pipermail/jbossws-dev/2014-September/002211.html

      Attachments

        Issue Links

          Activity

            People

              rhn-support-asoldano Alessio Soldano
              rhn-support-asoldano Alessio Soldano
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: