cancel
Showing results for 
Search instead for 
Did you mean: 

Adapter Module Programming - add a xsd-library?

Former Member
0 Kudos

hello together,

i developed a adapter module and i want to have a xsd library in this: how can i do this?

i find nothing in the developer studio to append files which are not java files.

using "How to create Adapter module for J2EE ..." but there are no information about this!

can anybody help me?

thanks a lot

alex schramm

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

>> want to have a xsd library in this

Do you mean you need to have a xsd file inside your archive to be deployed?

Former Member
0 Kudos

hello amol

yes that it what i want to do. if i import the adapter module into the integration builder the xsd file should be in the same directory as the adapter module program.

do you think there is a problem?

thanks a lot

alex schramm

Former Member
0 Kudos

here's a work around for your XSD to go into your archive.

1.In your adapter module EJB project, create a new folder say with name as referece.

2. Inside this folder create the folder path as you need it inside your archive.e.g. XSD

3. copy the XSD inside this folder.

4. from the context menu of your project folder select Properties--> Java build path --> Source

5. Click on add folder and select the folder reference.

Done...

Build your archive and you will see that the XSD folder and the xsd files inside will be a part of your ejb jar file and you can refer them at the runtime.

Hope this helps..

Former Member
0 Kudos

Hi Alex,

You can add non java files in NWDS(in your case xsd file).

Steps:

1. Right click your package

2. Select Import -> From File system

3. Select the XSD file to import.

now xsd is imported into NWDS and ready to use.

regards,

Ananth