Skip to Content

Failure to Deploy CarRental Web service

Web AS 6.30 Beta 2

Followed the steps as described in the Car Rental example. Everything else works fine, but in the last step of deploying the session bean as a Web service, the following error is thrown:

03/10/28 17:37:02 -u00A0u00A0ERROR: Not updated. Deploy Service returned ERROR:

u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0java.rmi.RemoteException: Cannot deploy application sap.com/QuickCarRentalEar..

u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0Reason: Webservices deployment exception! The reason is: Unable to generate complex types. The error refers to application: sap.com/QuickCarRentalEar, jar: QuickCarRentalJar.jar, web service: QuickCarRentalService.; nested exception is:

u00A0u00A0u00A0....

</snip>

u00A0u00A0u00A0....

u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0C:\usr\sap\C11\JC00\j2ee\cluster\server0\temp\webservices\deploy\sap.com_QuickCarRentalEar\webservices\generated\QuickCarRentalJar_QuickCarRentalService\QuickBookingModel.java:451: setVehicleType(java.lang.String) is already defined in QuickCarRentalJar_QuickCarRentalService.QuickBookingModel

u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0public void setVehicleType(java.lang.String _VehicleType) {

u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0^

u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0C:\usr\sap\C11\JC00\j2ee\cluster\server0\temp\webservices\deploy\sap.com_QuickCarRentalEar\webservices\generated\QuickCarRentalJar_QuickCarRentalService\QuickBookingModel.java:454: getVehicleType() is already defined in QuickCarRentalJar_QuickCarRentalService.QuickBookingModel

u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0public java.lang.String getVehicleType() {

u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0^

u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A0u00A021 errors

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:36 PM

    Hello Sanjay,

    did you try to import the prebuild project which you can find on SDN and deploy it?

    Cheers

    Ivo

    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.