Deploy a web service with the deploy tool (J2EE)
Hi!
I want to deploy a web service with the Deploy Tool (J2EE 1.4).
(For info, I'm working on Win 2000.)
I have the following error when I'm trying to deploy:
-
distribute: C:\monHello2\monApp.ear
Deploy action running...
Deployment failed on target localhost:4848_server : Fatal Error from EJB Compiler -- jaxrpc compilation exception
!!! Operation Failed !!!
--
Someone can help me, please? What's the problem?
Other question: when I create the WAR file, I have to add : my interface class, my implementation class, my others java classes, my WSDL file and my mapping.xml file.
Should I add the .jar that is used by one of my class? I think yes, but...
thank you and excuse me for my english... ;o)
[790 byte] By [
yador] at [2007-9-30 22:26:42]

Can you provide more information? Is there any information in the server.log file? If so, can you post it here.
>Other question: when I create the WAR file, I have to add : my interface class, my implementation class, my >others java classes, my WSDL file and my mapping.xml file.
>Should I add the .jar that is used by one of my class? I think yes, but.
If it is a utility/library jar that contains classes used by your application and those classes are not part of the J2EE API, then yes you will need to add the jar.
> > Only primitive types can be returned? Is that
> correct?
>
> true - for more details check out section 3.4.1.3 of
> this book which is available for purchase or online
> :
> http://java.sun.com/blueprints/guidelines/designing_w
> ebservices/
I meant to say primitive type and "special POJOs" called "JAXRPC Value Types" - check out the reference I listed