ERROR

java.io.IOException: Emitter failure.

Last Published: April 25, 2020

Error Message

While using the com.apache.axis.wsdl.WSDL2Java class file to create wrapper Java classes for an https service, the following error occurs:java.io.IOException: Emitter failure. Invalid endpoint address in port IAuthentication in service XXXAdditionally, the generated XXXLocator.java file is blank.

Cause

Using the following generic command doesn't work:

Java org.apache.axis.wsdl.WSDL2Java –o .\src –p com.esri.is.servicestests.axis.stubs XXX.wsdl

Solution or Workaround

Use the following optional parameter to correct the problem:

Java -
Djava.protocol.handler.pkgs=com.sun.net.ssl.internal.www.protocol org.apache.axis.wsdl.WSDL2Java –o .\src –p com.esri.is.servicestests.axis.stubs XXX.wsdl

    Article ID:000006404

    Software:
    • Legacy Products

    Get help from ArcGIS experts

    Contact technical support

    Download the Esri Support App

    Go to download options

    Discover more on this topic