developing error in EJBCA WebService

liwf
2014-05-24
2014-05-26
  • liwf

    liwf - 2014-05-24

    when i do as the API simple does, I create a new CA and downLode keyStore、 trustStore in my computer,and set them in my java code.
    then it show this error : I dont't know why??

    Exception in thread "main" java.lang.NoSuchMethodError: javax.xml.ws.WebFault.messageName()Ljava/lang/String;
    at com.sun.xml.ws.model.RuntimeModeler.processExceptions(RuntimeModeler.java:1252)
    at com.sun.xml.ws.model.RuntimeModeler.processDocWrappedMethod(RuntimeModeler.java:982)
    at com.sun.xml.ws.model.RuntimeModeler.processMethod(RuntimeModeler.java:746)
    at com.sun.xml.ws.model.RuntimeModeler.processClass(RuntimeModeler.java:506)
    at com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:337)
    at com.sun.xml.ws.db.DatabindingImpl.<init>(DatabindingImpl.java:102)
    at com.sun.xml.ws.db.DatabindingProviderImpl.create(DatabindingProviderImpl.java:75)
    at com.sun.xml.ws.db.DatabindingProviderImpl.create(DatabindingProviderImpl.java:59)
    at com.sun.xml.ws.db.DatabindingFactoryImpl.createRuntime(DatabindingFactoryImpl.java:128)
    at com.sun.xml.ws.client.WSServiceDelegate.buildRuntimeModel(WSServiceDelegate.java:803)
    at com.sun.xml.ws.client.WSServiceDelegate.createSEIPortInfo(WSServiceDelegate.java:810)
    at com.sun.xml.ws.client.WSServiceDelegate.addSEI(WSServiceDelegate.java:786)
    at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:407)
    at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:384)
    at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:366)
    at javax.xml.ws.Service.getPort(Service.java:92)
    at org.ejbca.core.protocol.ws.EjbcaWSService.getEjbcaWSPort(EjbcaWSService.java:51)
    at com.eastelsoft.ws.EJBtest.interface1(EJBtest.java:72)
    at com.eastelsoft.ws.EJBtest.main(EJBtest.java:82)

    waitting for your help!!

     

Log in to post a comment.