I need to connect to SOAP using WSDL file. I found some solutions in the Internet. For example:
I can use 'wsimport -keep -d src path-fo.wsdl' to generate Java classes from WSDL. But it makes some problems.
1) When i use wsimport -keep -d src local-file.wsdl
wsimport will generate Java classes with full paths to this file. It means it will work only in my computer and nobody else, because of different path. Also unless i delete this file. I can use wsimport with http://, but somebody told me to better keep wsdl file as local file. Maybe i have to use it with http:// and it was bad suggestion.
2) I want use the same code to connect to different instance of the same system. So each time i need to use different URL for WSDL connection, but urls are coded into Java files everywhere.
So what i need:
SOAP (WSDL) connection flexible for different URL to WSDL file to talk with other instance of the same system.
How to do it in Clojure / Java?