on 03-31-2008 7:31 AM
Hello Friends,
We are working on Module development.We have imported jar files i.e sda files.In ejb-j2ee-engine .xml we have included the following code..
<reference
reference-type="weak">
<reference-target
provider-name="sap.com"
target-type="service">com.sap.aii.af.svc</reference-target>
</reference>
Now..We have imported a external DOM4j.jar file..for our programming requirement. My doubt is should i include any piece of code like the above one for my imported jar file?? as we are calling the module from Receiver Communication Channel, it is throwing an error regarding that DOM4j. jar file. Please help me out.
Thanks & Regards,
N.Jayanth Kumar
check this links for reference:
https://www.sdn.sap.com/irj/sdn/webinar?rid=/library/uuid/8257ed90-0201-0010-b6a8-e9cd808eb1a9
note:reward points if solution found helpfull.....
regards
chandrakanth.k
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jayanth,
You need to include the references.In your case u have to include your package name for the DOM4J.jar(For Ex: org.dom4j.dom).But put the reference type as "weak" reference.
Please let me know if u need furthur information
Thanks,
Bhargav.
Note:Award points if found useful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Bhargav,
I have included the following reference.
<reference
reference-type="weak">
<reference-target
provider-name="sap.com"
target-type="service">org.dom4j</reference-target>
</reference>
What should be the provider name?? Even i am getting an exception. Please correct me if i am wrong.
Regards,
N.Jayanth Kumar
Hi Jayanth,
Sorry for the late reply checked it just now only.For provider name put it as org.dom4j.This will work.In case of any other error let me know.We have same a same scenario but we have used commons.net jar file and we have done the same way.It is working for us.
Please let me know if u need furthur information.
Thanks,
Bhargav.
Note:Award points if found useful
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.