Note that there are some explanatory texts on larger screens.

plurals
  1. POwsdl2java Error: Emitter failure. Invalid endpoint address in port
    primarykey
    data
    text
    <p>I am trying to run the wsdl2java command on a WSDL file that was given to me from another group in my company. I know wsdl2java works because I can run the examples but when I try it on the wsdl given to me it fails. The one big difference is that the WSDL given to me uses SSL.</p> <p>I’m using Java 1.4 (checked it a few time) and made sure all the correct jars are in my class path, jsse.jar is there.</p> <p>COMMAND: java org.apache.axis.wsdl.WSDL2Java --server-side GenericWebService.wsdl </p> <p>ERROR:</p> <p>log4j:WARN No appenders could be found for logger (org.apache.axis.i18n.ProjectResourceBundle). log4j:WARN Please initialize the log4j system properly. **java.io.IOException: Emitter failure. Invalid endpoint address in port AC_x0020_Generic_x0020_Web_0020_ServiceSoap in service AC_x0020_Generic_x0020_Web_x0020_ServiceLocator: ** at org.apache.axis.wsdl.toJava.JavaServiceImplWriter.writeFileBody(JavaServiceImplWriter.ja a:242) at org.apache.axis.wsdl.toJava.JavaWriter.generate(JavaWriter.java:127) at org.apache.axis.wsdl.toJava.JavaServiceWriter.generate(JavaServiceWriter.java:112) at org.apache.axis.wsdl.toJava.JavaGeneratorFactory$Writers.generate(JavaGeneratorFactory.j va:421) at org.apache.axis.wsdl.gen.Parser.generate(Parser.java:476) at org.apache.axis.wsdl.gen.Parser.access$000(Parser.java:45) at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:362) at java.lang.Thread.run(Thread.java:534)</p> <p>asdf</p> <pre><code>&lt;wsdl:portType name="AC_x0020_Generic_x0020_Web_x0020_ServiceSoap"&gt; &lt;wsdl:operation name="Provision"&gt; &lt;wsdl:input message="tns:ProvisionSoapIn" /&gt; &lt;wsdl:output message="tns:ProvisionSoapOut" /&gt; &lt;/wsdl:operation&gt; &lt;/wsdl:portType&gt; &lt;wsdl:binding name="AC_x0020_Generic_x0020_Web_x0020_ServiceSoap" type="tns:AC_x0020_Generic_x0020_Web_x0020_ServiceSoap"&gt; &lt;soap:binding transport="http://schemas.xmlsoap.org/soap/http" /&gt; &lt;wsdl:operation name="Provision"&gt; &lt;soap:operation soapAction="http://xmlns.fmr.com/systems/dev/aar/2008/05/GenericWebService/Provision" style="document" /&gt; &lt;wsdl:input&gt; &lt;soap:body use="literal" /&gt; &lt;soap:header message="tns:ProvisionServiceProcessingDirectives" part="ServiceProcessingDirectives" use="literal" /&gt; &lt;soap:header message="tns:ProvisionServiceCallContext" part="ServiceCallContext" use="literal" /&gt; &lt;/wsdl:input&gt; &lt;wsdl:output&gt; &lt;soap:body use="literal" /&gt; &lt;/wsdl:output&gt; &lt;/wsdl:operation&gt; &lt;/wsdl:binding&gt; &lt;wsdl:service name="AC_x0020_Generic_x0020_Web_x0020_Service"&gt; &lt;wsdl:documentation xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"&gt;Generic web service definition for provisioning requests callable by AccessCENTRAL&lt;/wsdl:documentation&gt; &lt;wsdl:port name="AC_x0020_Generic_x0020_Web_x0020_ServiceSoap" binding="tns:AC_x0020_Generic_x0020_Web_x0020_ServiceSoap"&gt; &lt;soap:address location="" /&gt; &lt;/wsdl:port&gt; &lt;/wsdl:service&gt; </code></pre> <p><strong>UPDATED SOLUTION:</strong> The problem was that the parser needed a value in the &lt;soap:address location="" /&gt; for it to complete. I added the URL of my service and it worked.<br> New Lines looked like:</p> <pre><code>&lt;soap:address location="" http://localhost:8080/axis/services/AC_x0020_Generic_x0020_Web_x0020_Service" /&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload