WebService Client Generation Error with JDK8

后端 未结 23 2641
既然无缘
既然无缘 2020-11-27 08:50

I need to consume a web service in my project. I use NetBeans so I right-clicked on my project and tried to add a new \"Web Service Client\". Last time I checked, this was t

23条回答
  •  挽巷
    挽巷 (楼主)
    2020-11-27 09:50

    Another alternative is to update wsimport.sh shell script by adding the following:

    The wsimport.sh is located in this directory:

    jaxws-ri.2.2.28/bin

    exec "$JAVA" $WSIMPORT_OPTS -Djavax.xml.accessExternalSchema=all -jar "$JAXWS_HOME/lib/jaxws-tools.jar" "$@"

提交回复
热议问题