cancel
Showing results for 
Search instead for 
Did you mean: 

Clarification in Module Development

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Answers (1)

Answers (1)

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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