java - WebService Jax WS compile but unaccessable -
i recover project. project deployed on tomcat can't test web service or can't reach it. when wrote url got error 404.
the web service looks :
@webservice(servicename = "officialdate", portname = "officialdateport", endpointinterface = "com.????.web.officialdates_v1.officialdate", targetnamespace = "http://????/web/officialdates-v1", wsdllocation = "web-inf/wsdl/officialdatewebservice/officialdates.wsdl")
how can debug webservice ? in webservice can error ?
(sorry can't paste code -because private-)
thanks
you need add additional libraries (jar files) , web.xml configuration in order host jax-ws web services in tomcat.
it's far easier use complete java ee implementation such wildfly, tomee, glassfish, etc. web service work when deployed in of these.
Comments
Post a Comment