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 comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    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 comment
    10|10000 characters needed characters exceeded