on 08-18-2008 9:45 AM
My scenario is as follows:
I am creating a web service to send a mail between users using Webdynpro as my UI.
when i test my Webservice, no mails are triggered .
I was advised to use a separate DC component which also deploys the mail.jar and activation.jar files.
can someone help me out explaining the entire procedure in simple terms as to how i go about doing this ??
Thanx in advance.
Hi ,
If you are using NW04s then for utilizing the external jars like Mail.jar you can follow the below mentioned steps:--
1.) Create an External library DC . Import the Jar file into the DC and Exposed it As Two Public Parts
1. Assembly(Can be bundled in SDA 2nd option)
2. Compilation(1st Option)
2.) Now Create an EAR DC Project and Use the Assembly Public Part As Used DC with Build And Run time Dependency.
3.) Build the EA DC and Deply the EAR
4.)Now in your WD DC use the Compilation PP of External library Dc as Used DC with Build time Dependency.
5.) Click on the WD DC go to Project Properties choose Shared Referances and Put the Value like this :--
<Domain name like sap.com>/<Name of your EA DC excluding domain name and track name as appeard in Development Configuration Perspective>
Hope this Helps
Regards,
Siddharth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
what ever siddharth has told above it will surely work.Because I also faced the same problem we solved the problem in the same fashion by creating an external DC(like lib project).
In this for adding the jars like mail.jar go to navigator prespective and right click on the project, goto File System and add ur jar files.
Create a public part for this DC so that u can use this in any of the DC's.Create an EAR for the following DC and deploy it in the server and u have to share this EAR reference in sharing references to pick the jar(mail.jar) from server at runtime.
Regards,
Saleem.
Hi Pankaj,
Take a look @ these blogs.
http://help.sap.com/saphelp_nw70/helpdata/en/46/3ce3e4df201d63e10000000a11466f/frameset.htm
Regards,
Saleem
Hi,
I was advised to use a separate DC component which also deploys the mail.jar and activation.jar files.?
You where advised to use external Dcs? if so then create an external dc and add this jars as part of it. Ideally this jars are available in the app server.
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
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.