Skip to Content
0
Oct 28, 2003 at 04:30 PM

Failure to Deploy CarRental Web service

45 Views

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