Dear Sirs,
I am working with Netbeans 6.7.1 and glassfish v. 2.1
- I made an Enterprise Application
- Under Enterprise Application made a
EJB Module
- In EJB Module I create a Persistence
Unit then create TWO Entity Class from Database Class_A and Class_B
- then I made TWO Session Bean for Entity Classes
- and at last I made TWO Web Services, build and deploy all
but, if I ask:
http://localhost:8080/Class_AService/Class_A?wsdl
and then
http://localhost:8080/Class_BService/Class_B?wsdl
Only the first one respond correctly, but, if I delete the Class_A then the the second call
work fine!
If I make again Class_A chain then Class_A work fine and the old Class_B stop to respond!
Seems as if it is impossible to have two web service in the same project, but, I am sure, this
assertion is wrong.
Obviously, if I make two distinct EJB module (in the same Enterprise application), one for Class_A (and related Web Service) and another for Class_B (and related Web Service) all work fine, but it is, for me, incomprehensible.
The question is: what I have to do to have two (or more) webservice in the same EJB module?
Thank you, wery much for your answer.
Domenico