cancel
Showing results for 
Search instead for 
Did you mean: 

A strange problem

former_member343107
Participant
0 Kudos

Hi Friends,

Here is a strange problem. An EJB uses some classes of a Java project. Those classes act as the input parameters of EJB's business method. A J2EE Library is used to deploy the Java classes to server and make them available to the EJB. Reference to the Library is specified in the EAR configuration of the EJB.

This EJB itself is encapsulated with web service and tested via "Web Service Navigator" of Web AS. That is, Virtual Interface, Web Service Definiton and Web Service Configuraion are added to the EJB. During runtime, the content of the input Java classes is filled on Web page and sent to the EJB-based web service.

At first, this application runs correctly. Later on we added some fields to one of the Java classes. We rebuilt all the Java project, J2EE Library project, EJB project, EAR project and redeploy them in turn. But when we open the web service navigator and try to invoke the EJB-based web service, the newly-added fields of the parameter Java classes don't appear. We cleared our IE cache and redeploy all the components. The result is the same.

Does anybody ever have similar experience? Any suggestion will be welcome.

Best Regards

Jerome

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Jerome,

Goto Virual intetrface for your web service. There open your interface. Here, choose your incoming parameters under this, and remove that. Now, create your incoming parameters once again.

Now, rebuild your EJB application and EAR application and deploy your ear on server.

Regards,

Bhavik

former_member343107
Participant
0 Kudos

Thanks a lot for the information. I think this is the solution.

Have a nice day.

Best Regards

Jerome

Answers (1)

Answers (1)

Former Member
0 Kudos

you need to recreate the WSDL and redeploy the web service

Enjoy