• Post Reply Bookmark Topic Watch Topic
  • New Topic

Hello World webservice running on weblogic  RSS feed

 
Ravi Vakka
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I am running a small Hello world kind of webservice in weblogic 7.0 platform. I have created following java files

Hello.java (Remote interface)
HelloHome.java (Home interface)
HelloBean.java (EJB)
HelloClient.java

I have compiled the server side java files and created META-INF and kept ejb-jar.xml and weblogic-jar.xml in it.

when i am trying to run the weblogic.ejbc i am getting the following error :

C:\Web Services Code\WebService Example>java weblogic.ejbc pre_hello.jar hello.j
ar
C:/Web Services Code/WebService Example/ejbcgen/Hello/HelloBean_swhcir_EOImpl.ja
va:15: cannot resolve symbol
symbol : class Hello
location: interface Hello.Hello
implements Hello.Hello, weblogic.utils.PlatformConstants
^
C:/Web Services Code/WebService Example/ejbcgen/Hello/HelloBean_swhcir_HomeImpl.
java:13: cannot resolve symbol
symbol : class HelloHome
location: interface Hello.Hello
implements Hello.HelloHome, weblogic.utils.PlatformConstants
^
C:/Web Services Code/WebService Example/ejbcgen/Hello/HelloBean_swhcir_HomeImpl.
java:68: cannot resolve symbol
symbol : class Hello
location: interface Hello.Hello
public Hello.Hello create ()
^
C:/Web Services Code/WebService Example/ejbcgen/Hello/HelloBean_swhcir_HomeImpl.
java:72: cannot resolve symbol
symbol : class Hello
location: interface Hello.Hello
return (Hello.Hello) super.create(md_ejbCreate);
^
4 errors
Exec failed .. exiting

Can somebody help me with this problem or if anybody has already developed some sample webservice in weblogic 7.0 pls pass on the instructions to create and run the webservice.

Thanks a lot
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!