on 09-15-2008 8:47 AM
Hello everyone!
I have created some business objects and application services using "Composite Application" perpective of Developer Studio SP5. All of them was tested succesfully.
I want to create an Web Dynpro application, which will be use my application services. I have imported them in "Model" as "Enterprise JavaBean Model". All is ok, but how can I access these model now from wd component or view controller?
All articles I have found are about integrating services using 2004 or 7.0 developer studio, but I can't do the same using Developer Studio SP5. Thanks for any help.
Hi,
The best practice is to expose the Application Services as Web Services.
Then you have to import the webservices as Adaptive Webservice Model. This you will have in you models. Then you can access them.
Regards,
Srinivasan Subbiah
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have written:
WSModel wsModel = new WSModel();
Request_Say wsReq = new Request_Say(wsModel);
try {
wsReq.execute();
} catch (WDWSModelExecuteException e) {
e.printStackTrace();
}
// There is no "getGetAll_RResponse()" method, so "req.getResponse().getGetAll_RResponse().getResponse();"
// is illegal...
String wsTemp = wsReq.getResponse().getOutputParameter1(); //Here I've got NullPointerException
Are there any other ideas about this problem?
Moreover, when I am using ejb model, all is ok:
EJBModel ejbModel = new EJBModel();
Request_MyServiceServiceLocal_say ejbReq = new Request_MyServiceServiceLocal_say(ejbModel);
try {
ejbReq.execute();
} catch (EJBModelExecuteException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
String answer = ejbReq.getResponse().getReturn();
Thereby, my question is about WebService - I have already tested ws, when i call wsReq.execute, I get an exception. How can I overcome this situation?
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.