4 Replies Latest reply on Nov 10, 2015 3:51 AM by maciavelli

    Single URL for many rest services

    maciavelli

      Hello.

      I am developing REST services and they have to use single URL. For example http://localhost:8080/broker/web. Each REST service packaged as JAR according to tasks they intented(customertasks.jar, internalprovider.jar, etc). How to make REST services in many jars to use single URL?

      At this moment I implemented this using proxy service in project Gate as shown below:

      switchyard.jpg

      It uses REST service and reference binding, is just resend String message to the target method in REST binding. And so each time when I deploy new jar I have to rebuild my Gate, add new contracts(methods) in REST reference interface, add transformers(because Endpoint in picture above accepts String requests).

      May be exists another more conviniant way?