Skip to Content

Car Rental Web service

I am trying out the CarRental example that comes with the Web AS 6.30 (from the CD distributed during Tech Ed Las Vegas).

I took the following steps in order to publish the Car Rental as a "Web service"

- Created the entity bean (QuickBookingBean) and the stateless session bean (QuickOrderProcessorBean)

- Created a Web service definition for the stateless session bean

- Created a Jar archive for the bean (the archive now also includes the Web services related deployment descriptor, I think)

- Created an enterprise application archive

- Tried to Deploy

I am getting an error during the deployment - Complex type for the QuickCarRentalService could not be handled.


- Do I have to also create and include a Web application in order to deploy the Web service? Please note that in my steps above, I have not created a Servlet, JSP pages, etc. Would that be causing the problem?

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Oct 29, 2003 at 08:57 PM

    Hello Sanjay,

    you do not have to include a Web application in order to deploy a web service.

    Did you follow the tutorial developing and deploying this web service? If yes, you could download the prebuild project for this tutorial from SDN and try to deploy it.

    If you are developing and deploying own Web Services we recommend that you first build and deploy the EJB without Web Services definitions. If this works than add the Web Services definition and try deployment again. In this case we will at least know if the problem is related to the Web Service (the error message indicates that) or to deployment in general.



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.