Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

please help me - ejb web service

 
Doris Wagner
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
good evening!

I'm using eclipse, jboss and axis!

i got the following problem and really don't have any idea who to solve it

i've got a ejb, named SearchBean ... and i want to make a web service ... so i wrote a deploy.wsdd:

<deployment
xmlns="http://xml.apache.org/axis/wsdd/"
xmlns:java="http://xml.apache.org/axis/wsdd/providers/java">

<service name ="MySearchService3" provider="java:EJB">
<parameter name="beanJndiName"
value="Search"/>

<parameter name="homeInterfaceName" value="at.ejb.shop.SearchLocalHome"/>
<parameter name="remoteInterfaceName" value="at.ejb.shop.SearchLocal"/>
<parameter name="jndiURL" value="jnp://localhost:1099"/>
<parameter name="jndiContextClass" value="org.jnp.interfaces.NamingContextFactory"/>
<parameter name="allowedMethods" value="*"/>
<parameter name="scope" value="application"/>

</service>
</deployment>

when i deploy it, i see it under web services ... but - and that's my big problem: i can't see the methods, that I want to invoke!?

what should i do?
[ November 17, 2004: Message edited by: Doris Wagner ]
 
Balaji Loganathan
author and deputy
Bartender
Posts: 3150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Doris Wagner:
good evening!
when i deploy it, i see it under web services ...


Do you mean it is listed under..http://<servername ort>/webapplication/servlet/AxisServlet page ?? if how is your wsdl looking like ?? is it valid where you able to your method names in it ?

also did you tried to run the sample ejb example provided by Apache axis ??
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic