ERROR
If you use the WSDL2Java command with the Axis Web service toolkit to point to a WSDL file of an https server, you receive the following error:
Code:
java.io.IOException: Emitter failure. Invalid endpoint address in port IAuthentication
You are using a version of the Java Developer Kit (JDK) that was released prior to JDK 1.4.
Code:
security.provider.N=com.sun.net.ssl.internal.www.protocol
Code:
Java -D java.protocol.handler.pkgs=com.sun.net.ssl.internal.www.protocol org.apache.axis.wsdl.WSDL2Java Authentication.wsdl -p esri.arcwebservices
Code:
System.setProperty("java.protocol.handler.pkgs","com.sun.net.ssl.internal.www.protocol");
Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
Article ID:000005996
Get help from ArcGIS experts
Download the Esri Support App