Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JDeveloper WebService implementation

2752536Jan 10 2017 — edited Jan 16 2017

Hello,

I have encountered a serious problem in using ADF BC Application Module with custom made WebService.

I am hoping that i missed something, and that someone can help me or point me in right direction.

My problem occured when I could not expose methods with complex types as WebServices from Application Module,

So i have used custom class and get myself instance of Application Module, invoked methods and everything worked fine

     I was getting instance using this way:

      ADFContext  ac = ADFContext.initADFContext(null, null, null, null);
  
      AppModuleImpl  am = (AppModuleImpl)Configuration.createRootApplicationModule("model.AppModuleImpl ", "AppModuleImplLocal");

When running from main method in some class everything works great.

Problem is when i make that class WebService provider, then my methods try to get Application Module instance and get ::

ns0:Server

java.lang.NoClassDefFoundError: oracle/jbo/client/Configuration

I am really not sure what could be the issue, is there something which should be done on WebLogic (tried both on integrated and dedicated)

Or there is some other way to get Application Module instance.

both 12.2.1 versions of JDeveloper have exact the same problem

This post has been answered by 2752536 on Jan 16 2017
Jump to Answer

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Feb 13 2017
Added on Jan 10 2017
5 comments
760 views