Configure the proxy generator to access the keystore
To
generate the proxy files that your applications require to use the
BlackBerry Web
Services
SOAP APIs, you must configure the proxy generator (wsdl2java.bat)
to access the keystore that you created.- Navigate to the bin folder of theApache CXFinstallation (for example, C:\Program Files\Apache CXF\apache-cxf-<version>\bin).
- In a text editor, openwsdl2java.bat.
- After"%JAVA_HOME%\bin\java", type the following:-Djavax.net.ssl.trustStorePassword=, where<password>-Djavax.net.ssl.trustStore="<keystore_path>"<password>is the keystore password that you specified, and<keystore_path>is the full path of the keystore that you created. For example:"%JAVA_HOME%\bin\java" -Djavax.net.ssl.trustStorePassword=password -Djavax.net.ssl.trustStore="C:\Program Files\Java\jre8\bin\bes.keystore" -Xmx128M -Djava.endorsed.dirs="%CXF_HOME%\lib\endorsed" -cp "%CXF_JAR%;%TOOLS_JAR%;%CLASSPATH%" -Djava.util.logging.config.file="%CXF_HOME%\etc\logging.properties" org.apache.cxf.tools.wsdlto.WSDLToJava %*
- Save and close the file.