web services - Glassfish 3.1.2.2: @WebServiceProvider deployment fails: DPL5041 : Unknown port-component-name -
i having problems @webserviceprovider web service deployed in glassfish 3.1.2.
i configured glassfish-ejb-jar.xml following way service.
<ejb> <ejb-name>testwebservice</ejb-name> <webservice-endpoint> <port-component-name>testwebservice</port-component-name> <endpoint-address-uri>head/testwebservice</endpoint-address-uri> <transport-guarantee>none</transport-guarantee> </webservice-endpoint> </ejb>
the web service implemented follows.
package test.ws.services; import [...left out brevity...] @webserviceprovider( targetnamespace = "http://ws.test.com" , servicename = "head/testwebservice" , portname = "testserviceport") @servicemode(value = service.mode.payload) @stateless @handlerchain(file = "test_handlers.xml") @interceptors({ testinterceptor.class }) public class testwebservice implements provider<source> { @webmethod public source invoke(source request) { return calcresponsesource(request); } }
when starting glassfish server following error shown in glassfish server.log.
severe javax.enterprise.system.tools.deployment.org.glassfish.deployment.common dpl5041:unknown port-component-name testwebserviceservice port, sub elements ignored warning javax.enterprise.system.tools.deployment.org.glassfish.deployment.common dpl8007: unsupported deployment descriptors element endpoint-address-uri value head/testwebservice warning javax.enterprise.system.tools.deployment.org.glassfish.deployment.common dpl8007: unsupported deployment descriptors element transport-guarantee value none
later on service gets deployed @ "technical" url showing qualified class name.
info javax.enterprise.webservices.org.glassfish.webservices ws00019: ejb endpoint deployed server listening @ address @ http://test:10280/head/testwebservice/test.ws.services.testwebservice
i searched web, not find solution setting glassfish server deployment without errors.
ps: problem seems stop me enabling https web service.
regards egbert