javaweb-servicessocketswsdl2javawsdl2code

Impossible to generate java client code from some wsdl


I'm trying with this specific URL:

<plugin>
    <groupId>org.apache.axis2</groupId>
    <artifactId>axis2-wsdl2code-maven-plugin</artifactId>
    <version>1.7.9</version>
    <configuration>
        <wsdlFile>https://web.rbsuat.com/ab/webservices/merchant-ws?wsdl</wsdlFile>
    </configuration>
</plugin>

But got the exception during the plugin execution:

[ERROR] Failed to execute goal org.apache.axis2:axis2-wsdl2code-maven-plugin:1.7.9:wsdl2code (default-cli) on project test: Error parsing WSDL: Connection reset -> [Help 1]

The most likely is that it would be SSLv3 related issue for the newset java when the SSLv3 is disabled and I should enable it by removing the

jdk.tls.disabledAlgorithms=SSLv3

from JRE_HOME/lib/security/java.security, however, I did it and still face the same problem

Actually, the URL https://web.rbsuat.com/ab/webservices/merchant-ws?wsdl can be reached from the browser without any problem.


Solution

  • the IDE didn't picked up my config changes in jre folder until it was restarted, that was the reason. I had to restart my IDE