on 09-18-2007 3:01 PM
Hello everyone,
we have the following requirement: we implement our application service layer through POJO not EJB. and we would like to expose these service method as web service.
So does anybody knows how to declear them as web service?
Thanks a lot!!
Best regards
Deyang
Hi,
Use SAP Developer Studio. You could also define WebServices from POJOs. In the WebService Perspective right mouse on your class and there should be a menu entry to create the ws.
Regards,
Daniel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If you want to use DCs you have to create a DC of Type Java which helds your POJO. In the WS perspective select "Show DC projcets only" (click on the black triangle in the top right corner of the WS Perspective Java Explorer). Then mark your class and select "Create Web Service ...". When your WS is created select the Web Service Definition and choose "Add WSD to public part". After that make a DC Build and you get an ear file which you can deploy to the engine.
Regards,
Daniel
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.