users@glassfish.java.net

Re: WebServices with JSR-109 annotation based deployment with maven-embedded?

From: <glassfish_at_javadesktop.org>
Date: Thu, 01 Jul 2010 13:54:36 PDT

I tried your suggestion and added the jar's as Maven 'system' dependencies which should add them to the project's classpath at runtime like this...

<dependency><groupId>org.glassfish</groupId>
<artifactId>webservices-connector</artifactId>
<version>1.0</version>
<scope>system</scope>
<systemPath>C:\GlassFish-Tools-Bundle-For-Eclipse-1.2\glassfishv3\glassfish\modules\webservices-connector.jar</systemPath></dependency>

However, it has made no difference, the endpoint for the service is still not hosted correctly by Glassfish embedded during the maven integration-test phase.

Maven does alwas log this line to the console...

 INFO: Loading application r20100601.logging.service.benwilcock.net at /r20100601
.logging.service.benwilcock.net

but the endpoint that works for soapui in full Glassfish, is not there when running in embedded mode.
[Message sent by forum member 'benwilcock']

http://forums.java.net/jive/thread.jspa?messageID=476574