I have a client api that uses Axis to make soap calls, but presents a higher level of abstraction.

During development I simply set the axis.ClientConfigFile system property to point to the client config file for the serializer/deserializer type map.

This api will be packaged in a single jar and I would like it to be self-confained by including the client config file in the jar as well.

Is the proper way to get Axis to use the config file inside the jar to set axis.EngineConfigFactory to a class of my own which gets the input stream for the file from the jar ( ClassLoader.getSystemResourceAsStream( "path_to_file_in_jar" ) ), and return a FileProvider for that input stream?

Is there a simpler way that I'm not seeing?






Reply via email to