users@glassfish.java.net

Custom wsdl in osgi bundle

From: <glassfish_at_javadesktop.org>
Date: Tue, 19 Jan 2010 13:42:01 PST

Hello,
did anybody try to bundle ejb webservice (built using wsdl first methodology) as osgi bundle and deploy to glassfish v3? I encountered a problem with publishing my own wsdl. While accessing wsdl in browser I get only the autogenerated one.
When I remove maven bundle plugin and deploy it as standard JEE artifact it is okay.
I have webservice class defined like this: @Webservice(..., wsdlLocation="WEB-INF/wsdl/mycustom.wsdl") and appropriate wsdl exists in war bundle directory WEB-INF/wsdl.
I need war as osgi, because I need dynamic @Resource injection (an osgi service is injected). Am I doing something wrong? Any ideas?
Thanks in advance.
Petr
[Message sent by forum member 'pjurak' (petr.jurak_at_gmail.com)]

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