EWS runs over HTTPS, so I've created a keystore containing the required certificate and, following the instructions in the online help 'Web Services Over HTTPS' article, have added entries to service.bat and start_ebase_designer.bat as shown below. However, when I try to import the WSDL, I receive the following message:
Code: Select all
WSDLException: faultCode=OTHER_ERROR: Unable to resolve imported document at 'https://wcc-email.internal.wanneroo.wa.gov.au:444/EWS/Services.wsdl'.: java.io.IOException: Authentication failure
Can anyone offer any guidance?
The changes I've made to service.bat and start_ebase_designer.bat are:
service.bat, under section 'more extra parameters':
Code: Select all
"%EXECUTABLE%" //US//%SERVICE_NAME% ++JvmOptions "-Djava.io.tmpdir=%CATALINA_BASE%\temp;-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager;-Djava.util.logging.config.file=%CATALINA_BASE%\conf\logging.properties -Djavax.net.ssl.trustStore=\\wcc-web-apps\e$\Apps\ebase451\UfsServer\tomcat\bin\ebaseKeystore.keystore -Djavax.net.ssl.trustStorePassword=myPassword" --JvmMs 128 --JvmMx 256
Code: Select all
set JAVA_PROPERTIES=%JAVA_PROPERTIES% -Dawt.useSystemAAFontSettings=true -Dsun.java2d.noddraw=true -Dlog4j.configuration=file:/%~dsp0/properties/log4j.properties -Dhttp.nonProxyHosts="localhost|127.0.0.1" -Djavax.net.ssl.trustStore=\\wcc-web-apps\e$\Apps\ebase451\UfsServer\tomcat\bin\ebaseKeystore.keystore -Djavax.net.ssl.keyStorePassword=myPassword