Search code examples
jax-wsjava-metro-frameworkwsit

multiple wsit-client.xml


I have a web-app in which I have deployed multiple jax-ws based webservices clients. They all need wsit-client's of their own. I there any way for me to specify which wsit-client.xml file to use when instantiating the service class?

I would like to keep the wsit-client files separate for each webservices client by packaging it in the respective jar file.


Solution

  • This answer from Sun seems promising:

    https://blogs.oracle.com/ritzmann/entry/non_standard_wsit_configuration_file

    It looks like the method:

    public static Service create( URL wsdlDocumentLocation, QName serviceName, InitParams properties)

    still exists in the most current implementation of JAX-WS.