Search code examples
jax-wsapache-axisjava-metro-frameworkwsit

Access two different security enabled web services from single metro client


A similar question was posted as question:is-there-a-way-to-use-multiple-wsit-client-xml... I have two different WS-Security enabled web services using Metro client and I want to access them using a single client. I believe this will require two wsit-client.xml to be defined in the client project. Is it possible to define two wsit-client.xml files? or am I missing something. I believe using Axis2 +rampart this is possible by using two different policy files. I am trying to avoid using Axis2+rampart as this will require some 70 more jars to be added and a couple of modules in classpath which already has 50 jars.


Solution

  • http://markmail.org/message/2vkc7yjffbyetaht - this might help