问题
I need to use a service at http://mihansmscenter.com/webservice/?wsdl so i should use jax-rpc i add jax-rpc plugin to my netbeans then
righ click on my project > New > Web service client >
and set:
WSDL URL:http://mihansmscenter.com/webservice/?wsdl
project: my project
package: smsService
client style: JAX-RPC Style
but when click finish after about 40% of task completed there is an error: com.sun.xml.rpc.tools.ant.Wscompile cannot be found
回答1:
This fix from Roy Damman worked for me.
Edit:
Roy Damman said on that thread:
The bug seems to be in /nbproject/project.properties:
Change:
wscompile.classpath=${wscompile.tools.classpath}:${j2ee.platform.wscompile.classpath}
To:
wscompile.classpath=${wscompile.tools.classpath}:${j2ee.platform.wscompile.classpath}:${javac.classpath}
Maybe this link stays up.
来源:https://stackoverflow.com/questions/1460099/com-sun-xml-rpc-tools-ant-wscompile-cannot-be-found