NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Embedded Glassfish: WS from WSDL with Maven

 
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users
View previous topic :: View next topic  
Author Message
s.hauser



Joined: 21 Dec 2009
Posts: 4

PostPosted: Tue May 25, 2010 11:38 am    Post subject: Embedded Glassfish: WS from WSDL with Maven Reply with quote

Hi All

I have a Maven based Project with a WebService generated from a WSDL.
While testing i now have the problem, that the embedded glashfish doesnt find
my webservice, because the interface and my implementation arent in the same basedir.
target/classes/
target/generated-sources/jaxws-wsimport
When creating the EJBContainer, its possible to pass the path to the modules to load.
properties.put(EJBContainer.MODULES, new File("target/classes/"));
javax.ejb.embeddable.EJBContainer.createEJBContainer(properties);
But it seems that the glassfish only accepts exactly one path.

Someone have an idea how to solve this?
Is it possible to deploy the wsdl too?

kr

Sev
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo