cancel
Showing results for 
Search instead for 
Did you mean: 

EJB in WDJ using JPA - Help

Former Member
0 Kudos

Hi,

I am following the below document. Everything went fine until the last step but finally when I run the application, the input fields are greyed out and so I am unable to enter any value and click "Save" button. Because of this it is returning error. Can you please advise how to make the input fields enabled?

Exception on execution of web service with WSDL URL 'http://<host>:<port>/MySessionService/MySessionBean?wsdl' with operation 'setCustomer' in interface '{ejb.jpa.demo.sap.com}CustomerSessionLocal'


I tried by setting the cardinality of the Request_SetCustomer node to 1.1 but that didn't help. Do I need to add/bind empty elements to the node? If so, can anyone please advise how to do that from Request_SetCustomer -> SetCustomer -> C

http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/502f70a8-33a4-2b10-3dbe-bdcb5e25c...

Also, In the last page of the document (page 28) the screenshot already shows some entries in the table. I am not sure how the entries are already made into the table. Any idea?

Appreciate your help.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member207744
Contributor
0 Kudos

Hi Venkat,

In WDJ, table elements are not created and added.

So you are facing greyed out problem.

Below are the solutions

1) check your webservice is working fine or not.By using below url you can test.

http://host:port/wsnavigator

2) Values are prepopulated that's because of the below code in line number 26,

Check that in the document which you shared.

if(firstTime) {

wdThis.wdGetModel1ControllerController().executeGetCustomers();

}

You need to write above code in wdDoModify method.

If you need any help please let me know.

Regards,

Sriram.V

Former Member
0 Kudos

HI,

Thanks for looking into this.

1) I have verified that the webservice works fine in wsnavigator.

2) The code exists in wdModify.

But still the input elements are greyed out on the input form. Not sure what I am missing. I double checked every step and all the code is there. 😞