-
1. Re: Issues in accessing an EJB web service deployed on JBoss
crazyone Feb 20, 2006 7:54 PM (in response to komal_singh)Hi Komal, i also have sucessfully done a web service app, but using Sun App Server, now that i'm tryng to do the same with JBoss 4.0.3. I am getting an error when i do the "Test Operation" in NB5.
[org.jboss.axis.transport.http.AxisServlet] org.xml.sax.SAXException: Deserializing parameter 'getEmpresa': could not find deserializer for type {urn:EmpresaWebService/types}getEmpresa
Have you over come your issue, accesing web service? Can you help me please. Thank you.
Vladimir Albis -
2. Re: Issues in accessing an EJB web service deployed on JBoss
crazyone Feb 21, 2006 2:13 PM (in response to komal_singh)Hi, i have found the way to solve the issue according to my problem(could not found deserealizer), in properties of my web project, click on web services's category and check rpcliteral.
But now i got another problem when i call the method's web service, it says "java.lang.ClassCastException"
"at webservice.EmpresaWebServiceImpl.lookupEmpresaFacadeBean(EmpresaWebServiceImpl.java:32)".
Here is my code:
private ejb.EmpresaFacadeRemote lookupEmpresaFacadeBean() {
try {
javax.naming.Context c = new javax.naming.InitialContext();
Object remote = c.lookup ("java:comp/env/ejb/EmpresaFacadeBean");
ejb.EmpresaFacadeRemoteHome rv = (ejb.EmpresaFacadeRemoteHome) javax.rmi.PortableRemoteObject.narrow(remote, ejb.EmpresaFacadeRemoteHome.class);.....}
remote gives me back an "EmpresaFacadeBeanHome". Could any one tell wy is this? Thanks a lot. -
3. Re: Issues in accessing an EJB web service deployed on JBoss
komal_singh Feb 21, 2006 7:36 PM (in response to komal_singh)Hi ,
You might wanna check out this blog:
web service on JBoss -
http://blogs.sun.com/roller/page/blog?entry=netbeans_5_0_web_services
web service client on JBoss -
http://blogs.sun.com/roller/page/blog?entry=netbeans_5_0_web_service
Do let everyoen know if this works. -
4. Re: Issues in accessing an EJB web service deployed on JBoss
crazyone Feb 22, 2006 4:59 PM (in response to komal_singh)i have checked the link, and the example works fine, but it's not what i was looking for.
-
5. Re: Issues in accessing an EJB web service deployed on JBoss
lkotouc Feb 23, 2006 3:59 AM (in response to komal_singh)I already answered the problem with ClassCastException on nbj2ee@netbeans.org.
Could you please check http://www.netbeans.org/servlets/ReadMsg?list=nbj2ee&msgNo=1734? -
6. Re: Issues in accessing an EJB web service deployed on JBoss
sawssan Jun 20, 2006 12:41 PM (in response to komal_singh)Hi Komal,
I'm new to web services too. I'm currently trying to work with JDK 1.5, JBoss and netbeans 5.0. I've never worked with that before. I did run the netbeans sample example on developing and deploying Web service EJBs but i wanted to move to an upper level and didn't really know how to. I was wondering if you could help me out with that.
I hope it is not too much asking.
I tried to pm you but it didn't work.
Hope to read from you very soon.
Any other help is more than welcome;
Thanks in advance
Sawssan