Skip to Content
0
Former Member
Apr 27, 2009 at 06:52 PM

Enrichment adapter EJB issue

18 Views

Hi,

I am trying to develop an enrichment adapter service EJB. I developed an adapter similar to the SimulatorAdapterBean. But the issue is my output document always returns a null.

see the below code:

DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory.newInstance();

DocumentBuilder docBuilder = docBuilderFactory.newDocumentBuilder();

Document outputDoc = docBuilder.newDocument();

Here the outputDoc is always null. If I run this locally, it works fine. But, when I deploy to the Web AS, the output doc is null. Not sure if I am missing something here.

Any help?

Thanks

MLS